Searched refs:next_to_clean (Results 1 – 19 of 19) sorted by relevance
20 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_bulk_free_buffers()50 txq->next_to_clean += txq->tx_rs_thresh; in hns3_tx_bulk_free_buffers()51 if (txq->next_to_clean >= txq->nb_tx_desc) in hns3_tx_bulk_free_buffers()52 txq->next_to_clean = 0; in hns3_tx_bulk_free_buffers()65 tx_desc = &txq->tx_ring[txq->next_to_clean]; in hns3_tx_free_buffers()
17 int ntc = ring->next_to_clean; in hns3_ring_space()27 int ntc = ring->next_to_clean; in is_valid_csq_clean_head()199 csq->next_to_use, csq->next_to_clean); in hns3_cmd_csq_clean()209 clean = (head - csq->next_to_clean + csq->desc_num) % csq->desc_num; in hns3_cmd_csq_clean()210 csq->next_to_clean = head; in hns3_cmd_csq_clean()691 hw->cmq.csq.next_to_clean = 0; in hns3_cmd_init()693 hw->cmq.crq.next_to_clean = 0; in hns3_cmd_init()
1131 txq->next_to_clean = 0; in hns3_init_txq()3021 txq->next_to_clean = 0; in hns3_tx_queue_setup()3079 uint16_t tx_next_clean = txq->next_to_clean; in hns3_tx_free_useless_buffer()3106 txq->next_to_clean += txq->tx_rs_thresh; in hns3_tx_free_useless_buffer()3107 if (txq->next_to_clean >= txq->nb_tx_desc) in hns3_tx_free_useless_buffer()3108 txq->next_to_clean = 0; in hns3_tx_free_useless_buffer()3991 tx_next_clean = (txq->next_to_clean + txq->tx_rs_thresh - 1) % in hns3_tx_free_buffer_simple()4001 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_free_buffer_simple()4019 txq->next_to_clean = (tx_next_clean + 1) % txq->nb_tx_desc; in hns3_tx_free_buffer_simple()
431 uint16_t next_to_clean; member
358 tx_desc = &txq->tx_ring[txq->next_to_clean]; in hns3_tx_free_buffers_sve()
36 uint32_t next_to_clean; member
68 int next_to_clean; member113 if (bdr->next_to_clean > bdr->next_to_use) in enetc_bd_unused()114 return bdr->next_to_clean - bdr->next_to_use - 1; in enetc_bd_unused()116 return bdr->bd_count + bdr->next_to_clean - bdr->next_to_use - 1; in enetc_bd_unused()
37 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()
252 txr->next_to_clean = 0; in enetc_alloc_txbdr()364 i = tx_ring->next_to_clean; in enetc_tx_queue_release()401 rxr->next_to_clean = 0; in enetc_alloc_rxbdr()514 i = rx_ring->next_to_clean; in enetc_rx_queue_release()
19 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \20 (R)->next_to_clean - (R)->next_to_use - 1))57 u16 next_to_clean; member
352 cq->sq.next_to_clean = 0; in ice_init_sq()414 cq->rq.next_to_clean = 0; in ice_init_rq()837 u16 ntc = sq->next_to_clean; in ice_clean_sq()855 sq->next_to_clean = ntc; in ice_clean_sq()1162 u16 ntc = cq->rq.next_to_clean; in ice_clean_rq_elem()1234 cq->rq.next_to_clean = ntc; in ice_clean_rq_elem()
1384 ring->next_to_clean = 0; in ena_queue_start()1444 txq->next_to_clean = 0; in ena_tx_queue_setup()1555 rxq->next_to_clean = 0; in ena_rx_queue_setup()2508 ntc = *next_to_clean; in ena_rx_mbuf()2582 *next_to_clean = ntc; in ena_rx_mbuf()2592 uint16_t next_to_clean = rx_ring->next_to_clean; in eth_ena_recv_pkts() local2643 &next_to_clean, in eth_ena_recv_pkts()2667 rx_ring->next_to_clean = next_to_clean; in eth_ena_recv_pkts()3010 uint16_t next_to_clean = tx_ring->next_to_clean; in ena_tx_cleanup() local3044 next_to_clean = ENA_IDX_NEXT_MASKED(next_to_clean, in ena_tx_cleanup()[all …]
131 u16 next_to_clean; member
393 hw->aq.asq.next_to_clean = 0; in i40e_init_asq()456 hw->aq.arq.next_to_clean = 0; in i40e_init_arq()565 hw->aq.asq.next_to_clean = 0; in i40e_resume_aq()570 hw->aq.arq.next_to_clean = 0; in i40e_resume_aq()791 u16 ntc = asq->next_to_clean; in i40e_clean_asq()817 asq->next_to_clean = ntc; in i40e_clean_asq()1144 u16 ntc = hw->aq.arq.next_to_clean;1233 hw->aq.arq.next_to_clean = ntc;
32 u16 next_to_clean; member
90 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \91 (R)->next_to_clean - (R)->next_to_use - 1)
342 hw->aq.asq.next_to_clean = 0; in iavf_init_asq()405 hw->aq.arq.next_to_clean = 0; in iavf_init_arq()589 u16 ntc = asq->next_to_clean; in iavf_clean_asq()615 asq->next_to_clean = ntc; in iavf_clean_asq()877 u16 ntc = hw->aq.arq.next_to_clean; in iavf_clean_arq_element()954 hw->aq.arq.next_to_clean = ntc; in iavf_clean_arq_element()
72 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \73 (R)->next_to_clean - (R)->next_to_use - 1)