git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/bnxt: reset Rx allocation state on Rx queue restart
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_ring.c
diff --git
a/drivers/net/bnxt/bnxt_ring.c
b/drivers/net/bnxt/bnxt_ring.c
index
19af727
..
0a182d3
100644
(file)
--- a/
drivers/net/bnxt/bnxt_ring.c
+++ b/
drivers/net/bnxt/bnxt_ring.c
@@
-626,6
+626,9
@@
int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index)
bnxt_db_write(&rxr->ag_db, rxr->ag_prod);
}
rxq->index = queue_index;
+#ifdef RTE_ARCH_X86
+ bnxt_rxq_vec_setup(rxq);
+#endif
return 0;