Skip to content

Commit

Permalink
net/qede: fix RSS indirection table initialization
Browse files Browse the repository at this point in the history
[ upstream commit 189183f4d7f2a22b9335ff8eede1c763bb356e5c ]

RSS indirection table was not updated for VF ports during RSS hash
update, this resulted in device start failure.
This fix sets update RSS indirection table in VFPF channel request,
sent for updating RSS hash for VF.

Fixes: 7ab35bf ("net/qede: fix RSS")

Signed-off-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
  • Loading branch information
dsinghrawat-mvl authored and kevintraynor committed Jul 11, 2023
1 parent 498f380 commit a562895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/qede/qede_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2142,6 +2142,7 @@ int qede_rss_hash_update(struct rte_eth_dev *eth_dev,
rss_params.rss_enable = 1;
}

rss_params.update_rss_ind_table = 1;
rss_params.update_rss_config = 1;
/* tbl_size has to be set with capabilities */
rss_params.rss_table_size_log = 7;
Expand Down

0 comments on commit a562895

Please sign in to comment.