RE: [EXT] Re: [PATCH 1/1] net: fec: add initial XDP support

Shenwei Wang
2022-10-04T13:34:12Z

> -----Original Message-----
> From: Shenwei Wang
> Sent: Tuesday, October 4, 2022 8:13 AM
> To: Jesper Dangaard Brouer <jbrouer@redhat.com>; Andrew Lunn
...
> I haven't tested xdp_rxq_info yet, and will have a try sometime later today.
> However, for the XDP_DROP test, I did try xdp2 test case, and the testing result
> looks reasonable. The performance of Native mode is much higher than skb-
> mode.
>
> # xdp2 eth0
> proto 0: 475362 pkt/s
>
> # xdp2 -S eth0 (page_pool_release_page solution)
> proto 17: 71999 pkt/s
>
> # xdp2 -S eth0 (skb_mark_for_recycle solution)
> proto 17: 72228 pkt/s
>

Correction for xdp2 -S eth0 (skb_mark_for_recycle solution)
proto 0: 0 pkt/s
proto 17: 122473 pkt/s

Thanks,
Shenwei