Page MenuHomeFreeBSD

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

Authored by krzysztof.galazka_intel.com on Nov 21 2022, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 2:19 AM
Unknown Object (File)
Dec 10 2023, 6:18 PM
Unknown Object (File)
Nov 8 2023, 8:09 AM
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
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

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.