summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/Makefile
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2017-12-29 08:51:20 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-02-12 11:33:46 -0800
commitd4942d581afb3d7d8dd1baa881a58d03a36ee25d (patch)
tree11cabaaa88b2ad85ac711139ff5fd91630e352ba /drivers/net/ethernet/intel/i40e/Makefile
parent92418fb14750c2baeebddf5903e3105cd11da90c (diff)
i40evf: Correctly populate rxitr_idx and txitr_idx
While testing code for the recent ITR changes I found that updating the Tx ITR appeared to have no effect with everything defaulting to the Rx ITR. A bit of digging narrowed it down the fact that we were asking the PF to associate all causes with ITR 0 as we weren't populating the itr_idx values for either Rx or Tx. To correct it I have added the configuration for these values to this patch. In addition I did some minor clean-up to just add a local pointer for the vector map instead of dereferencing it based off of the index repeatedly. In my opinion this makes the resultant code a bit more readable and saves us a few characters. 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/Makefile')
0 files changed, 0 insertions, 0 deletions