| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | iavf_rxtx.c | 163 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_bulk_allow() 500 uint16_t rx_free_thresh; in iavf_dev_rx_queue_setup() local 513 rx_free_thresh = (rx_conf->rx_free_thresh == 0) ? in iavf_dev_rx_queue_setup() 515 rx_conf->rx_free_thresh; in iavf_dev_rx_queue_setup() 550 rxq->rx_free_thresh = rx_free_thresh; in iavf_dev_rx_queue_setup() 1091 if (nb_hold > rxq->rx_free_thresh) { in iavf_update_rx_tail() 1814 (rxq->rx_free_thresh - 1)); in iavf_rx_alloc_bufs() 1817 rxq->rx_free_thresh); in iavf_rx_alloc_bufs() 1824 for (i = 0; i < rxq->rx_free_thresh; i++) { in iavf_rx_alloc_bufs() 1825 if (likely(i < (rxq->rx_free_thresh - 1))) in iavf_rx_alloc_bufs() [all …]
|
| H A D | iavf_rxtx_vec_sse.c | 36 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() 431 if (rxq->rxrearm_nb > rxq->rx_free_thresh) in _recv_raw_pkts_vec() 706 if (rxq->rxrearm_nb > rxq->rx_free_thresh) in _recv_raw_pkts_vec_flex_rxd()
|
| H A D | iavf_rxtx_vec_common.h | 221 if (rxq->rx_free_thresh < IAVF_VPMD_RX_MAX_BURST) in iavf_rx_vec_queue_default() 224 if (rxq->nb_rx_desc % rxq->rx_free_thresh) in iavf_rx_vec_queue_default()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_rxq.h | 22 uint16_t rx_free_thresh; /* max free RX desc to hold */ member
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_rxtx.c | 391 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions() 397 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions() 534 (rxq->rx_free_thresh - 1)); in i40e_rx_alloc_bufs() 537 rxq->rx_free_thresh); in i40e_rx_alloc_bufs() 544 for (i = 0; i < rxq->rx_free_thresh; i++) { in i40e_rx_alloc_bufs() 545 if (likely(i < (rxq->rx_free_thresh - 1))) in i40e_rx_alloc_bufs() 596 rxq->rx_free_thresh; in rx_recv_pkts() 761 if (nb_hold > rxq->rx_free_thresh) { in i40e_recv_pkts() 939 if (nb_hold > rxq->rx_free_thresh) { in i40e_recv_scattered_pkts() 1892 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in i40e_dev_rx_queue_setup() [all …]
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_rxtx.c | 484 rxq->rx_free_thresh, rxq->nb_rx_desc); in ice_check_rx_burst_bulk_alloc_preconditions() 490 rxq->nb_rx_desc, rxq->rx_free_thresh); in ice_check_rx_burst_bulk_alloc_preconditions() 1062 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ice_rx_queue_setup() 1365 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in ice_rxq_info_get() 1600 (rxq->rx_free_thresh - 1)); in ice_rx_alloc_bufs() 1603 rxq->rx_free_thresh); in ice_rx_alloc_bufs() 1610 for (i = 0; i < rxq->rx_free_thresh; i++) { in ice_rx_alloc_bufs() 1611 if (likely(i < (rxq->rx_free_thresh - 1))) in ice_rx_alloc_bufs() 1661 rxq->rx_free_thresh; in rx_recv_pkts() 1867 if (nb_hold > rxq->rx_free_thresh) { in ice_recv_scattered_pkts() [all …]
|
| H A D | ice_rxtx_vec_common.h | 254 if (rxq->rx_free_thresh < ICE_VPMD_RX_BURST) in ice_rx_vec_queue_default() 257 if (rxq->nb_rx_desc % rxq->rx_free_thresh) in ice_rx_vec_queue_default()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 1222 rxq->rx_free_thresh); in txgbe_rx_alloc_bufs() 1227 for (i = 0; i < rxq->rx_free_thresh; ++i) { in txgbe_rx_alloc_bufs() 1245 rxq->rx_free_trigger = rxq->rx_free_thresh - 1; in txgbe_rx_alloc_bufs() 1304 rxq->rx_free_thresh; in txgbe_rx_recv_pkts() 1532 if (nb_hold > rxq->rx_free_thresh) { in txgbe_recv_pkts() 1698 } else if (nb_hold > rxq->rx_free_thresh) { in txgbe_recv_pkts_lro() 1705 nb_hold -= rxq->rx_free_thresh; in txgbe_recv_pkts_lro() 2407 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions() 2413 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions() 2508 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in txgbe_dev_rx_queue_setup() [all …]
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_struct.h | 60 uint16_t rx_free_thresh; member
|
| H A D | nicvf_ethdev.c | 1271 uint16_t rx_free_thresh; in nicvf_dev_rx_queue_setup() local 1325 rx_free_thresh = (uint16_t)((rx_conf->rx_free_thresh) ? in nicvf_dev_rx_queue_setup() 1326 rx_conf->rx_free_thresh : in nicvf_dev_rx_queue_setup() 1328 if (rx_free_thresh > NICVF_MAX_RX_FREE_THRESH || in nicvf_dev_rx_queue_setup() 1329 rx_free_thresh >= nb_desc * .75) { in nicvf_dev_rx_queue_setup() 1331 rx_free_thresh); in nicvf_dev_rx_queue_setup() 1357 rxq->rx_free_thresh = rx_free_thresh; in nicvf_dev_rx_queue_setup() 1427 .rx_free_thresh = NICVF_DEFAULT_RX_FREE_THRESH, in nicvf_dev_info_get() 1543 exp_buffs = RTE_MEMPOOL_CACHE_MAX_SIZE + rxq->rx_free_thresh; in nicvf_vf_start()
|
| H A D | nicvf_rxtx.c | 479 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()
|
| /f-stack/dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_rx.h | 86 u16 rx_free_thresh; member
|
| H A D | hinic_pmd_ethdev.c | 388 u16 rq_depth, rx_free_thresh; in hinic_rx_queue_setup() local 421 rx_free_thresh = (u16)((rx_conf->rx_free_thresh) ? in hinic_rx_queue_setup() 422 rx_conf->rx_free_thresh : HINIC_DEFAULT_RX_FREE_THRESH); in hinic_rx_queue_setup() 423 if (rx_free_thresh >= (rq_depth - 1)) { in hinic_rx_queue_setup() 425 (unsigned int)rx_free_thresh, in hinic_rx_queue_setup() 467 rxq->rx_free_thresh = rx_free_thresh; in hinic_rx_queue_setup() 471 rxq->rxinfo_align_end = rxq->q_depth - rxq->rx_free_thresh; in hinic_rx_queue_setup()
|
| /f-stack/dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx.c | 641 uint16_t rx_free_thresh; in virtio_dev_rx_queue_setup() local 650 rx_free_thresh = rx_conf->rx_free_thresh; in virtio_dev_rx_queue_setup() 651 if (rx_free_thresh == 0) in virtio_dev_rx_queue_setup() 652 rx_free_thresh = in virtio_dev_rx_queue_setup() 655 if (rx_free_thresh & 0x3) { in virtio_dev_rx_queue_setup() 658 rx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_rx_queue_setup() 662 if (rx_free_thresh >= vq->vq_nentries) { in virtio_dev_rx_queue_setup() 667 rx_free_thresh, dev->data->port_id, queue_idx); in virtio_dev_rx_queue_setup() 670 vq->vq_free_thresh = rx_free_thresh; in virtio_dev_rx_queue_setup()
|
| /f-stack/dpdk/drivers/net/enic/base/ |
| H A D | vnic_rq.h | 62 uint16_t rx_free_thresh; member
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_rx.c | 943 if (rx_conf->rx_free_thresh > rxq_max_fill_level) { in sfc_rx_qcheck_conf() 946 rx_conf->rx_free_thresh, rxq_max_fill_level); in sfc_rx_qcheck_conf() 1077 uint16_t rx_free_thresh; in sfc_rx_qinit() local 1165 rx_free_thresh = (rx_conf->rx_free_thresh != 0) ? in sfc_rx_qinit() 1166 rx_conf->rx_free_thresh : EFX_DIV_ROUND_UP(nb_rx_desc, 8); in sfc_rx_qinit() 1169 RTE_MAX(rx_free_thresh, SFC_RX_REFILL_BULK); in sfc_rx_qinit()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx.c | 1600 rxq->rx_free_thresh); in ixgbe_rx_alloc_bufs() 1605 for (i = 0; i < rxq->rx_free_thresh; ++i) { in ixgbe_rx_alloc_bufs() 1624 rxq->rx_free_trigger = rxq->rx_free_thresh - 1; in ixgbe_rx_alloc_bufs() 1682 rxq->rx_free_thresh; in rx_recv_pkts() 1916 if (nb_hold > rxq->rx_free_thresh) { in ixgbe_recv_pkts() 2097 } else if (nb_hold > rxq->rx_free_thresh) { in ixgbe_recv_pkts_lro() 2105 nb_hold -= rxq->rx_free_thresh; in ixgbe_recv_pkts_lro() 2883 rxq->rx_free_thresh, rxq->nb_rx_desc); in check_rx_burst_bulk_alloc_preconditions() 2889 rxq->nb_rx_desc, rxq->rx_free_thresh); in check_rx_burst_bulk_alloc_preconditions() 3066 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in ixgbe_dev_rx_queue_setup() [all …]
|
| H A D | ixgbe_rxtx.h | 124 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | em_rxtx.c | 100 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member 835 if (nb_hold > rxq->rx_free_thresh) { in eth_em_recv_pkts() 1080 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() 2006 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in em_rxq_info_get()
|
| /f-stack/dpdk/app/test-pipeline/ |
| H A D | init.c | 92 .rx_free_thresh = 64,
|
| /f-stack/dpdk/drivers/raw/ntb/ |
| H A D | ntb.h | 149 uint16_t rx_free_thresh; member
|
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_txrx.c | 119 uint16_t rx_free_thresh; /**< max free RX desc to hold. */ member 477 if (nb_hold > rxq->rx_free_thresh) { in igc_recv_pkts() 683 if (nb_hold > rxq->rx_free_thresh) { in igc_recv_scattered_pkts() 1372 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in eth_igc_rx_queue_setup() 2229 qinfo->conf.rx_free_thresh = rxq->rx_free_thresh; in eth_igc_rxq_info_get()
|
| /f-stack/dpdk/drivers/net/nfp/ |
| H A D | nfp_net_pmd.h | 352 uint16_t rx_free_thresh; member
|
| /f-stack/dpdk/drivers/net/atlantic/ |
| H A D | atl_rxtx.c | 60 uint16_t rx_free_thresh; member 145 rxq->rx_free_thresh = rx_conf->rx_free_thresh; in atl_rx_queue_setup() 1106 if (nb_hold > rxq->rx_free_thresh) { in atl_recv_pkts()
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_ethdev.c | 299 rx_conf->rx_free_thresh); in enicpmd_dev_rx_queue_setup() 489 .rx_free_thresh = ENIC_DEFAULT_RX_FREE_THRESH in enicpmd_dev_info_get() 894 conf->rx_free_thresh = rq_sop->rx_free_thresh; in enicpmd_dev_rxq_info_get()
|