net/bnxt: fix traffic stall on Rx queue stop/start
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 1 Aug 2019 15:45:20 +0000 (08:45 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Aug 2019 21:33:12 +0000 (23:33 +0200)
commitaa2c00702bad7b2c742e11a86cb9dbbb8364fd88
treec6dab60ac0380566df2bfe38a8a35cf2daaa8f39
parent195981133a81ce18e0ec77a2428f5136f7dcf9ae
net/bnxt: fix traffic stall on Rx queue stop/start

Fixed a check in bnxt_alloc_hwrm_rx_ring() while initializing
the rx ring.

Driver should not change "deferred_start" status of rx/tx queues.
It should get the status in queue_setup_op() and use that value.

Fixes: 9b63c6fd70e3 ("net/bnxt: support Rx/Tx queue start/stop")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_ring.c
drivers/net/bnxt/bnxt_rxq.c
drivers/net/bnxt/bnxt_txq.c
drivers/net/bnxt/bnxt_txr.c