]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Make TSO check for CHECKSUM_PARTIAL to avoid skb_is_gso check
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 30 Oct 2012 06:01:40 +0000 (06:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 19 Jan 2013 11:45:56 +0000 (03:45 -0800)
commitba71d1ad3ef5a713976f0db51e5a82f6b9d074e3
tree96e18db2b15fa5bd3fc4bcb249185ba800917ac4
parent4377bc2e3d1f32a362983e3c99359e32cb4b035e
ixgbe: Make TSO check for CHECKSUM_PARTIAL to avoid skb_is_gso check

This change is meant to reduce the overhead for workloads that are not
using either TSO or checksum offloads.  Most of the time the compiler
should jump ahead after failing this check to the VLAN check since in the
ixgbe_tx_csum call we start with that check as well.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c