Searched refs:xdp_buf (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_xsk.c | 17 return &rx_ring->xdp_buf[idx]; in ice_xdp_buf() 343 size_t elem_size = pool_present ? sizeof(*rx_ring->xdp_buf) : in ice_realloc_rx_xdp_bufs() 353 rx_ring->xdp_buf = sw_ring; in ice_realloc_rx_xdp_bufs() 355 kfree(rx_ring->xdp_buf); in ice_realloc_rx_xdp_bufs() 356 rx_ring->xdp_buf = NULL; in ice_realloc_rx_xdp_bufs()
|
A D | ice_txrx.h | 319 struct xdp_buff **xdp_buf; member
|
A D | ice_txrx.c | 430 memset(rx_ring->xdp_buf, 0, array_size(rx_ring->count, sizeof(*rx_ring->xdp_buf))); in ice_clean_rx_ring() 461 kfree(rx_ring->xdp_buf); in ice_free_rx_ring() 462 rx_ring->xdp_buf = NULL; in ice_free_rx_ring()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/ |
A D | mvneta.c | 2428 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() 2494 mvneta_xdp_put_buff(pp, rxq, &xdp_buf, -1); in mvneta_rx_swbm() 2510 xdp_buf.data_hard_start = NULL; in mvneta_rx_swbm() 2513 if (xdp_buf.data_hard_start) in mvneta_rx_swbm() [all …]
|
Completed in 33 milliseconds