> On Mon, 7 Aug 2023 10:30:34 +0000 Wei Fang wrote: > > ./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 > > > 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.