HomeFreeBSD

Mana: move mana polling from EQ to CQ

Description

Mana: move mana polling from EQ to CQ

-Each CQ start task queue to poll when completion happens.
This means every rx and tx queue has its own cleanup task
thread to poll the completion.
- Arm EQ everytime no matter it is mana or hwc. CQ arming
depends on the budget.
- Fix a warning in mana_poll_tx_cq() when cqe_read is 0.
- Move cqe_poll from EQ to CQ struct.
- Support EQ sharing up to 8 vPorts.
- Ease linkdown message from mana_info to mana_dbg.

Tested by: whu
MFC after: 2 weeks
Sponsored by: Microsoft

Details

Provenance
whuAuthored on Oct 26 2021, 12:25 PM
Parents
rGcbc3ecb7ef08: stress2: Added two syzkaller reproducers
Branches
Unknown
Tags
Unknown