Searched refs:pool_present (Results 1 – 2 of 2) sorted by relevance
317 ice_realloc_rx_xdp_bufs(struct ice_rx_ring *rx_ring, bool pool_present) in ice_realloc_rx_xdp_bufs() argument319 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() local396 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()
29 static int i40e_realloc_rx_xdp_bi(struct i40e_ring *rx_ring, bool pool_present) in i40e_realloc_rx_xdp_bi() argument31 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()