Home
last modified time | relevance | path

Searched refs:rx_free_thresh (Results 1 – 25 of 87) sorted by relevance

1234

/dpdk/drivers/net/ngbe/
H A Dngbe_rxtx.c1092 rxq->rx_free_thresh); in ngbe_rx_alloc_bufs()
1097 for (i = 0; i < rxq->rx_free_thresh; ++i) { in ngbe_rx_alloc_bufs()
1115 rxq->rx_free_trigger = rxq->rx_free_thresh - 1; in ngbe_rx_alloc_bufs()
1174 rxq->rx_free_thresh; in ngbe_rx_recv_pkts()
1398 if (nb_hold > rxq->rx_free_thresh) { in ngbe_recv_pkts()
1516 } else if (nb_hold > rxq->rx_free_thresh) { in ngbe_recv_pkts_sc()
1523 nb_hold -= rxq->rx_free_thresh; in ngbe_recv_pkts_sc()
2168 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions()
2173 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions()
2283 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ngbe_dev_rx_queue_setup()
[all …]
/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_sse.c36 rxq->rx_free_thresh) < 0) { in iavf_rxq_rearm()
37 if (rxq->rxrearm_nb + rxq->rx_free_thresh >= rxq->nb_rx_desc) { in iavf_rxq_rearm()
46 rxq->rx_free_thresh; in iavf_rxq_rearm()
51 for (i = 0; i < rxq->rx_free_thresh; i += 2, rxp += 2) { in iavf_rxq_rearm()
76 rxq->rxrearm_start += rxq->rx_free_thresh; in iavf_rxq_rearm()
80 rxq->rxrearm_nb -= rxq->rx_free_thresh; in iavf_rxq_rearm()
433 if (rxq->rxrearm_nb > rxq->rx_free_thresh) in _recv_raw_pkts_vec()
710 if (rxq->rxrearm_nb > rxq->rx_free_thresh) in _recv_raw_pkts_vec_flex_rxd()
H A Diavf_rxtx.c200 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_bulk_allow()
556 uint16_t rx_free_thresh; in iavf_dev_rx_queue_setup() local
572 rx_free_thresh = (rx_conf->rx_free_thresh == 0) ? in iavf_dev_rx_queue_setup()
574 rx_conf->rx_free_thresh; in iavf_dev_rx_queue_setup()
627 rxq->rx_free_thresh = rx_free_thresh; in iavf_dev_rx_queue_setup()
1285 if (nb_hold > rxq->rx_free_thresh) { in iavf_update_rx_tail()
2149 (rxq->rx_free_thresh - 1)); in iavf_rx_alloc_bufs()
2152 rxq->rx_free_thresh); in iavf_rx_alloc_bufs()
2159 for (i = 0; i < rxq->rx_free_thresh; i++) { in iavf_rx_alloc_bufs()
2160 if (likely(i < (rxq->rx_free_thresh - 1))) in iavf_rx_alloc_bufs()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_rxtx.c431 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions()
437 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions()
585 (rxq->rx_free_thresh - 1)); in i40e_rx_alloc_bufs()
588 rxq->rx_free_thresh); in i40e_rx_alloc_bufs()
595 for (i = 0; i < rxq->rx_free_thresh; i++) { in i40e_rx_alloc_bufs()
596 if (likely(i < (rxq->rx_free_thresh - 1))) in i40e_rx_alloc_bufs()
647 rxq->rx_free_thresh; in rx_recv_pkts()
818 if (nb_hold > rxq->rx_free_thresh) { in i40e_recv_pkts()
1002 if (nb_hold > rxq->rx_free_thresh) { in i40e_recv_scattered_pkts()
2005 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in i40e_dev_rx_queue_setup()
[all …]
/dpdk/drivers/net/ice/
H A Dice_rxtx.c526 rxq->rx_free_thresh, rxq->nb_rx_desc); in ice_check_rx_burst_bulk_alloc_preconditions()
532 rxq->nb_rx_desc, rxq->rx_free_thresh); in ice_check_rx_burst_bulk_alloc_preconditions()
1108 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ice_rx_queue_setup()
1428 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in ice_rxq_info_get()
1721 (rxq->rx_free_thresh - 1)); in ice_rx_alloc_bufs()
1724 rxq->rx_free_thresh); in ice_rx_alloc_bufs()
1731 for (i = 0; i < rxq->rx_free_thresh; i++) { in ice_rx_alloc_bufs()
1732 if (likely(i < (rxq->rx_free_thresh - 1))) in ice_rx_alloc_bufs()
1780 rxq->rx_free_thresh; in rx_recv_pkts()
2029 if (nb_hold > rxq->rx_free_thresh) { in ice_recv_scattered_pkts()
[all …]
H A Dice_rxtx_vec_common.h282 if (rxq->rx_free_thresh < ICE_VPMD_RX_BURST) in ice_rx_vec_queue_default()
285 if (rxq->nb_rx_desc % rxq->rx_free_thresh) in ice_rx_vec_queue_default()
/dpdk/drivers/net/bnxt/
H A Dbnxt_rxq.h22 uint16_t rx_free_thresh; /* max free RX desc to hold */ member
/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.c1256 uint16_t rx_free_thresh; in nicvf_dev_rx_queue_setup() local
1310 rx_free_thresh = (uint16_t)((rx_conf->rx_free_thresh) ? in nicvf_dev_rx_queue_setup()
1311 rx_conf->rx_free_thresh : in nicvf_dev_rx_queue_setup()
1313 if (rx_free_thresh > NICVF_MAX_RX_FREE_THRESH || in nicvf_dev_rx_queue_setup()
1314 rx_free_thresh >= nb_desc * .75) { in nicvf_dev_rx_queue_setup()
1316 rx_free_thresh); in nicvf_dev_rx_queue_setup()
1341 rxq->rx_free_thresh = rx_free_thresh; in nicvf_dev_rx_queue_setup()
1412 .rx_free_thresh = NICVF_DEFAULT_RX_FREE_THRESH, in nicvf_dev_info_get()
1528 exp_buffs = RTE_MEMPOOL_CACHE_MAX_SIZE + rxq->rx_free_thresh; in nicvf_vf_start()
H A Dnicvf_struct.h60 uint16_t rx_free_thresh; member
H A Dnicvf_rxtx.c479 if (rxq->recv_buffers > rxq->rx_free_thresh) { in nicvf_recv_pkts()
480 rxq->recv_buffers -= nicvf_fill_rbdr(rxq, rxq->rx_free_thresh); in nicvf_recv_pkts()
611 if (rxq->recv_buffers > rxq->rx_free_thresh) { in nicvf_recv_pkts_multiseg()
612 rxq->recv_buffers -= nicvf_fill_rbdr(rxq, rxq->rx_free_thresh); in nicvf_recv_pkts_multiseg()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c1292 rxq->rx_free_thresh); in txgbe_rx_alloc_bufs()
1297 for (i = 0; i < rxq->rx_free_thresh; ++i) { in txgbe_rx_alloc_bufs()
1315 rxq->rx_free_trigger = rxq->rx_free_thresh - 1; in txgbe_rx_alloc_bufs()
1374 rxq->rx_free_thresh; in txgbe_rx_recv_pkts()
1602 if (nb_hold > rxq->rx_free_thresh) { in txgbe_recv_pkts()
1768 } else if (nb_hold > rxq->rx_free_thresh) { in txgbe_recv_pkts_lro()
1775 nb_hold -= rxq->rx_free_thresh; in txgbe_recv_pkts_lro()
2496 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions()
2502 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions()
2597 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in txgbe_dev_rx_queue_setup()
[all …]
/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c656 uint16_t rx_free_thresh; in virtio_dev_rx_queue_setup() local
675 rx_free_thresh = rx_conf->rx_free_thresh; in virtio_dev_rx_queue_setup()
676 if (rx_free_thresh == 0) in virtio_dev_rx_queue_setup()
677 rx_free_thresh = in virtio_dev_rx_queue_setup()
680 if (rx_free_thresh & 0x3) { in virtio_dev_rx_queue_setup()
683 rx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_rx_queue_setup()
687 if (rx_free_thresh >= vq->vq_nentries) { in virtio_dev_rx_queue_setup()
692 rx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_rx_queue_setup()
695 vq->vq_free_thresh = rx_free_thresh; in virtio_dev_rx_queue_setup()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_rx.h86 u16 rx_free_thresh; member
H A Dhinic_pmd_ethdev.c382 u16 rq_depth, rx_free_thresh; in hinic_rx_queue_setup() local
415 rx_free_thresh = (u16)((rx_conf->rx_free_thresh) ? in hinic_rx_queue_setup()
416 rx_conf->rx_free_thresh : HINIC_DEFAULT_RX_FREE_THRESH); in hinic_rx_queue_setup()
417 if (rx_free_thresh >= (rq_depth - 1)) { in hinic_rx_queue_setup()
419 (unsigned int)rx_free_thresh, in hinic_rx_queue_setup()
461 rxq->rx_free_thresh = rx_free_thresh; in hinic_rx_queue_setup()
465 rxq->rxinfo_align_end = rxq->q_depth - rxq->rx_free_thresh; in hinic_rx_queue_setup()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c1643 rxq->rx_free_thresh); in ixgbe_rx_alloc_bufs()
1648 for (i = 0; i < rxq->rx_free_thresh; ++i) { in ixgbe_rx_alloc_bufs()
1667 rxq->rx_free_trigger = rxq->rx_free_thresh - 1; in ixgbe_rx_alloc_bufs()
1725 rxq->rx_free_thresh; in rx_recv_pkts()
1961 if (nb_hold > rxq->rx_free_thresh) { in ixgbe_recv_pkts()
2143 } else if (nb_hold > rxq->rx_free_thresh) { in ixgbe_recv_pkts_lro()
2151 nb_hold -= rxq->rx_free_thresh; in ixgbe_recv_pkts_lro()
2932 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions()
2938 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions()
3117 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ixgbe_dev_rx_queue_setup()
[all …]
H A Dixgbe_rxtx.h124 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member
/dpdk/drivers/net/enic/base/
H A Dvnic_rq.h62 uint16_t rx_free_thresh; member
/dpdk/drivers/net/e1000/
H A Dem_rxtx.c99 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member
836 if (nb_hold > rxq->rx_free_thresh) { in eth_em_recv_pkts()
1081 if (nb_hold > rxq->rx_free_thresh) { in eth_em_recv_scattered_pkts()
1468 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in eth_em_rx_queue_setup()
1987 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in em_rxq_info_get()
/dpdk/drivers/net/sfc/
H A Dsfc_rx.c972 if (rx_conf->rx_free_thresh > rxq_max_fill_level) { in sfc_rx_qcheck_conf()
975 rx_conf->rx_free_thresh, rxq_max_fill_level); in sfc_rx_qcheck_conf()
1108 uint16_t rx_free_thresh; in sfc_rx_qinit() local
1211 rx_free_thresh = (rx_conf->rx_free_thresh != 0) ? in sfc_rx_qinit()
1212 rx_conf->rx_free_thresh : EFX_DIV_ROUND_UP(nb_rx_desc, 8); in sfc_rx_qinit()
1215 RTE_MAX(rx_free_thresh, SFC_RX_REFILL_BULK); in sfc_rx_qinit()
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.h244 uint16_t rx_free_thresh; member
/dpdk/drivers/net/igc/
H A Digc_txrx.c119 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member
479 if (nb_hold > rxq->rx_free_thresh) { in igc_recv_pkts()
685 if (nb_hold > rxq->rx_free_thresh) { in igc_recv_scattered_pkts()
1359 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in eth_igc_rx_queue_setup()
2216 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in eth_igc_rxq_info_get()
/dpdk/app/test-pipeline/
H A Dinit.c91 .rx_free_thresh = 64,
/dpdk/drivers/raw/ntb/
H A Dntb.h149 uint16_t rx_free_thresh; member
/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c60 uint16_t rx_free_thresh; member
145 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in atl_rx_queue_setup()
1101 if (nb_hold > rxq->rx_free_thresh) { in atl_recv_pkts()
/dpdk/drivers/net/ena/
H A Dena_ethdev.h159 uint16_t rx_free_thresh; member

1234