Page MenuHomeFreeBSD

ixl(4): Fix MAC/VLAN filters accounting

Authored by on Nov 21 2022, 10:26 PM.
Referenced Files
Unknown Object (File)
Aug 21 2023, 3:57 AM
Unknown Object (File)
Aug 14 2023, 8:38 PM
Unknown Object (File)
Aug 14 2023, 3:54 AM
Unknown Object (File)
Jul 5 2023, 1:37 PM
Unknown Object (File)
Jul 5 2023, 1:36 PM
Unknown Object (File)
Jul 5 2023, 1:32 PM
Unknown Object (File)
Jul 5 2023, 1:25 PM
Unknown Object (File)
Jun 29 2023, 9:03 AM


  • 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 Not Applicable
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 8 2023, 10:40 AM
This revision was automatically updated to reflect the committed changes.