]> git.droids-corp.org - dpdk.git/commit
net/bnxt: fix ring group on Rx restart
authorSomnath Kotur <somnath.kotur@broadcom.com>
Wed, 27 Apr 2022 14:58:12 +0000 (20:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 10 May 2022 05:13:13 +0000 (07:13 +0200)
commit1b27f8245eee1209d9ee27304fae3515e93ef5b0
tree9186deed809d3ddb977151d41b2e4d16e0a14184
parent202a1711a1d318d97ee1d3cb718fc3fcf6ee2dad
net/bnxt: fix ring group on Rx restart

When an Rx queue is stopped and restarted, as part of that workflow,
for cards that have ring groups, we free and reallocate the ring group.
This new ring group is not communicated to the VNIC though via
HWRM_VNIC_CFG cmd.
Fix to issue HWRM_VNIC_CFG cmd on all adapters now in this scenario.

Fixes: ed0ae3502fc9 ("net/bnxt: update ring group after ring stop start")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c