X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Fbnxt_rxtx_vec_neon.c;h=bc2e96ec385e385fc21f90bcd22f471cd5d5a497;hb=537399a91b93243795fcea2fbf8e8945950afc9c;hp=3d54d9d59d27bdd29302553a1d8152901642a231;hpb=0f4d2afb09d1a4605ae8b636f3e11edccf3c9f07;p=dpdk.git diff --git a/drivers/net/bnxt/bnxt_rxtx_vec_neon.c b/drivers/net/bnxt/bnxt_rxtx_vec_neon.c index 3d54d9d59d..bc2e96ec38 100644 --- a/drivers/net/bnxt/bnxt_rxtx_vec_neon.c +++ b/drivers/net/bnxt/bnxt_rxtx_vec_neon.c @@ -346,7 +346,7 @@ bnxt_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t tx_prod, tx_raw_prod = txr->tx_raw_prod; struct rte_mbuf *tx_mbuf; struct tx_bd_long *txbd = NULL; - struct bnxt_sw_tx_bd *tx_buf; + struct rte_mbuf **tx_buf; uint16_t to_send; nb_pkts = RTE_MIN(nb_pkts, bnxt_tx_avail(txq)); @@ -362,8 +362,7 @@ bnxt_xmit_fixed_burst_vec(void *tx_queue, struct rte_mbuf **tx_pkts, tx_prod = RING_IDX(txr->tx_ring_struct, tx_raw_prod); tx_buf = &txr->tx_buf_ring[tx_prod]; - tx_buf->mbuf = tx_mbuf; - tx_buf->nr_bds = 1; + *tx_buf = tx_mbuf; txbd = &txr->tx_desc_ring[tx_prod]; txbd->address = tx_mbuf->buf_iova + tx_mbuf->data_off;