Lines Matching defs:pool
259 * ice_xsk_pool_disable - disable a buffer pool region
267 struct xsk_buff_pool *pool = xsk_get_pool_from_qid(vsi->netdev, qid);
269 if (!pool)
273 xsk_pool_dma_unmap(pool, ICE_RX_DMA_ATTR);
279 * ice_xsk_pool_enable - enable a buffer pool region
281 * @pool: pointer to a requested buffer pool region
287 ice_xsk_pool_enable(struct ice_vsi *vsi, struct xsk_buff_pool *pool, u16 qid)
298 err = xsk_pool_dma_map(pool, ice_pf_to_dev(vsi->back),
311 * @pool_present: is pool for XSK present
365 * ice_xsk_pool_setup - enable/disable a buffer pool region depending on its state
367 * @pool: buffer pool to enable/associate to a ring, NULL to disable
372 int ice_xsk_pool_setup(struct ice_vsi *vsi, struct xsk_buff_pool *pool, u16 qid)
374 bool if_running, pool_present = !!pool;
399 pool_failure = pool_present ? ice_xsk_pool_enable(vsi, pool, qid) :
413 netdev_err(vsi->netdev, "Could not %sable buffer pool, error = %d\n",
422 * ice_fill_rx_descs - pick buffers from XSK buffer pool and use it
423 * @pool: XSK Buffer pool to pull the buffers from
435 static u16 ice_fill_rx_descs(struct xsk_buff_pool *pool, struct xdp_buff **xdp,
442 buffs = xsk_buff_alloc_batch(pool, xdp, count);
1123 * ice_xsk_any_rx_ring_ena - Checks if Rx rings have AF_XDP buff pool attached
1126 * Returns true if any of the Rx rings has an AF_XDP buff pool attached
1141 * ice_xsk_clean_rx_ring - clean buffer pool queues connected to a given Rx ring
1160 * ice_xsk_clean_xdp_ring - Clean the XDP Tx ring and its buffer pool queues