Page MenuHomeFreeBSD

ixl(4): Fix MAC/VLAN filters accounting
Needs ReviewPublic

Authored by on Mon, Nov 21, 10:26 PM.


Group Reviewers
Intel Networking
  • Account for a filter required to enable reception of untagged frames

while registering and unregistering VLANs to avoid trying to add
more filters than HW supports.

  • While adding MAC/VLAN filters pre-set matching method field

in the Admin Queue Command response buffer to expected error
value to work around an issue with some FW versions, which do not
update that field if operation fails, and be able correctly
track which filters were configured in HW.

  • Remove unused IXL_MAX_FILTERS macro definition
  • Update number of available MAC/VLAN filters as in newer

FW versions it was decreased by one.

  • Simplify i40e_dma_mem structure

Diff Detail

rG FreeBSD src repository
Lint Passed
No Test Coverage
Build Status
Buildable 48442
Build 45328: arc lint + arc unit