Home
last modified time | relevance | path

Searched refs:next_to_clean (Results 1 – 19 of 19) sorted by relevance

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx_vec.h20 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_bulk_free_buffers()
41 txq->next_to_clean += txq->tx_rs_thresh; in hns3_tx_bulk_free_buffers()
42 if (txq->next_to_clean >= txq->nb_tx_desc) in hns3_tx_bulk_free_buffers()
43 txq->next_to_clean = 0; in hns3_tx_bulk_free_buffers()
56 tx_desc = &txq->tx_ring[txq->next_to_clean]; in hns3_tx_free_buffers()
H A Dhns3_cmd.c21 int ntc = ring->next_to_clean; in hns3_ring_space()
31 int ntc = ring->next_to_clean; in is_valid_csq_clean_head()
203 csq->next_to_use, csq->next_to_clean); in hns3_cmd_csq_clean()
212 clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; in hns3_cmd_csq_clean()
213 csq->next_to_clean = head; in hns3_cmd_csq_clean()
508 hw->cmq.csq.next_to_clean = 0; in hns3_cmd_init()
510 hw->cmq.crq.next_to_clean = 0; in hns3_cmd_init()
H A Dhns3_rxtx.c1011 txq->next_to_clean = 0; in hns3_init_txq()
2589 txq->next_to_clean = 0; in hns3_tx_queue_setup()
2641 uint16_t tx_next_clean = txq->next_to_clean; in hns3_tx_free_useless_buffer()
2670 txq->next_to_clean = tx_next_clean; in hns3_tx_free_useless_buffer()
3418 tx_next_clean = (txq->next_to_clean + txq->tx_rs_thresh - 1) % in hns3_tx_free_buffer_simple()
3428 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_free_buffer_simple()
3437 txq->next_to_clean = (tx_next_clean + 1) % txq->nb_tx_desc; in hns3_tx_free_buffer_simple()
H A Dhns3_rxtx.h347 uint16_t next_to_clean; member
H A Dhns3_cmd.h35 uint32_t next_to_clean; member
H A Dhns3_rxtx_vec_sve.c333 tx_desc = &txq->tx_ring[txq->next_to_clean]; in hns3_tx_free_buffers_sve()
/f-stack/dpdk/drivers/net/enetc/
H A Denetc.h64 int next_to_clean; member
109 if (bdr->next_to_clean > bdr->next_to_use) in enetc_bd_unused()
110 return bdr->next_to_clean - bdr->next_to_use - 1; in enetc_bd_unused()
112 return bdr->bd_count + bdr->next_to_clean - bdr->next_to_use - 1; in enetc_bd_unused()
H A Denetc_rxtx.c37 i = tx_ring->next_to_clean; in enetc_clean_tx_ring()
74 tx_ring->next_to_clean = i; in enetc_clean_tx_ring()
331 i = rx_ring->next_to_clean; in enetc_clean_rx_ring()
388 rx_ring->next_to_clean = i; in enetc_clean_rx_ring()
H A Denetc_ethdev.c238 txr->next_to_clean = 0; in enetc_alloc_txbdr()
348 i = tx_ring->next_to_clean; in enetc_tx_queue_release()
385 rxr->next_to_clean = 0; in enetc_alloc_rxbdr()
496 i = rx_ring->next_to_clean; in enetc_rx_queue_release()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_controlq.h18 (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
19 (R)->next_to_clean - (R)->next_to_use - 1)
55 u16 next_to_clean; member
H A Dice_controlq.c337 cq->sq.next_to_clean = 0; in ice_init_sq()
399 cq->rq.next_to_clean = 0; in ice_init_rq()
787 u16 ntc = sq->next_to_clean; in ice_clean_sq()
805 sq->next_to_clean = ntc; in ice_clean_sq()
1112 u16 ntc = cq->rq.next_to_clean; in ice_clean_rq_elem()
1184 cq->rq.next_to_clean = ntc; in ice_clean_rq_elem()
/f-stack/dpdk/drivers/net/ena/
H A Dena_ethdev.c1232 ring->next_to_clean = 0; in ena_queue_start()
1290 txq->next_to_clean = 0; in ena_tx_queue_setup()
1386 rxq->next_to_clean = 0; in ena_rx_queue_setup()
2109 ntc = *next_to_clean; in ena_rx_mbuf()
2189 *next_to_clean = ntc; in ena_rx_mbuf()
2200 uint16_t next_to_clean = rx_ring->next_to_clean; in eth_ena_recv_pkts() local
2239 &next_to_clean, in eth_ena_recv_pkts()
2267 rx_ring->next_to_clean = next_to_clean; in eth_ena_recv_pkts()
2543 uint16_t next_to_clean = tx_ring->next_to_clean; in ena_tx_cleanup() local
2571 next_to_clean = ENA_IDX_NEXT_MASKED(next_to_clean, in ena_tx_cleanup()
[all …]
H A Dena_ethdev.h99 u16 next_to_clean; member
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_adminq.c393 hw->aq.asq.next_to_clean = 0; in i40e_init_asq()
456 hw->aq.arq.next_to_clean = 0; in i40e_init_arq()
561 hw->aq.asq.next_to_clean = 0; in i40e_resume_aq()
566 hw->aq.arq.next_to_clean = 0; in i40e_resume_aq()
785 u16 ntc = asq->next_to_clean; in i40e_clean_asq()
811 asq->next_to_clean = ntc; in i40e_clean_asq()
1081 u16 ntc = hw->aq.arq.next_to_clean;
1170 hw->aq.arq.next_to_clean = ntc;
H A Di40e_adminq.h32 u16 next_to_clean; member
H A Di40e_type.h90 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
91 (R)->next_to_clean - (R)->next_to_use - 1)
/f-stack/dpdk/drivers/common/iavf/
H A Diavf_adminq.c342 hw->aq.asq.next_to_clean = 0; in iavf_init_asq()
405 hw->aq.arq.next_to_clean = 0; in iavf_init_arq()
585 u16 ntc = asq->next_to_clean; in iavf_clean_asq()
611 asq->next_to_clean = ntc; in iavf_clean_asq()
873 u16 ntc = hw->aq.arq.next_to_clean; in iavf_clean_arq_element()
950 hw->aq.arq.next_to_clean = ntc; in iavf_clean_arq_element()
H A Diavf_adminq.h32 u16 next_to_clean; member
H A Diavf_type.h72 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
73 (R)->next_to_clean - (R)->next_to_use - 1)