Page MenuHomeFreeBSD

ixl(4): Fix VLAN HW filtering
ClosedPublic

Authored by krzysztof.galazka_intel.com on Jan 13 2021, 3:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 5:04 AM
Unknown Object (File)
Mon, Dec 9, 3:44 AM
Unknown Object (File)
Wed, Dec 4, 3:52 PM
Unknown Object (File)
Tue, Nov 26, 9:03 AM
Unknown Object (File)
Nov 6 2024, 11:47 PM
Unknown Object (File)
Nov 6 2024, 9:34 PM
Unknown Object (File)
Oct 28 2024, 10:14 PM
Unknown Object (File)
Oct 24 2024, 7:18 PM
Subscribers

Details

Summary

X700 family of controllers has limited number of available VLAN
HW filters. Driver did not handle properly a case when user
assigned more VLANs to the interface which had all filters
already in use. Fix that by disabling HW filtering when
it is impossible to create filters for all requested VLANs.
Keep track of registered VLANs using bitstring to be able
to re-enable HW filtering when number of requested VLANs
drops below the limit.

Also switch all allocations to use M_IXL malloc type
to ease detecting memory leaks in the driver.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36172
Build 33061: arc lint + arc unit