diff options
author | Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com> | 2018-12-19 13:03:22 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-01-15 13:02:44 -0500 |
commit | 27a98affa66000d7f96527a4a267f0d13aaecf7b (patch) | |
tree | 556a482a10abb131a4e7936514a489d0e610273a /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | 1f9c7840e81ad81dd99cf5ad74843316b935402f (diff) |
ice: Configure RSS LUT and HASH KEY in rebuild path
This patch configures the RSS lookup table and hash key post reset.
Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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/ice/ice_lib.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 29b1dcfd4331..3bd24173b39c 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c | |||
@@ -2581,6 +2581,12 @@ int ice_vsi_rebuild(struct ice_vsi *vsi) | |||
2581 | goto err_vectors; | 2581 | goto err_vectors; |
2582 | 2582 | ||
2583 | ice_vsi_map_rings_to_vectors(vsi); | 2583 | ice_vsi_map_rings_to_vectors(vsi); |
2584 | /* Do not exit if configuring RSS had an issue, at least | ||
2585 | * receive traffic on first queue. Hence no need to capture | ||
2586 | * return value | ||
2587 | */ | ||
2588 | if (test_bit(ICE_FLAG_RSS_ENA, vsi->back->flags)) | ||
2589 | ice_vsi_cfg_rss_lut_key(vsi); | ||
2584 | break; | 2590 | break; |
2585 | case ICE_VSI_VF: | 2591 | case ICE_VSI_VF: |
2586 | ret = ice_vsi_alloc_q_vectors(vsi); | 2592 | ret = ice_vsi_alloc_q_vectors(vsi); |