Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ice/
Dice_xsk.c17 return &rx_ring->xdp_buf[idx]; in ice_xdp_buf()
331 size_t elem_size = pool_present ? sizeof(*rx_ring->xdp_buf) : in ice_realloc_rx_xdp_bufs()
341 rx_ring->xdp_buf = sw_ring; in ice_realloc_rx_xdp_bufs()
343 kfree(rx_ring->xdp_buf); in ice_realloc_rx_xdp_bufs()
344 rx_ring->xdp_buf = NULL; in ice_realloc_rx_xdp_bufs()
Dice_txrx.h268 struct xdp_buff **xdp_buf; member
Dice_txrx.c429 memset(rx_ring->xdp_buf, 0, array_size(rx_ring->count, sizeof(*rx_ring->xdp_buf))); in ice_clean_rx_ring()
459 kfree(rx_ring->xdp_buf); in ice_free_rx_ring()
460 rx_ring->xdp_buf = NULL; in ice_free_rx_ring()
/drivers/net/ethernet/marvell/
Dmvneta.c2428 struct xdp_buff xdp_buf; in mvneta_rx_swbm() local
2430 xdp_init_buff(&xdp_buf, PAGE_SIZE, &rxq->xdp_rxq); in mvneta_rx_swbm()
2431 xdp_buf.data_hard_start = NULL; in mvneta_rx_swbm()
2463 mvneta_swbm_rx_frame(pp, rx_desc, rxq, &xdp_buf, in mvneta_rx_swbm()
2466 if (unlikely(!xdp_buf.data_hard_start)) { in mvneta_rx_swbm()
2473 mvneta_swbm_add_rx_fragment(pp, rx_desc, rxq, &xdp_buf, in mvneta_rx_swbm()
2482 mvneta_xdp_put_buff(pp, rxq, &xdp_buf, -1); in mvneta_rx_swbm()
2487 mvneta_run_xdp(pp, rxq, xdp_prog, &xdp_buf, frame_sz, &ps)) in mvneta_rx_swbm()
2490 skb = mvneta_swbm_build_skb(pp, rxq->page_pool, &xdp_buf, desc_status); in mvneta_rx_swbm()
2494 mvneta_xdp_put_buff(pp, rxq, &xdp_buf, -1); in mvneta_rx_swbm()
[all …]