OSDN Git Service

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)
commitb4ded8327fea82b53fcec39e0845011246d020f4
tree1a577b741f9fd3eb0a5f7e04831d5f9ac7070c54
parentc3aec05dfe2cb1bc1fdf3593da82bc987211338a
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