net/bnxt: fix Rx queue state on start
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 5 Oct 2021 04:05:23 +0000 (21:05 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 12 Oct 2021 20:36:03 +0000 (22:36 +0200)
commit6132d35512c54c55519e9f6118e8dafd5b825417
treea0d38ad4595edba04b748142aa1632bc81a1031e
parent657c2a7f1dd45c62bcb5a4f0e0861c998040387d
net/bnxt: fix Rx queue state on start

Fix Rx queue state on device start.
The state of Rx queues could be incorrect in some cases
because instead of updating the state for all the Rx queues,
we are updating it for queues in a VNIC.

Fixes: 0105ea1296c9 ("net/bnxt: support runtime queue setup")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c