ixgbevf: Do not rewind the Rx ring before bumping tail
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:33:11 +0000 (08:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Jul 2012 20:12:08 +0000 (13:12 -0700)
commit18c6308971028cc02838adc711c556d992ad8bdf
tree45b789d521f39e78c7311b1fd33aedc91717a301
parent5d9a533bacff6fbaf711c92575f5f646c2c772f1
ixgbevf: Do not rewind the Rx ring before bumping tail

The driver is going back one step from its' previous location before
bumping tail. This is incorrect.  We should just be writing the value of
next_to_use into the tail register.

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