Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_common.h93 n = txq->rs_thresh; in iavf_tx_free_bufs()
127 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in iavf_tx_free_bufs()
128 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in iavf_tx_free_bufs()
130 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in iavf_tx_free_bufs()
132 return txq->rs_thresh; in iavf_tx_free_bufs()
184 i = txq->next_dd - txq->rs_thresh + 1; in _iavf_tx_queue_release_mbufs_vec()
242 if (txq->rs_thresh < IAVF_VPMD_TX_MAX_BURST || in iavf_tx_vec_queue_default()
243 txq->rs_thresh > IAVF_VPMD_TX_MAX_FREE_BUF) in iavf_tx_vec_queue_default()
H A Diavf_rxtx_vec_avx512.c1415 n = txq->rs_thresh; in iavf_tx_free_bufs_avx512()
1500 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in iavf_tx_free_bufs_avx512()
1501 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in iavf_tx_free_bufs_avx512()
1503 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in iavf_tx_free_bufs_avx512()
1505 return txq->rs_thresh; in iavf_tx_free_bufs_avx512()
1600 nb_pkts = RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx512()
1629 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in iavf_xmit_fixed_burst_vec_avx512()
1647 (uint16_t)(txq->next_rs + txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx512()
1667 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec_avx512()
1689 i = txq->next_dd - txq->rs_thresh + 1; in iavf_tx_queue_release_mbufs_avx512()
H A Diavf_rxtx.c139 txq->rs_thresh >= IAVF_VPMD_TX_MAX_BURST && in check_tx_vec_allow()
140 txq->rs_thresh <= IAVF_VPMD_TX_MAX_FREE_BUF) { in check_tx_vec_allow()
234 txq->next_dd = txq->rs_thresh - 1; in reset_tx_queue()
235 txq->next_rs = txq->rs_thresh - 1; in reset_tx_queue()
670 txq->rs_thresh = tx_rs_thresh; in iavf_dev_tx_queue_setup()
2141 if (unlikely(nb_used > txq->rs_thresh)) { in iavf_xmit_pkts()
2227 if (txq->nb_used >= txq->rs_thresh) { in iavf_xmit_pkts()
2518 if (txq->rs_thresh > txq->nb_tx_desc - in iavf_tx_done_cleanup_full()
2570 qinfo->conf.tx_rs_thresh = txq->rs_thresh; in iavf_dev_txq_info_get()
2645 desc = ((desc + txq->rs_thresh - 1) / txq->rs_thresh) * in iavf_dev_tx_desc_status()
[all …]
H A Diavf_rxtx_vec_sse.c1121 nb_pkts = RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_fixed_burst_vec()
1149 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()
1189 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec()
H A Diavf_rxtx_vec_avx2.c1466 nb_pkts = RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx2()
1494 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in iavf_xmit_fixed_burst_vec_avx2()
1511 (uint16_t)(txq->next_rs + txq->rs_thresh); in iavf_xmit_fixed_burst_vec_avx2()
1531 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in iavf_xmit_pkts_vec_avx2()
H A Diavf_rxtx.h224 uint16_t rs_thresh; member
/f-stack/dpdk/drivers/net/fm10k/
H A Dfm10k_rxtx_vec.c775 n = txq->rs_thresh; in fm10k_tx_free_bufs()
808 txq->nb_free = (uint16_t)(txq->nb_free + txq->rs_thresh); in fm10k_tx_free_bufs()
809 txq->next_dd = (uint16_t)(txq->next_dd + txq->rs_thresh); in fm10k_tx_free_bufs()
811 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in fm10k_tx_free_bufs()
813 return txq->rs_thresh; in fm10k_tx_free_bufs()
839 nb_pkts = RTE_MIN(nb_pkts, txq->rs_thresh); in fm10k_xmit_fixed_burst_vec()
866 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in fm10k_xmit_fixed_burst_vec()
880 txq->next_rs = (uint16_t)(txq->next_rs + txq->rs_thresh); in fm10k_xmit_fixed_burst_vec()
905 txq->next_dd = (uint16_t)(txq->rs_thresh - 1); in fm10k_reset_tx_queue()
906 txq->next_rs = (uint16_t)(txq->rs_thresh - 1); in fm10k_reset_tx_queue()
H A Dfm10k_rxtx.c476 desc = (desc / txq->rs_thresh + 1) * in fm10k_dev_tx_descriptor_status()
477 txq->rs_thresh - 1; in fm10k_dev_tx_descriptor_status()
592 if ((q->nb_used + mb->nb_segs) >= q->rs_thresh) { in tx_xmit_pkt()
H A Dfm10k.h207 uint16_t rs_thresh; member
H A Dfm10k_ethdev.c329 fifo_reset(&q->rs_tracker, (q->nb_desc + 1) / q->rs_thresh); in tx_queue_reset()
1953 q->rs_thresh = tx_rs_thresh; in handle_txconf()
2068 ((nb_desc + 1) / q->rs_thresh) * in fm10k_tx_queue_setup()
2920 num = (uint16_t)RTE_MIN(nb_pkts, txq->rs_thresh); in fm10k_xmit_pkts_vec()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c2500 uint16_t rs_thresh, free_thresh, fast_free_thresh; in hns3_tx_queue_conf_check() local
2509 rs_thresh = (conf->tx_rs_thresh > 0) ? in hns3_tx_queue_conf_check()
2513 if (rs_thresh + free_thresh > nb_desc || nb_desc % rs_thresh || in hns3_tx_queue_conf_check()
2514 rs_thresh >= nb_desc - HNS3_TX_RS_FREE_THRESH_GAP || in hns3_tx_queue_conf_check()
2519 rs_thresh, free_thresh, nb_desc, hw->data->port_id, in hns3_tx_queue_conf_check()
2526 fast_free_thresh = nb_desc - rs_thresh; in hns3_tx_queue_conf_check()
2533 *tx_rs_thresh = rs_thresh; in hns3_tx_queue_conf_check()