Skip to content

Commit

Permalink
net/qede: fix RSS indirection table initialization
Browse files Browse the repository at this point in the history
RSS indirection table was not updated for VF ports during RSS hash
update, this resulted in device start failure.
This fix updates RSS indirection table during RSS hash update.

Fixes: 7ab35bf (net/qede: fix RSS)
Cc: stable@dpdk.org

Signed-off-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
dsinghrawat-mvl authored and ovsrobot committed May 25, 2023
1 parent 2d9e109 commit 178fbce
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 178fbce

Please sign in to comment.