]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: add check for CHECKSUM_PARTIAL when doing TSO
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 28 Feb 2014 04:32:45 +0000 (20:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2014 17:40:57 +0000 (12:40 -0500)
commit0c35d6f770235057c4c4a70afb68cd88f791ea96
tree608c6f7ace4c09acf1ffad3ebe647ca50bfe9689
parentc9ea9a6a64e20da55e1a4a12eace028a0fdcd8eb
ixgbevf: add check for CHECKSUM_PARTIAL when doing TSO

This patch adds check for CHECKSUM_PARTIAL to avoid the skb_is_gso check
in ixgbevf_tso(). It should reduce overhead for workloads that are not using
TSO or checksum offloads. It is the same as in ixgbe.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c