ixgbe: convert to new udp_tunnel_nic infra
authorJakub Kicinski <kuba@kernel.org>
Fri, 10 Jul 2020 00:42:51 +0000 (17:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jul 2020 20:54:00 +0000 (13:54 -0700)
commitdc221851ffd1e6ebb709f85e60f93262413a488a
tree6d061cc0f45e84e5202a6a85c3d6203aa35e4fc1
parentabc0c78c0ab29afca40a549aef107b596915e312
ixgbe: convert to new udp_tunnel_nic infra

Make use of new common udp_tunnel_nic infra. ixgbe supports
IPv4 only, and only single VxLAN and Geneve ports (one each).

v2:
 - split out the RXCSUM feature handling to separate change;
 - declare structs separately;
 - use ti.type instead of assuming table 0 is VxLAN;
 - move setting netdev->udp_tunnel_nic_info to its own switch.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c