net/cnxk: fix RSS RETA table update
authorRakesh Kudurumalla <rkudurumalla@marvell.com>
Thu, 24 Feb 2022 08:35:28 +0000 (14:05 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 24 Feb 2022 13:40:54 +0000 (14:40 +0100)
commitfe3833ed2222c369f9b60c0be520dee6e875dcdf
tree8cd5af7be273a1549a6826f1ac55a7d90ac39664
parentfe3620aabacd504a2b6c807bd0abe18cc1a2da12
net/cnxk: fix RSS RETA table update

RSS reta table is corrupted during rte_eth_dev_rss_reta_update().
Fix it by restoring previous table entries before updating.

Fixes: 00242a687de6 ("net/cnxk: support RETA and RSS hash")
Cc: stable@dpdk.org
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/cnxk/cnxk_ethdev_ops.c