net/bnxt: fix Tx hang after port stop/start
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 17 Jul 2019 10:41:28 +0000 (16:11 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit03934d93e19ce3b4609a3f1d9dbb5f3f28a34bbe
tree7f2383f62419b370d37ac78a891ab0decd015744
parent72aaa312e9900677b785082edbfa72182df300bc
net/bnxt: fix Tx hang after port stop/start

Initialize the state of the completion valid indicator
when a completion ring is freed, otherwise completions may
not be processed when a new ring is allocated.

Fixes: 5735eb241947 ("net/bnxt: support Tx batching")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c