aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshish Shah <ashish.n.shah@intel.com>2016-05-03 18:13:17 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-05-14 03:00:24 -0400
commit4b28cdba4859c2d1eb77144fe2383afb8daea1ca (patch)
tree85922eaf511a4b74c218953ea858171ebbbcb4dd
parent73df8c9e3e3d1d5d38d48ba4bfb0f709f68c8e13 (diff)
i40e: set context to use VSI RSS LUT for SR-IOV
For the SR-IOV VSIs, when the queue filtering section is valid, the RSS LUT needs to be set to use the VSI specific lookup table (otherwise it will use the PF RSS LUT table). Change-ID: Ia9377cc818078238a75c3bdeade1b593a91b3480 Signed-off-by: Ashish Shah <ashish.n.shah@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index f8038d09c1c2..a9812466c57d 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -9362,7 +9362,8 @@ static int i40e_add_vsi(struct i40e_vsi *vsi)
9362 ctxt.info.valid_sections |= 9362 ctxt.info.valid_sections |=
9363 cpu_to_le16(I40E_AQ_VSI_PROP_QUEUE_OPT_VALID); 9363 cpu_to_le16(I40E_AQ_VSI_PROP_QUEUE_OPT_VALID);
9364 ctxt.info.queueing_opt_flags |= 9364 ctxt.info.queueing_opt_flags |=
9365 I40E_AQ_VSI_QUE_OPT_TCP_ENA; 9365 (I40E_AQ_VSI_QUE_OPT_TCP_ENA |
9366 I40E_AQ_VSI_QUE_OPT_RSS_LUT_VSI);
9366 } 9367 }
9367 9368
9368 ctxt.info.valid_sections |= cpu_to_le16(I40E_AQ_VSI_PROP_VLAN_VALID); 9369 ctxt.info.valid_sections |= cpu_to_le16(I40E_AQ_VSI_PROP_VLAN_VALID);