Home
last modified time | relevance | path

Searched refs:pool_present (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_xsk.c317 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs() argument
319 size_t elem_size = pool_present ? sizeof(*rx_ring->xdp_buf) : in ice_realloc_rx_xdp_bufs()
326 if (pool_present) { in ice_realloc_rx_xdp_bufs()
375 bool if_running, pool_present = !!pool; in ice_xsk_pool_setup() local
396 ret = ice_realloc_rx_xdp_bufs(rx_ring, pool_present); in ice_xsk_pool_setup()
401 pool_failure = pool_present ? ice_xsk_pool_enable(vsi, pool, qid) : in ice_xsk_pool_setup()
407 if (!ret && pool_present) in ice_xsk_pool_setup()
416 pool_present ? "en" : "dis", pool_failure); in ice_xsk_pool_setup()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c29 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi() argument
31 size_t elem_size = pool_present ? sizeof(*rx_ring->rx_bi_zc) : in i40e_realloc_rx_xdp_bi()
38 if (pool_present) { in i40e_realloc_rx_xdp_bi()