Page MenuHomeFreeBSD

ixl(4): Fix MAC/VLAN filters accounting
ClosedPublic

Authored by kgalazka on Nov 21 2022, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 30, 12:50 PM
Unknown Object (File)
Thu, Apr 17, 2:17 AM
Unknown Object (File)
Wed, Apr 16, 11:55 AM
Unknown Object (File)
Sat, Apr 12, 9:25 PM
Unknown Object (File)
Mar 19 2025, 2:50 AM
Unknown Object (File)
Mar 18 2025, 2:54 AM
Unknown Object (File)
Mar 13 2025, 12:40 PM
Unknown Object (File)
Feb 24 2025, 5:28 AM
Subscribers

Details

Summary
  • 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable