Home
last modified time | relevance | path

Searched refs:mbuf_free (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c615 struct rte_mbuf *mbuf, *m, *mbuf_free[HINIC_MAX_TX_FREE_BULK]; in hinic_xmit_mbuf_cleanup() local
647 mbuf_free[nb_free++] = m; in hinic_xmit_mbuf_cleanup()
648 if (unlikely(m->pool != mbuf_free[0]->pool || in hinic_xmit_mbuf_cleanup()
650 rte_mempool_put_bulk(mbuf_free[0]->pool, in hinic_xmit_mbuf_cleanup()
651 (void **)mbuf_free, (nb_free - 1)); in hinic_xmit_mbuf_cleanup()
653 mbuf_free[nb_free++] = m; in hinic_xmit_mbuf_cleanup()
662 rte_mempool_put_bulk(mbuf_free[0]->pool, (void **)mbuf_free, in hinic_xmit_mbuf_cleanup()
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h107 uint16_t mbuf_free; /* number of inline mbufs to free. */ member
2914 if (likely(loc->pkts_sent == loc->mbuf_free)) { in mlx5_tx_burst_empw_inline()
2920 loc->mbuf_free++; in mlx5_tx_burst_empw_inline()
3410 loc.mbuf_free = 0; in mlx5_tx_burst_tmpl()
3670 if (MLX5_TXOFF_CONFIG(INLINE) && loc.mbuf_free) in mlx5_tx_burst_tmpl()
3671 __mlx5_tx_free_mbuf(txq, pkts, loc.mbuf_free, olx); in mlx5_tx_burst_tmpl()