]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 20 Oct 2017 20:59:20 +0000 (13:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Oct 2017 14:42:58 +0000 (07:42 -0700)
commit1c3e12f3b5c4eb68b56f4365d4a9600c90b4c3d2
tree8cfb73021c8def6bc4db41d5f1450c86ee31c163
parent1dac22e5721994cc3390c9ec8c65126aa1f89433
i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup

It looks like there was either a copy/paste error or just a typo that
resulted in the Tx ITR setting being used to determine if we were using
adaptive Rx interrupt moderation or not.

This patch fixes the typo.

Fixes: 2a4d2fed5b03 ("i40evf: support queue-specific settings for interrupt moderation")
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/i40e/i40e_txrx.c