projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9c784
)
ice: Configure RSS LUT and HASH KEY in rebuild path
author
Md Fahad Iqbal Polash
<
[email protected]
>
Wed, 19 Dec 2018 18:03:22 +0000
(10:03 -0800)
committer
Jeff Kirsher
<
[email protected]
>
Tue, 15 Jan 2019 18:02:44 +0000
(10:02 -0800)
This patch configures the RSS lookup table and hash key post reset.
Signed-off-by: Md Fahad Iqbal Polash <
[email protected]
>
Signed-off-by: Anirudh Venkataramanan <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ice/ice_lib.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ice/ice_lib.c
b/drivers/net/ethernet/intel/ice/ice_lib.c
index 29b1dcfd433175b025f03effdb344872ca07b320..3bd24173b39ce13824f1e7c155f7103eda356aad 100644
(file)
--- 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)
goto err_vectors;
ice_vsi_map_rings_to_vectors(vsi);
+ /* Do not exit if configuring RSS had an issue, at least
+ * receive traffic on first queue. Hence no need to capture
+ * return value
+ */
+ if (test_bit(ICE_FLAG_RSS_ENA, vsi->back->flags))
+ ice_vsi_cfg_rss_lut_key(vsi);
break;
case ICE_VSI_VF:
ret = ice_vsi_alloc_q_vectors(vsi);