HomeFreeBSD

cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management.

Description

cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management.

  • Process the list of local IPs once instead of once per adapter. Add addresses from all VNETs to the driver's list but leave hardware updates for later when the global VNET/IFADDR list locks have been released.
  • Add address to the hardware table synchronously when a CLIP entry is requested for an address that's not already in there.
  • Provide ioctls that allow userspace tools to manage addresses in the CLIP table.
  • Add a knob (hw.cxgbe.clip_db_auto) that controls whether local IPs are automatically added to the CLIP table or not.

MFC after: 2 weeks
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on May 23 2021, 9:58 PM
Parents
R10:47791339f0cf: ums(4): Start USB xfers on opening of evdev node unconditionally.
Branches
Unknown
Tags
Unknown