Searched refs:next_to_use (Results 51 - 75 of 92) sorted by relevance

1234

/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h458 u32 next_to_use; member in struct:hns3_tx_spare
481 int next_to_use; /* idx of next spare desc */ member in struct:hns3_enet_ring
484 * next_to_use
628 int end = READ_ONCE(ring->next_to_use);
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.h139 ((((txq)->next_to_clean > (txq)->next_to_use) ? 0 : (txq)->desc_count) + \
140 (txq)->next_to_clean - (txq)->next_to_use - 1)
630 * @next_to_use: Next descriptor to use. Relevant in both split & single txq
715 u16 next_to_use; member in struct:idpf_queue
H A Didpf_txrx.c132 txq->next_to_use = 0;
242 tx_q->next_to_use = 0;
410 rxq->next_to_use = 0;
468 rxq->next_to_use = val;
737 rxq->next_to_use = 0;
2049 tx_q->next_to_use = val;
2191 u16 i = tx_q->next_to_use;
2550 int i = txq->next_to_use;
2557 txq->next_to_use = idpf_tx_splitq_bump_ntu(txq, i);
2573 idpf_tx_buf_hw_update(tx_q, tx_q->next_to_use, fals
[all...]
/linux-master/drivers/net/ethernet/freescale/
H A Dgianfar.h1041 * @next_to_use: index of the next buffer to be alloc'd
1059 u16 next_to_use; member in struct:gfar_priv_rx_q
1321 if (rxq->next_to_clean > rxq->next_to_use)
1322 return rxq->next_to_clean - rxq->next_to_use - 1;
1324 return rxq->rx_ring_size + rxq->next_to_clean - rxq->next_to_use - 1;
1333 i = rxq->next_to_use ? rxq->next_to_use - 1 : rxq->rx_ring_size - 1;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c805 return tail == hw->hw.cmq.crq.next_to_use;
1123 desc = &crq->desc[crq->next_to_use];
1126 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag);
1134 crq->desc[crq->next_to_use].flag = 0;
1147 crq->desc[crq->next_to_use].flag = 0;
1153 crq->next_to_use);
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h129 u16 next_to_use; member in struct:fm10k_ring
418 s16 unused = ring->next_to_clean - ring->next_to_use - 1;
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe.h438 * @next_to_use: next descriptor to associate a buffer with
447 unsigned int next_to_use; member in struct:pch_gbe_tx_ring
458 * @next_to_use: next descriptor to associate a buffer with
470 unsigned int next_to_use; member in struct:pch_gbe_rx_ring
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h100 u16 next_to_use; member in struct:ixgbevf_ring
289 u16 ntu = ring->next_to_use;
H A Dixgbevf_main.c376 " next_to_use <%x>\n"
387 tx_ring->next_to_use, i,
655 unsigned int i = rx_ring->next_to_use;
689 /* clear the length for the next_to_use descriptor */
697 if (rx_ring->next_to_use != i) {
699 rx_ring->next_to_use = i;
990 i = ring->next_to_use;
1043 ring->next_to_use = i;
1249 ixgbevf_write_tail(xdp_ring, xdp_ring->next_to_use);
1718 ring->next_to_use
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.c190 ring->next_to_use = 0;
208 assert(ring->next_to_use == 0);
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c120 u16 next_to_use,
160 ring->next_to_use = ENA_TX_RING_IDX_NEXT(next_to_use,
302 tx_ring->next_to_use = 0;
435 rx_ring->next_to_use = 0;
593 u16 next_to_use, req_id; local
597 next_to_use = rx_ring->next_to_use;
602 req_id = rx_ring->free_ids[next_to_use];
622 next_to_use
116 ena_xmit_common(struct ena_adapter *adapter, struct ena_ring *ring, struct ena_tx_buffer *tx_info, struct ena_com_tx_ctx *ena_tx_ctx, u16 next_to_use, u32 bytes) argument
2607 u16 next_to_use, req_id, header_len; local
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c200 while (i != tx_ring->next_to_use) {
264 /* reset next_to_use and next_to_clean */
265 tx_ring->next_to_use = 0;
373 tx_ring->next_to_use = 0;
473 ring->next_to_use = 0;
571 rx_ring->next_to_use = 0;
668 ring->next_to_use = 0;
1130 desc = IGC_TX_DESC(ring, ring->next_to_use);
1139 ring->next_to_use++;
1140 if (ring->next_to_use
[all...]
H A Digc.h177 u16 next_to_use; member in struct:igc_ring
650 u16 ntu = ring->next_to_use;
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.h262 u16 next_to_use; member in struct:iavf_ring
H A Diavf.h127 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
128 (R)->next_to_clean - (R)->next_to_use - 1)
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc.c109 enetc_wr_reg_hot(tx_ring->tpir, tx_ring->next_to_use);
162 i = tx_ring->next_to_use;
317 tx_ring->next_to_use = i;
501 i = tx_ring->next_to_use;
568 tx_ring->next_to_use = i;
946 i = rx_ring->next_to_use;
971 rx_ring->next_to_use = i;
974 enetc_wr_reg_hot(rx_ring->rcir, rx_ring->next_to_use);
1285 i = tx_ring->next_to_use;
1302 tx_ring->next_to_use
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h365 u16 next_to_use; member in struct:i40e_ring
H A Di40e_type.h32 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
33 (R)->next_to_clean - (R)->next_to_use - 1)
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c558 n, ring->next_to_use, ring->next_to_clean,
681 if (i == ring->next_to_use &&
684 else if (i == ring->next_to_use)
719 n, rx_ring->next_to_use, rx_ring->next_to_clean);
790 if (i == rx_ring->next_to_use)
1023 tail = ring->next_to_use;
1258 " next_to_use <%x>\n"
1267 tx_ring->next_to_use, i,
1610 u16 i = rx_ring->next_to_use;
1647 /* clear the length for the next_to_use descripto
[all...]
H A Dixgbe_lib.c1287 u16 i = tx_ring->next_to_use;
1292 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
H A Dixgbe.h376 u16 next_to_use; member in struct:ixgbe_ring
557 u16 ntu = ring->next_to_use;
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h401 u16 next_to_use; member in struct:atl1e_tx_ring
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.h423 int next_to_use; member in struct:hclge_comm_cmq_ring
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c366 n, tx_ring->next_to_use, tx_ring->next_to_clean,
403 if (i == tx_ring->next_to_use &&
406 else if (i == tx_ring->next_to_use)
438 n, rx_ring->next_to_use, rx_ring->next_to_clean);
484 if (i == rx_ring->next_to_use)
1985 * next_to_use != next_to_clean
2924 writel(ring->next_to_use, ring->tail);
4281 tx_ring->next_to_use = 0;
4444 rx_ring->next_to_use = 0;
4888 while (i != tx_ring->next_to_use) {
[all...]
/linux-master/drivers/net/ethernet/
H A Djme.c575 txring->next_to_use = 0;
636 txring->next_to_use = 0;
796 rxring->next_to_use = 0;
819 rxring->next_to_use = 0;
1939 idx = txring->next_to_use;
1947 txring->next_to_use = (txring->next_to_use + nr_alloc) & mask;

Completed in 370 milliseconds

1234