]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17e839db3764d68beddc49cf08c43c4cad7b15ee
tree45b789d521f39e78c7311b1fd33aedc91717a301
parente1c552ff940a3614e6838f3b22016e9d5dffbdb8
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