]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: rework vxlan_port offload before adding geneve support
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 26 Aug 2016 07:14:34 +0000 (00:14 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 29 Aug 2016 08:31:03 +0000 (01:31 -0700)
commit347ba50a0e5e4ee27429422292a89562600ec4f6
tree59c1ef9b16f6fd035eb607c04725f4223a7c3949
parent7900b6bfbd90463df00cf348758a21607bd086c8
fm10k: rework vxlan_port offload before adding geneve support

In preparation for adding Geneve Rx offload support, refactor the
current VXLAN offload flow to be a bit more generic so that it will be
easier to add the new Geneve code. The fm10k hardware supports one VXLAN
and one Geneve tunnel, so we will eventually treat the VXLAN and Geneve
tunnels identically. To this end, factor out the code that handles the
current list so that we can use the generic flow for both tunnels in the
next patch.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_main.c
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c