| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mbx.c | 215 return tail == hw->cmq.crq.next_to_use; in hns3_cmd_crq_empty() 408 uint32_t tail, next_to_use; in hns3_handle_mbx_msg_out_intr() local 413 next_to_use = crq->next_to_use; in hns3_handle_mbx_msg_out_intr() 414 while (next_to_use != tail) { in hns3_handle_mbx_msg_out_intr() 415 desc = &crq->desc[next_to_use]; in hns3_handle_mbx_msg_out_intr() 436 next_to_use = (next_to_use + 1) % hw->cmq.crq.desc_num; in hns3_handle_mbx_msg_out_intr() 439 crq->next_to_use = next_to_use; in hns3_handle_mbx_msg_out_intr() 486 desc = &crq->desc[crq->next_to_use]; in hns3_dev_handle_mbx_msg() 497 crq->desc[crq->next_to_use].flag = 0; in hns3_dev_handle_mbx_msg() 505 crq->desc[crq->next_to_use].flag = 0; in hns3_dev_handle_mbx_msg() [all …]
|
| H A D | hns3_rxtx_vec_neon.h | 35 uint16_t next_to_use; in hns3_xmit_fixed_burst_vec() local 50 next_to_use = txq->next_to_use; in hns3_xmit_fixed_burst_vec() 51 tx_desc = &txq->tx_ring[next_to_use]; in hns3_xmit_fixed_burst_vec() 52 tx_entry = &txq->sw_ring[next_to_use]; in hns3_xmit_fixed_burst_vec() 59 n = txq->nb_tx_desc - next_to_use; in hns3_xmit_fixed_burst_vec() 70 next_to_use = 0; in hns3_xmit_fixed_burst_vec() 83 next_to_use += nb_commit; in hns3_xmit_fixed_burst_vec() 84 txq->next_to_use = next_to_use; in hns3_xmit_fixed_burst_vec() 134 uint16_t rx_id = rxq->next_to_use; in hns3_recv_burst_vec() 296 rxq->next_to_use += nb_rx; in hns3_recv_burst_vec() [all …]
|
| H A D | hns3_rxtx_vec_sve.c | 83 uint16_t rx_id = rxq->next_to_use; in hns3_recv_burst_vec_sve() 233 rxq->next_to_use += nb_rx; in hns3_recv_burst_vec_sve() 234 if (rxq->next_to_use >= rxq->nb_rx_desc) in hns3_recv_burst_vec_sve() 235 rxq->next_to_use = 0; in hns3_recv_burst_vec_sve() 294 struct hns3_desc *rxdp = &rxq->rx_ring[rxq->next_to_use]; in hns3_recv_pkts_vec_sve() 309 hns3_rx_prefetch_mbuf_sve(&rxq->sw_ring[rxq->next_to_use]); in hns3_recv_pkts_vec_sve() 386 struct hns3_desc *txdp = &txq->tx_ring[txq->next_to_use]; in hns3_tx_fill_hw_ring_sve() 468 if (txq->next_to_use + nb_pkts > txq->nb_tx_desc) { in hns3_xmit_fixed_burst_vec_sve() 469 nb_tx = txq->nb_tx_desc - txq->next_to_use; in hns3_xmit_fixed_burst_vec_sve() 471 txq->next_to_use = 0; in hns3_xmit_fixed_burst_vec_sve() [all …]
|
| H A D | hns3_cmd.c | 16 int ntu = ring->next_to_use; in hns3_ring_space() 26 int ntu = ring->next_to_use; in is_valid_csq_clean_head() 199 csq->next_to_use, csq->next_to_clean); in hns3_cmd_csq_clean() 219 return head == hw->cmq.csq.next_to_use; in hns3_cmd_csq_done() 384 ntc = hw->cmq.csq.next_to_use; in hns3_cmd_send() 387 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hns3_cmd_send() 389 (hw->cmq.csq.next_to_use)++; in hns3_cmd_send() 390 if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) in hns3_cmd_send() 391 hw->cmq.csq.next_to_use = 0; in hns3_cmd_send() 692 hw->cmq.csq.next_to_use = 0; in hns3_cmd_init() [all …]
|
| H A D | hns3_rxtx_vec.c | 112 struct hns3_desc *rxdp = &rxq->rx_ring[rxq->next_to_use]; in hns3_recv_pkts_vec() 127 rte_prefetch0(rxq->sw_ring[rxq->next_to_use + 0].mbuf); in hns3_recv_pkts_vec() 128 rte_prefetch0(rxq->sw_ring[rxq->next_to_use + 1].mbuf); in hns3_recv_pkts_vec() 129 rte_prefetch0(rxq->sw_ring[rxq->next_to_use + 2].mbuf); in hns3_recv_pkts_vec() 130 rte_prefetch0(rxq->sw_ring[rxq->next_to_use + 3].mbuf); in hns3_recv_pkts_vec()
|
| H A D | hns3_mbx.h | 164 ((crq)->next_to_use = ((crq)->next_to_use + 1) % (crq)->desc_num)
|
| H A D | hns3_rxtx.c | 45 for (i = rxq->next_to_use; in hns3_rx_queue_release_mbufs() 1091 rxq->next_to_use = 0; in hns3_init_rxq() 1110 rxq->next_to_use = 0; in hns3_init_fake_rxq() 1130 txq->next_to_use = 0; in hns3_init_txq() 1883 rxq->next_to_use = 0; in hns3_rx_queue_setup() 2426 rx_id = rxq->next_to_use; in hns3_recv_pkts_simple() 2508 rxq->next_to_use = rx_id; in hns3_recv_pkts_simple() 2549 rx_id = rxq->next_to_use; in hns3_recv_scattered_pkts() 3020 txq->next_to_use = 0; in hns3_tx_queue_setup() 4133 txq->next_to_use = 0; in hns3_xmit_pkts_simple() [all …]
|
| H A D | hns3_rxtx.h | 305 uint16_t next_to_use; /* index of next BD to be polled */ member 433 uint16_t next_to_use; member
|
| H A D | hns3_cmd.h | 35 uint32_t next_to_use; member
|
| /dpdk/drivers/net/enetc/ |
| H A D | enetc.h | 67 int next_to_use; member 113 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()
|
| H A D | enetc_rxtx.c | 89 i = tx_ring->next_to_use; in enetc_xmit_pkts() 120 tx_ring->next_to_use = i; in enetc_xmit_pkts() 134 i = rx_ring->next_to_use; in enetc_refill_rx_ring() 167 rx_ring->next_to_use = i; in enetc_refill_rx_ring()
|
| H A D | enetc_ethdev.c | 253 txr->next_to_use = 0; in enetc_alloc_txbdr() 402 rxr->next_to_use = 0; in enetc_alloc_rxbdr() 516 while (i != rx_ring->next_to_use) { in enetc_rx_queue_release()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_controlq.h | 19 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 20 (R)->next_to_clean - (R)->next_to_use - 1)) 56 u16 next_to_use; member
|
| H A D | ice_controlq.c | 351 cq->sq.next_to_use = 0; in ice_init_sq() 413 cq->rq.next_to_use = 0; in ice_init_rq() 920 return rd32(hw, cq->sq.head) == cq->sq.next_to_use; in ice_sq_done() 987 details = ICE_CTL_Q_DETAILS(cq->sq, cq->sq.next_to_use); in ice_sq_send_cmd_nolock() 1005 desc_on_ring = ICE_CTL_Q_DESC(cq->sq, cq->sq.next_to_use); in ice_sq_send_cmd_nolock() 1013 dma_buf = &cq->sq.r.sq_bi[cq->sq.next_to_use]; in ice_sq_send_cmd_nolock() 1032 (cq->sq.next_to_use)++; in ice_sq_send_cmd_nolock() 1033 if (cq->sq.next_to_use == cq->sq.count) in ice_sq_send_cmd_nolock() 1034 cq->sq.next_to_use = 0; in ice_sq_send_cmd_nolock() 1035 wr32(hw, cq->sq.tail, cq->sq.next_to_use); in ice_sq_send_cmd_nolock() [all …]
|
| /dpdk/drivers/common/iavf/ |
| H A D | iavf_adminq.c | 341 hw->aq.asq.next_to_use = 0; in iavf_init_asq() 404 hw->aq.arq.next_to_use = 0; in iavf_init_arq() 632 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in iavf_asq_done() 680 details = IAVF_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in iavf_asq_send_command() 740 desc_on_ring = IAVF_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in iavf_asq_send_command() 748 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in iavf_asq_send_command() 767 (hw->aq.asq.next_to_use)++; in iavf_asq_send_command() 768 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in iavf_asq_send_command() 769 hw->aq.asq.next_to_use = 0; in iavf_asq_send_command() 771 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); in iavf_asq_send_command() [all …]
|
| H A D | iavf_adminq.h | 31 u16 next_to_use; member
|
| H A D | iavf_type.h | 72 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 73 (R)->next_to_clean - (R)->next_to_use - 1)
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_adminq.c | 392 hw->aq.asq.next_to_use = 0; in i40e_init_asq() 455 hw->aq.arq.next_to_use = 0; in i40e_init_arq() 564 hw->aq.asq.next_to_use = 0; in i40e_resume_aq() 569 hw->aq.arq.next_to_use = 0; in i40e_resume_aq() 838 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done() 953 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); 972 (hw->aq.asq.next_to_use)++; 973 if (hw->aq.asq.next_to_use == hw->aq.asq.count) 974 hw->aq.asq.next_to_use = 0; 976 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); [all …]
|
| H A D | i40e_adminq.h | 31 u16 next_to_use; member
|
| H A D | i40e_type.h | 90 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 91 (R)->next_to_clean - (R)->next_to_use - 1)
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_com.h | 130 u16 next_to_use; member 1016 (bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size; in ena_com_get_next_bounce_buffer() 1019 (bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size); in ena_com_get_next_bounce_buffer()
|
| H A D | ena_com.c | 361 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()
|
| /dpdk/drivers/net/ena/ |
| H A D | ena_ethdev.c | 1385 ring->next_to_use = 0; in ena_queue_start() 1445 txq->next_to_use = 0; in ena_tx_queue_setup() 1556 rxq->next_to_use = 0; in ena_rx_queue_setup() 1640 uint16_t next_to_use = rxq->next_to_use; in ena_populate_rx_queue() local 1673 req_id = rxq->empty_rx_reqs[next_to_use]; in ena_populate_rx_queue() 1681 next_to_use = ENA_IDX_NEXT_MASKED(next_to_use, rxq->size_mask); in ena_populate_rx_queue() 1697 rxq->next_to_use = next_to_use; in ena_populate_rx_queue() 2936 uint16_t next_to_use; in ena_xmit_mbuf() local 2952 next_to_use = tx_ring->next_to_use; in ena_xmit_mbuf() 2954 req_id = tx_ring->empty_tx_reqs[next_to_use]; in ena_xmit_mbuf() [all …]
|
| H A D | ena_ethdev.h | 130 u16 next_to_use; member
|