Home
last modified time | relevance | path

Searched refs:fqe (Results 1 – 3 of 3) sorted by relevance

/linux/include/net/libeth/
H A Drx.h131 static inline bool libeth_rx_sync_for_cpu(const struct libeth_fqe *fqe, in libeth_rx_sync_for_cpu() argument
134 netmem_ref netmem = fqe->netmem; in libeth_rx_sync_for_cpu()
146 fqe->offset, len); in libeth_rx_sync_for_cpu()
H A Dxdp.h1265 const struct libeth_fqe *fqe,
1279 const struct libeth_fqe *fqe, in libeth_xdp_prepare_buff() argument
1282 const struct page *page = __netmem_to_page(fqe->netmem); in libeth_xdp_prepare_buff()
1284 xdp_prepare_buff(&xdp->base, page_address(page) + fqe->offset, in libeth_xdp_prepare_buff()
1286 xdp_init_buff(&xdp->base, fqe->truesize, xdp->base.rxq); in libeth_xdp_prepare_buff()
1304 const struct libeth_fqe *fqe, in libeth_xdp_process_buff() argument
1307 if (!libeth_rx_sync_for_cpu(fqe, len)) in libeth_xdp_process_buff()
1311 return libeth_xdp_buff_add_frag(xdp, fqe, len); in libeth_xdp_process_buff()
1313 libeth_xdp_prepare_buff(xdp, fqe, len); in libeth_xdp_process_buff()
/linux/drivers/net/ethernet/intel/libeth/
H A Dxdp.c262 const struct libeth_fqe *fqe, in libeth_xdp_buff_add_frag() argument
265 netmem_ref netmem = fqe->netmem; in libeth_xdp_buff_add_frag()
268 fqe->offset + netmem_get_pp(netmem)->p.offset, in libeth_xdp_buff_add_frag()
269 len, fqe->truesize)) in libeth_xdp_buff_add_frag()