ixgbevf: Consolidate Tx context descriptor creation code
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:33:21 +0000 (08:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Jul 2012 20:16:37 +0000 (13:16 -0700)
commit70a10e258ce3d45b294de9190dee9dcc73a495cb
treee397dbc180b68568d2c6766f9c091ace48cc0db7
parentfb40195cc975b14c5d4e44863ea996f999ba5aee
ixgbevf: Consolidate Tx context descriptor creation code

There is a good bit of redundancy between the Tx checksum and segmentation
offloads.  In order to reduce some of this I am moving the code for
creating a context descriptor into a separate function.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/defines.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c