[Intel-wired-lan] [next PATCH S31 v3 08/12] i40evf: Fix get_rss_aq

Avinash Dayanand avinash.dayanand at intel.com
Thu Mar 17 16:41:26 UTC 2016


From: Catherine Sullivan <catherine.sullivan at intel.com>

We were passing in the seed where we should just be passing false
because we want the vsi table not the pf table.

Testing Hints: Make sure that ethtool -x gives the proper table.

Signed-off-by: Catherine Sullivan <catherine.sullivan at intel.com>
---
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 8598c5f..e66f47e 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -1341,7 +1341,7 @@ static int i40evf_get_rss_aq(struct i40e_vsi *vsi, const u8 *seed,
 	}
 
 	if (lut) {
-		ret = i40evf_aq_get_rss_lut(hw, vsi->id, seed, lut, lut_size);
+		ret = i40evf_aq_get_rss_lut(hw, vsi->id, false, lut, lut_size);
 		if (ret) {
 			dev_err(&adapter->pdev->dev,
 				"Cannot get RSS lut, err %s aq_err %s\n",
-- 
2.4.3



More information about the Intel-wired-lan mailing list