ice_ring_is_xdp
WARN_ONCE(ice_ring_is_xdp(ring) && tc, "XDP ring can't belong to TC other than 0\n");
if (ice_ring_is_xdp(ring))
if (!ring->tx_buf || !ice_ring_is_xdp(ring))
else if (ice_ring_is_xdp(tx_ring))
if (ice_ring_is_xdp(tx_ring) && tx_ring->xsk_pool) {