Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c249 u32 nb_buffs, i; in i40e_alloc_rx_buffers_zc() local
255 nb_buffs = min_t(u16, count, rx_ring->count - ntu); in i40e_alloc_rx_buffers_zc()
256 nb_buffs = xsk_buff_alloc_batch(rx_ring->xsk_pool, xdp, nb_buffs); in i40e_alloc_rx_buffers_zc()
257 if (!nb_buffs) in i40e_alloc_rx_buffers_zc()
260 i = nb_buffs; in i40e_alloc_rx_buffers_zc()
270 ntu += nb_buffs; in i40e_alloc_rx_buffers_zc()
280 return count == nb_buffs; in i40e_alloc_rx_buffers_zc()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_xsk.c487 u32 nb_buffs_extra = 0, nb_buffs = 0; in __ice_alloc_rx_bufs_zc() local
511 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()