Lines Matching defs:ring
159 /* Macros for each Tx/Xdp/Rx ring in a VSI */
169 /* Macros for each allocated Tx/Rx ring whether used or not in a VSI */
320 struct ice_ring_stats **tx_ring_stats; /* Tx ring stats array */
321 struct ice_ring_stats **rx_ring_stats; /* Rx ring stats array */
330 struct ice_rx_ring **rx_rings; /* Rx ring array */
331 struct ice_tx_ring **tx_rings; /* Tx ring array */
409 struct ice_tx_ring **xdp_rings; /* XDP ring array */
712 static inline void ice_set_ring_xdp(struct ice_tx_ring *ring)
714 ring->flags |= ICE_TX_FLAGS_RING_XDP;
718 * ice_xsk_pool - get XSK buffer pool bound to a ring
719 * @ring: Rx ring to use
724 static inline struct xsk_buff_pool *ice_xsk_pool(struct ice_rx_ring *ring)
726 struct ice_vsi *vsi = ring->vsi;
727 u16 qid = ring->q_index;
736 * ice_tx_xsk_pool - assign XSK buff pool to XDP ring
740 * Sets XSK buff pool pointer on XDP ring.
742 * XDP ring is picked from Rx ring, whereas Rx ring is picked based on provided
744 * than one XDP ring, e.g. when user reduced the queue count on netdev; Rx ring
751 struct ice_tx_ring *ring;
753 ring = vsi->rx_rings[qid]->xdp_ring;
754 if (!ring)
758 ring->xsk_pool = NULL;
762 ring->xsk_pool = xsk_get_pool_from_qid(vsi->netdev, qid);