Lines Matching refs:index
48 int index = &priv->tx_ring[tx_ring->index] - priv->xdp_tx_ring;
50 return priv->rx_ring[index];
530 /* Advance the index in the BDR */
608 netif_stop_subqueue(ndev, tx_ring->index);
622 netif_stop_subqueue(ndev, tx_ring->index);
640 netif_stop_subqueue(ndev, tx_ring->index);
890 enetc_wr_reg_hot(tx_ring->idr, BIT(tx_ring->index) |
891 BIT(16 + tx_ring->index));
904 __netif_subqueue_stopped(ndev, tx_ring->index) &&
906 netif_wake_subqueue(ndev, tx_ring->index);
973 /* update ENETC's consumer index */
1188 skb_record_rx_queue(skb, rx_ring->index);
1220 enetc_wr_reg_hot(rx_ring->idr, BIT(rx_ring->index));
1559 enetc_wr_reg_hot(rx_ring->idr, BIT(rx_ring->index));
1607 tx_ring = priv->xdp_tx_ring[rx_ring->index];
2113 int idx = tx_ring->index;
2148 int idx = rx_ring->index;
2166 /* Also prepare the consumer index in case page allocation never
2167 * succeeds. In that case, hardware will never advance producer index
2168 * to match consumer index, and will drop all frames.
2211 int idx = tx_ring->index;
2221 int idx = rx_ring->index;
2243 int idx = rx_ring->index;
2251 int idx = rx_ring->index;
2272 int idx = tx_ring->index;
2322 int idx = v->tx_ring[j].index;
2659 enetc_set_bdr_prio(hw, tx_ring->index, tx_ring->prio);
2708 enetc_set_bdr_prio(hw, tx_ring->index, tx_ring->prio);
3008 bdr->index = i;
3045 bdr->index = idx;