diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-09-07 15:05:50 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-10 00:24:46 +0300 |
commit | 7362be9eeed01980bfa03cf49737703a0e43fe50 (patch) | |
tree | bc6c8916f8ac96c9d31df03a2ac56d585c570a11 /drivers/net/ethernet/intel/i40evf/i40e_txrx.c | |
parent | dbadbbe235f82f13224c85d29e65cf859afaa18c (diff) | |
download | linux-7362be9eeed01980bfa03cf49737703a0e43fe50.tar.xz |
i40e: reduce lrxqthresh from 2 to 1
The lrxq thresh value tells hardware to immediately interrupt when there
are fewer than N*64 packets left in the ring.
Counter intuitively, empirical testing has shown that decreasing this
value from 2 to 1, and thus changing from an immediate interrupt at
fewer than 128 descriptors down to 64 descriptors causes a small
increase in the maximum total packets per second we can receive. This
increase occurs even when we're polling with interrupts masked, as the
hardware must still handle interrupts internally even if we've disabled
them in software.
Also reduce the value for any VFs we allocate.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_txrx.c')
0 files changed, 0 insertions, 0 deletions