Searched refs:nb_buffs (Results 1 – 2 of 2) sorted by relevance
201 u32 nb_buffs, i; in i40e_alloc_rx_buffers_zc() local207 nb_buffs = min_t(u16, count, rx_ring->count - ntu); in i40e_alloc_rx_buffers_zc()208 nb_buffs = xsk_buff_alloc_batch(rx_ring->xsk_pool, xdp, nb_buffs); in i40e_alloc_rx_buffers_zc()209 if (!nb_buffs) in i40e_alloc_rx_buffers_zc()212 i = nb_buffs; in i40e_alloc_rx_buffers_zc()222 ntu += nb_buffs; in i40e_alloc_rx_buffers_zc()232 return count == nb_buffs; in i40e_alloc_rx_buffers_zc()
487 u32 nb_buffs_extra = 0, nb_buffs = 0; in __ice_alloc_rx_bufs_zc() local511 nb_buffs = ice_fill_rx_descs(rx_ring->xsk_pool, xdp, rx_desc, count); in __ice_alloc_rx_bufs_zc()513 ntu += nb_buffs; in __ice_alloc_rx_bufs_zc()521 return total_count == (nb_buffs_extra + nb_buffs); in __ice_alloc_rx_bufs_zc()