Home
last modified time | relevance | path

Searched refs:rs_thresh (Results 1 – 11 of 11) sorted by relevance

/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_common.h97 n = txq->rs_thresh; in iavf_tx_free_bufs()
131 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in iavf_tx_free_bufs()
132 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in iavf_tx_free_bufs()
134 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in iavf_tx_free_bufs()
136 return txq->rs_thresh; in iavf_tx_free_bufs()
188 i = txq->next_dd - txq->rs_thresh + 1; in _iavf_tx_queue_release_mbufs_vec()
249 if (txq->rs_thresh < IAVF_VPMD_TX_MAX_BURST || in iavf_tx_vec_queue_default()
250 txq->rs_thresh > IAVF_VPMD_TX_MAX_FREE_BUF) in iavf_tx_vec_queue_default()
H A Diavf_rxtx_vec_avx512.c1716 n = txq->rs_thresh; in iavf_tx_free_bufs_avx512()
1801 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in iavf_tx_free_bufs_avx512()
1802 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in iavf_tx_free_bufs_avx512()
1804 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in iavf_tx_free_bufs_avx512()
1806 return txq->rs_thresh; in iavf_tx_free_bufs_avx512()
1937 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in iavf_xmit_fixed_burst_vec_avx512()
1955 (uint16_t)(txq->next_rs + txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx512()
1976 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec_avx512_cmn()
2005 i = txq->next_dd - txq->rs_thresh + 1; in iavf_tx_queue_release_mbufs_avx512()
H A Diavf_rxtx.c176 txq->rs_thresh >= IAVF_VPMD_TX_MAX_BURST && in check_tx_vec_allow()
177 txq->rs_thresh <= IAVF_VPMD_TX_MAX_FREE_BUF) { in check_tx_vec_allow()
274 txq->next_dd = txq->rs_thresh - 1; in reset_tx_queue()
275 txq->next_rs = txq->rs_thresh - 1; in reset_tx_queue()
775 txq->rs_thresh = tx_rs_thresh; in iavf_dev_tx_queue_setup()
2691 if (unlikely(nb_desc_required > txq->rs_thresh)) { in iavf_xmit_pkts()
2785 if (txq->nb_used >= txq->rs_thresh) { in iavf_xmit_pkts()
3177 if (txq->rs_thresh > txq->nb_tx_desc - in iavf_tx_done_cleanup_full()
3229 qinfo->conf.tx_rs_thresh = txq->rs_thresh; in iavf_dev_txq_info_get()
3304 desc = ((desc + txq->rs_thresh - 1) / txq->rs_thresh) * in iavf_dev_tx_desc_status()
[all …]
H A Diavf_rxtx_vec_sse.c1149 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in iavf_xmit_fixed_burst_vec()
1166 (uint16_t)(txq->next_rs + txq->rs_thresh); in iavf_xmit_fixed_burst_vec()
1190 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec()
H A Diavf_rxtx_vec_avx2.c1479 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in iavf_xmit_fixed_burst_vec_avx2()
1496 (uint16_t)(txq->next_rs + txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx2()
1517 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec_avx2()
H A Diavf_rxtx.h251 uint16_t rs_thresh; member
/dpdk/drivers/net/fm10k/
H A Dfm10k_rxtx_vec.c776 n = txq->rs_thresh; in fm10k_tx_free_bufs()
809 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in fm10k_tx_free_bufs()
810 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in fm10k_tx_free_bufs()
812 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in fm10k_tx_free_bufs()
814 return txq->rs_thresh; in fm10k_tx_free_bufs()
840 nb_pkts = RTE_MIN(nb_pkts, txq->rs_thresh); in fm10k_xmit_fixed_burst_vec()
867 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in fm10k_xmit_fixed_burst_vec()
881 txq->next_rs = (uint16_t)(txq->next_rs + txq->rs_thresh); in fm10k_xmit_fixed_burst_vec()
906 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in fm10k_reset_tx_queue()
907 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in fm10k_reset_tx_queue()
H A Dfm10k_rxtx.c450 desc = (desc / txq->rs_thresh + 1) * in fm10k_dev_tx_descriptor_status()
451 txq->rs_thresh - 1; in fm10k_dev_tx_descriptor_status()
566 if ((q->nb_used + mb->nb_segs) >= q->rs_thresh) { in tx_xmit_pkt()
H A Dfm10k.h205 uint16_t rs_thresh; member
H A Dfm10k_ethdev.c330 fifo_reset(&q->rs_tracker, (q->nb_desc + 1) / q->rs_thresh); in tx_queue_reset()
1952 q->rs_thresh = tx_rs_thresh; in handle_txconf()
2067 ((nb_desc + 1) / q->rs_thresh) * in fm10k_tx_queue_setup()
2921 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in fm10k_xmit_pkts_vec()
/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c2869 uint16_t rs_thresh, free_thresh, fast_free_thresh; in hns3_tx_queue_conf_check() local
2878 rs_thresh = (conf->tx_rs_thresh > 0) ? in hns3_tx_queue_conf_check()
2882 if (rs_thresh + free_thresh > nb_desc || nb_desc % rs_thresh || in hns3_tx_queue_conf_check()
2883 rs_thresh >= nb_desc - HNS3_TX_RS_FREE_THRESH_GAP || in hns3_tx_queue_conf_check()
2888 rs_thresh, free_thresh, nb_desc, hw->data->port_id, in hns3_tx_queue_conf_check()
2895 fast_free_thresh = nb_desc - rs_thresh; in hns3_tx_queue_conf_check()
2902 *tx_rs_thresh = rs_thresh; in hns3_tx_queue_conf_check()