i40e/i40evf: Move Tx checksum closer to TSO
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 17 Feb 2016 19:02:56 +0000 (11:02 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Feb 2016 07:30:19 +0000 (23:30 -0800)
commit3bc67973e81d5104908a4ba7c2aab98a4f7bd64e
tree3bb69e6c3470017a57692cb3e09e33b778bb2347
parent2d37490b82afe1d1b745811e6ce0a4d16bc5e996
i40e/i40evf: Move Tx checksum closer to TSO

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>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
This page took 0.028044 seconds and 5 git commands to generate.