aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-07-14 12:18:20 -0700
committerDavid S. Miller <davem@davemloft.net>2020-07-14 17:04:27 -0700
commit8f0545d232ca4eb1449584c68725d02f03a1d1a9 (patch)
treef8c25b1edc8c23deee5a3799cd920e1639f1d894 /drivers/net/ethernet/amd/xgbe/xgbe-drv.c
parentnfp: convert to new udp_tunnel_nic infra (diff)
downloadlinux-dev-8f0545d232ca4eb1449584c68725d02f03a1d1a9.tar.xz
linux-dev-8f0545d232ca4eb1449584c68725d02f03a1d1a9.zip
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>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe/xgbe-drv.c')
0 files changed, 0 insertions, 0 deletions