]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: on recv increment rx.ring->stats.yields
authorPavel Tikhomirov <ptikhomirov@virtuozzo.com>
Fri, 11 Dec 2015 14:05:14 +0000 (17:05 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 Apr 2016 19:43:44 +0000 (12:43 -0700)
commit9572552e6670698c6aaaba7655060e5b95a77004
treeeaa71460ca89307abc04719221ffa1b25f48e9ac
parent0dcbb4b8ca374d455e777935ee8dab9b22d4b2df
ixgbe: on recv increment rx.ring->stats.yields

It seem to be non intentionally changed to Tx in
commit 6588dd75341f ("ixgbe: Refactor busy poll socket code to address
multiple issues")

Lock is taken from ixgbe_low_latency_recv, and there under this
lock we use ixgbe_clean_rx_irq so it looks wrong for me to increment
Tx counter.

Yield stats can be shown through ethtool:
ethtool -S enp129s0 | grep yield

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h