]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8377b8c6718edb038165a0f366bcf04466c0fd38
tree6d061cc0f45e84e5202a6a85c3d6203aa35e4fc1
parentd9d6748390988d67e22e897eb9a96fe3de6ceb4e
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