summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e_txrx.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2017-12-29 16:50:44 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-02-12 21:54:25 +0300
commit8b99b1179c27958f51ecfc489af5f459f9408d96 (patch)
tree59b2e84afbe799b20ded2085a5e889eb8f8d7d19 /drivers/net/ethernet/intel/i40e/i40e_txrx.c
parentfe09ed0ee1f57a818e4d7e41b25f16744487e678 (diff)
downloadlinux-8b99b1179c27958f51ecfc489af5f459f9408d96.tar.xz
i40e/i40evf: Clean-up of bits related to using q_vector->reg_idx
This patch is a further clean-up related to the change over to using q_vector->reg_idx when accessing the ITR registers. Specifically the code appears to have several other spots where we were computing the register offset manually and this resulted in errors in a few spots. Specifically in the i40evf functions for mapping queues to vectors it appears we may have had an off by 1 error since (v_idx - 1) for the first q_vector with an index of 0 would result in us returning -1 if I am not mistaken. 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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_txrx.c')
0 files changed, 0 insertions, 0 deletions