]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Update adaptive ITR algorithm
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 25 Sep 2017 21:55:36 +0000 (14:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 17:07:50 +0000 (10:07 -0700)
commit14f7dfd619958c28afc833f76c63849a3ee68e4e
tree1a577b741f9fd3eb0a5f7e04831d5f9ac7070c54
parenteaf4f25051b0c4c4999e1f816043e42b5cbdc53b
ixgbe: Update adaptive ITR algorithm

The following change is meant to update the adaptive ITR algorithm to
better support the needs of the network. Specifically with this change what
I have done is make it so that our ITR algorithm will try to prevent either
starving a socket buffer for memory in the case of Tx, or overrunning an Rx
socket buffer on receive.

In addition a side effect of the calculations used is that we should
function better with new features such as XDP which can handle small
packets at high rates without needing to lock us into NAPI polling mode.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c