]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: add support for geneve Rx offload
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 10 Aug 2016 18:19:23 +0000 (11:19 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 21 Aug 2016 02:42:35 +0000 (19:42 -0700)
commit3f7dd9724d513e496b8fc786954bab37d653ef70
tree15cefbf700deef510ebd8bb2fbd7b38d04ec39de
parent183f1ea9f5cc96606317d75780c1e5d37c3f1944
ixgbe: add support for geneve Rx offload

Add geneve Rx offload support for x550em_a.

The implementation follows the vxlan code with the lower 16 bits of
the VXLANCTRL register holding the UDP port for VXLAN and the upper
for Geneve.

Disabled NFS filters in the RFCTL register which allows us to simplify
the check for VXLAN and Geneve packets in ixgbe_rx_checksum().

Removed vxlan from the name of the callback functions and replaced it
with udp_tunnel which is more in line with the new API.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h