Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_xsk.c337 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs() argument
339 size_t elem_size = pool_present ? sizeof(*rx_ring->xdp_buf) : in ice_realloc_rx_xdp_bufs()
346 if (pool_present) { in ice_realloc_rx_xdp_bufs()
393 bool if_running, pool_present = !!pool; in ice_xsk_pool_setup() local
413 ret = ice_realloc_rx_xdp_bufs(rx_ring, pool_present); in ice_xsk_pool_setup()
418 pool_failure = pool_present ? ice_xsk_pool_enable(vsi, pool, qid) : in ice_xsk_pool_setup()
424 if (!ret && pool_present) in ice_xsk_pool_setup()
433 pool_present ? "en" : "dis", pool_failure); in ice_xsk_pool_setup()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c33 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi() argument
35 size_t elem_size = pool_present ? sizeof(*rx_ring->rx_bi_zc) : in i40e_realloc_rx_xdp_bi()
42 if (pool_present) { in i40e_realloc_rx_xdp_bi()