Searched refs:xsk_pools (Results 1 – 3 of 3) sorted by relevance
272 if (vsi->xsk_pools) in ice_xsk_alloc_pools()275 vsi->xsk_pools = kcalloc(vsi->num_xsk_pools, sizeof(*vsi->xsk_pools), in ice_xsk_alloc_pools()278 if (!vsi->xsk_pools) { in ice_xsk_alloc_pools()293 vsi->xsk_pools[qid] = NULL; in ice_xsk_remove_pool()297 kfree(vsi->xsk_pools); in ice_xsk_remove_pool()298 vsi->xsk_pools = NULL; in ice_xsk_remove_pool()312 if (!vsi->xsk_pools || qid >= vsi->num_xsk_pools || in ice_xsk_pool_disable()313 !vsi->xsk_pools[qid]) in ice_xsk_pool_disable()316 xsk_pool_dma_unmap(vsi->xsk_pools[qid], ICE_RX_DMA_ATTR); in ice_xsk_pool_disable()347 if (vsi->xsk_pools && vsi->xsk_pools[qid]) in ice_xsk_pool_enable()[all …]
329 struct xsk_buff_pool **xsk_pools; member518 struct xsk_buff_pool **pools = ring->vsi->xsk_pools; in ice_xsk_pool()
2556 if (!ret && prog && vsi->xsk_pools) { in ice_xdp_setup_prog()