Date: Mon, 14 Aug 2017 18:25:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221530] if_ixl: add a way to disable/enable lldp handling by the NIC Message-ID: <bug-221530-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: nikita@elyzion.net CC: sbruno@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221530-8>
