i40e/i40evf: eliminate i40e_pull_tail()
authorScott Peterson <scott.d.peterson@intel.com>
Fri, 10 Feb 2017 07:43:30 +0000 (23:43 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 12 Feb 2017 04:39:01 +0000 (20:39 -0800)
commit9b37c937313bf6769d0b018ca35180b379d40862
tree0cd016e9d87381a0ec7582f0e97856b9637c7063
parente72e56597ba15ce70f4fc1eb2ceeaa8da0d4ab5e
i40e/i40evf: eliminate i40e_pull_tail()

Reorganize the i40e_pull_tail() logic, doing it in i40e_add_rx_frag()
where it's cheaper.  The igb driver does this the same way.

Also renames i40e_page_is_reserved() to reflect what it actually
tests.

Change-ID: Icd9cc507aae1fcdc02308b3a09034111b4c24071
Signed-off-by: Scott Peterson <scott.d.peterson@intel.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