i40e: do TSO only if CHECKSUM_PARTIAL is set
authorShannon Nelson <shannon.nelson@intel.com>
Mon, 4 Jan 2016 18:33:04 +0000 (10:33 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Feb 2016 16:20:45 +0000 (08:20 -0800)
commite9f6563d7bb3914711c6601cdf5d9f9b6e1b461f
tree7ae0b2cabaee3c950fd367e8cc2bc23fd1a56256
parent3578fa0a8cd6d9fb03092c673f42aad0e7c850df
i40e: do TSO only if CHECKSUM_PARTIAL is set

Don't bother trying to set up a TSO if the skb->ip_summed is not
set to CHECKSUM_PARTIAL.

Change-ID: I6495b3568e404907a2965b48cf3e2effa7c9ab55
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c