Home
last modified time | relevance | path

Searched refs:xsk_pools (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_xsk.c143 prev_pool = dp->xsk_pools[queue_id]; in nfp_net_xsk_setup_pool()
144 dp->xsk_pools[queue_id] = pool; in nfp_net_xsk_setup_pool()
Dnfp_net_xsk.h15 return dp->xdp_prog && dp->xsk_pools[qid]; in nfp_net_has_xsk_pool_slow()
Dnfp_net_common.c803 r_vec->xsk_pool = dp->xdp_prog ? dp->xsk_pools[idx] : NULL; in nfp_net_vector_assign_rings()
1563 new->xsk_pools = kmemdup(new->xsk_pools, in nfp_net_clone_dp()
1565 sizeof(new->xsk_pools)), in nfp_net_clone_dp()
1567 if (!new->xsk_pools) { in nfp_net_clone_dp()
1586 kfree(dp->xsk_pools); in nfp_net_free_dp()
1610 if (!dp->xsk_pools[r]) in nfp_net_check_config()
1613 if (xsk_pool_get_rx_frame_size(dp->xsk_pools[r]) < xsk_min_fl_bufsz) { in nfp_net_check_config()
2541 nn->dp.xsk_pools = kcalloc(nn->max_r_vecs, sizeof(nn->dp.xsk_pools), in nfp_net_alloc()
2543 if (!nn->dp.xsk_pools) { in nfp_net_alloc()
2586 kfree(nn->dp.xsk_pools); in nfp_net_free()
Dnfp_net.h543 struct xsk_buff_pool **xsk_pools; member