Lines Matching refs:xdp_rings
3212 struct ice_tx_ring *xdp_rings = NULL; in ice_set_ringparam() local
3273 vsi->xdp_rings[i]->count = new_tx_cnt; in ice_set_ringparam()
3314 vsi->xdp_rings[0]->count, new_tx_cnt); in ice_set_ringparam()
3316 xdp_rings = kcalloc(vsi->num_xdp_txq, sizeof(*xdp_rings), GFP_KERNEL); in ice_set_ringparam()
3317 if (!xdp_rings) { in ice_set_ringparam()
3324 xdp_rings[i] = *vsi->xdp_rings[i]; in ice_set_ringparam()
3325 xdp_rings[i].count = new_tx_cnt; in ice_set_ringparam()
3326 xdp_rings[i].desc = NULL; in ice_set_ringparam()
3327 xdp_rings[i].tx_buf = NULL; in ice_set_ringparam()
3328 err = ice_setup_tx_ring(&xdp_rings[i]); in ice_set_ringparam()
3331 ice_clean_tx_ring(&xdp_rings[i]); in ice_set_ringparam()
3332 kfree(xdp_rings); in ice_set_ringparam()
3335 ice_set_ring_xdp(&xdp_rings[i]); in ice_set_ringparam()
3416 if (xdp_rings) { in ice_set_ringparam()
3418 ice_free_tx_ring(vsi->xdp_rings[i]); in ice_set_ringparam()
3419 *vsi->xdp_rings[i] = xdp_rings[i]; in ice_set_ringparam()
3421 kfree(xdp_rings); in ice_set_ringparam()