net/bnxt: fix Tx queue startup state
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 17 Sep 2021 20:20:45 +0000 (13:20 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Sun, 26 Sep 2021 21:14:57 +0000 (23:14 +0200)
commit0f22fe124bffcbfa15a8179b9cc835ae64b1a3fe
treec9bf09fe44f84112406890d20614b071b83333e0
parent61ad5c1ac9de245e7d20a67375d56682c70bebde
net/bnxt: fix Tx queue startup state

Default queue state of Tx queues on startup is not correct.
Fix this by setting the state when the port is started.

Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code")
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
drivers/net/bnxt/bnxt_txq.c