Thread (26 messages) 26 messages, 5 authors, 2023-08-09

RE: [PATCH V3 net-next] net: fec: add XDP_TX feature support

From: Wei Fang <wei.fang@nxp.com>
Date: 2023-08-08 00:20:01
Also in: bpf, lkml

On Mon, 7 Aug 2023 10:30:34 +0000 Wei Fang wrote:
quoted
./xdp_rxq_info --dev eth0 --action XDP_TX Running XDP on dev:eth0
(ifindex:2) action:XDP_TX options:swapmac
XDP stats       CPU     pps         issue-pps
XDP-RX CPU      0       259,102     0
XDP-RX CPU      total   259,102
quoted
Result 2: dma_sync_len method
Running XDP on dev:eth0 (ifindex:2) action:XDP_TX options:swapmac
XDP stats       CPU     pps         issue-pps
XDP-RX CPU      0       258,254     0
XDP-RX CPU      total   258,254
Just to be clear are these number with xdp_return_frame() replaced with
page_pool_put_page(pool, page, 0, true); ?
Yes, I used the page_pool_put_page() to instead of xdp_return_frame() when
I tried the "dma_sync_len" method.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help