]> 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)
commit6680a21fe771365f8896f5a14f9a1e975505f1f9
tree96e18db2b15fa5bd3fc4bcb249185ba800917ac4
parente26ca6a3aa510ae1626b8a529954d5b34398674f
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