[Bug 221530] if_ixl: add a way to disable/enable lldp handling by the NIC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 14 18:25:47 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221530

            Bug ID: 221530
           Summary: if_ixl: add a way to disable/enable lldp handling by
                    the NIC
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: nikita at elyzion.net
                CC: sbruno at FreeBSD.org

Created attachment 185412
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185412&action=edit
disable hw lldp sysctl patch

In XL710 cards LLDP is by default handled directly by the NIC.
It means that LLDP PDU are filtered by the NIC and are not visible by the
kernel.
The filtering can be turned off by calling i40e_aq_stop_lldp().

You can see this feature in the linux driver (which contains more options)
http://elixir.free-electrons.com/linux/v3.12/source/drivers/net/ethernet/intel/i40e/i40e_debugfs.c#L1618

I'm proposing here a patch to disable LLDP filtering by using a sysctl.
Note that, we should also (not done in the patch) call i40e_aq_start_lldp()
somewhere in the iface init to be sure that the sysctl value is consistent with
the card behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list