/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.h | 458 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 D | idpf_txrx.h | 139 ((((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 D | idpf_txrx.c | 132 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 D | gianfar.h | 1041 * @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 D | hclge_mbx.c | 805 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 D | fm10k.h | 129 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 D | pch_gbe.h | 438 * @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 D | ixgbevf.h | 100 u16 next_to_use; member in struct:ixgbevf_ring 289 u16 ntu = ring->next_to_use;
|
H A D | ixgbevf_main.c | 376 " 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 D | hnae.c | 190 ring->next_to_use = 0; 208 assert(ring->next_to_use == 0);
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 120 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 D | igc_main.c | 200 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 D | igc.h | 177 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 D | iavf_txrx.h | 262 u16 next_to_use; member in struct:iavf_ring
|
H A D | iavf.h | 127 ((((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 D | enetc.c | 109 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 D | i40e_txrx.h | 365 u16 next_to_use; member in struct:i40e_ring
|
H A D | i40e_type.h | 32 ((((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 D | ixgbe_main.c | 558 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 D | ixgbe_lib.c | 1287 u16 i = tx_ring->next_to_use; 1292 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
|
H A D | ixgbe.h | 376 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 D | atl1e.h | 401 u16 next_to_use; member in struct:atl1e_tx_ring
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_cmd.h | 423 int next_to_use; member in struct:hclge_comm_cmq_ring
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 366 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 D | jme.c | 575 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;
|