ixgbevf: Cleanup accounting for space needed at start of xmit_frame
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:32:40 +0000 (08:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Jul 2012 09:47:41 +0000 (02:47 -0700)
commit3595990a9ccc1b819bfe801940eb05f8a84f253e
tree8d7af4a336dad7ffbd7bb2a5fa4104d984fafeb8
parente2c28ce76001f01fefb255e0ce1fd6819a2ad1ea
ixgbevf: Cleanup accounting for space needed at start of xmit_frame

This change cleans up the accounting needed at the start of xmit_frame so
that we can avoid doing too much work to determine how many descriptors we
will need.

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/ixgbevf_main.c