Searched refs:ndp (Results 1 – 2 of 2) sorted by relevance
145 struct ndp_rx_queue *ndp = queue; in nfb_eth_ndp_rx() local151 const uint16_t buf_size = ndp->buf_size; in nfb_eth_ndp_rx()158 if (unlikely(ndp->queue == NULL || nb_pkts == 0)) { in nfb_eth_ndp_rx()164 i = rte_pktmbuf_alloc_bulk(ndp->mb_pool, mbufs, nb_pkts); in nfb_eth_ndp_rx()168 num_rx = ndp_rx_burst_get(ndp->queue, packets, nb_pkts); in nfb_eth_ndp_rx()197 mbuf->port = ndp->in_port; in nfb_eth_ndp_rx()227 ndp_rx_burst_put(ndp->queue); in nfb_eth_ndp_rx()229 ndp->rx_pkts += num_rx; in nfb_eth_ndp_rx()230 ndp->rx_bytes += num_bytes; in nfb_eth_ndp_rx()
129 struct ndp_tx_queue *ndp = queue; in nfb_eth_ndp_tx() local142 if (unlikely(ndp->queue == NULL)) { in nfb_eth_ndp_tx()152 num_tx = ndp_tx_burst_get(ndp->queue, packets, nb_pkts); in nfb_eth_ndp_tx()191 ndp_tx_burst_flush(ndp->queue); in nfb_eth_ndp_tx()193 ndp->tx_pkts += num_tx; in nfb_eth_ndp_tx()194 ndp->err_pkts += nb_pkts - num_tx; in nfb_eth_ndp_tx()195 ndp->tx_bytes += num_bytes; in nfb_eth_ndp_tx()