net/bnxt: reset Rx allocation state on Rx queue restart
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 9 Oct 2019 17:43:34 +0000 (13:43 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commit7b88d5a9781f45fc535975f066b1c5b4f669dbc4
tree77f7d0f3c972f7c68c349403b89c1fa53c23983c
parent5e592e8d4091da4ad1faadd9c3719bd4c245cca4
net/bnxt: reset Rx allocation state on Rx queue restart

Call bnxt_rxq_vec_setup() to ensure that rxq->rxrearm_nb and
rxq->rxrearm_start are initialized correctly when a receive
queue is restarted.

Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Xiaobing Zhang <xiaobing.zhang@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ring.c