Page MenuHomeFreeBSD

ixl: fix multicast filters handling
ClosedPublic

Authored by pkubaj on Jul 3 2023, 9:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 9, 3:02 AM
Unknown Object (File)
Mar 13 2024, 3:34 AM
Unknown Object (File)
Feb 9 2024, 12:07 AM
Unknown Object (File)
Dec 20 2023, 7:42 AM
Unknown Object (File)
Oct 9 2023, 2:35 AM
Unknown Object (File)
Oct 9 2023, 2:35 AM
Unknown Object (File)
Oct 4 2023, 9:21 PM
Unknown Object (File)
Aug 27 2023, 2:33 PM
Subscribers

Details

Summary

Hardware supports up to 128 entries of multicast filters. If there is more,
filters should be removed and multicast promiscuous enabled. In case
user deletes the multicast address and overall count is less than 128,
multicast promiscuous mode should be disabled and all the filters
reapplied into the HW.

Currently driver only enables multicast promiscuous mode and deletes
the entries without any information to the user and it's not capable of
reapplying the filters once count is less than 128.

Address that by:

  1. Add logging
  2. Add logic in case multicast promiscuous is enabled and user lowers

the number of multicast entries to <128.

  1. Fix a bug where driver removes different MAC entries along with the one

that's being deleted by the user.

Diff Detail

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