]> 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)
commit72bf74520f7524783e26375e213540fac4507b69
tree45b789d521f39e78c7311b1fd33aedc91717a301
parentb0f47d3369cb777c67979588ad03eb32c64593e6
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