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)
Wed, Nov 13, 11:50 AM
Unknown Object (File)
Thu, Nov 7, 7:37 AM
Unknown Object (File)
Thu, Nov 7, 5:29 AM
Unknown Object (File)
Tue, Oct 29, 2:49 AM
Unknown Object (File)
Sat, Oct 26, 7:51 PM
Unknown Object (File)
Sep 23 2024, 7:33 PM
Unknown Object (File)
Sep 15 2024, 12:54 AM
Unknown Object (File)
Sep 4 2024, 3:50 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.