]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e/i40evf: Move Tx checksum closer to TSO
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 17 Feb 2016 19:02:56 +0000 (11:02 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:37:45 +0000 (08:37 -0800)
commit00c4e3198c6fe48fe0a287eb24f6d13691522a19
tree96534492054be4791b7daf03bc5b94fb58751723
parent7e0b2d587286663c8c1530775c1f22e1cf9d1124
i40e/i40evf: Move Tx checksum closer to TSO

Orabug: 22342532

On all of the other Intel drivers we place checksum close to TSO as they
have a significant amount in common and it can help to reduce the decision
tree for how to handle the frame as the first check in TSO is to see if
checksumming is offloaded, and if it is not we can skip _BOTH_ TSO and Tx
checksum offload based on a single check.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 3bc67973e81d5104908a4ba7c2aab98a4f7bd64e)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c