OpenCloudOS-Kernel/drivers/net/ethernet/emulex/benet
Jakub Kicinski 8f0545d232 be2net: convert to new udp_tunnel_nic infra
Convert be2net to new udp_tunnel_nic infra. NIC only takes one VxLAN
port. Remove the port tracking using a list. The warning in
be_work_del_vxlan_port() looked suspicious - like the driver expected
ports to be removed in order of addition.

be2net unregisters ports when going down and re-registers them (for
skyhawk) when coming up, but it never checks if the device is up
in the add_port / del_port callbacks. Make it use
UDP_TUNNEL_NIC_INFO_OPEN_ONLY. Sadly this driver calls its own
open/close functions directly so the udp_tunnel_nic_reset_ntf()
workaround is needed.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-14 17:04:27 -07:00
..
Kconfig net: emulex: benet: indent a Kconfig depends continuation line 2019-11-30 12:25:26 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
be.h be2net: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
be_cmds.c be2net: make two arrays static const, makes object smaller 2019-09-07 18:02:17 +02:00
be_cmds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
be_ethtool.c net: be2net: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
be_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
be_main.c be2net: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
be_roce.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
be_roce.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00