i40evf: fix off-by-one
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 3 Jun 2014 23:50:20 +0000 (23:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 Jun 2014 03:22:06 +0000 (20:22 -0700)
commitcc70b080ea773d7aea4a0440316f30f5af6bb655
tree8b7152277c3da3a323b7dd15a7b01cc3f3014e76
parente57a2fea8787dffcbdff3f7f0567a1e8555dd93a
i40evf: fix off-by-one

The loop in i40evf_get_rxfh_indir was only reading fifteen registers,
not all sixteen. Change the matching loop in i40evf_set_rxfh_indir at
the same time to make the code more consistent.

Change-ID: I6c182287698e742d1f6ca1a4bcc43cc08df6e1de
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c