]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe/ixgbevf: Enables TSO for MPLS encapsulated packets
authorScott Peterson <scott.d.peterson@intel.com>
Fri, 18 Nov 2016 19:25:42 +0000 (11:25 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 May 2017 11:16:28 +0000 (04:16 -0700)
commit0cd4bb7347ce584e804fc34a13e5c44e18b01a1b
tree069c5009a0569a8a4087799045eef23c0cef2648
parent783e1155a8075e602b2f09613092a47411117f6d
ixgbe/ixgbevf: Enables TSO for MPLS encapsulated packets

This patch advertises TSO & GSO features in netdev->mpls_features.
In ixgbe(vf)_tso() where we set up segmentation offload, the IP
header will be the inner network header when eth_p_mpls() indicates
the Ethernet protocol is MPLS (UC or MC).

Suggested-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c