Re: [PATCH bpf-next] samples/bpf: optimize l2fwd performance in xdpsock

2020-08-31 Thread Daniel Borkmann
On 8/28/20 2:51 PM, Magnus Karlsson wrote: Optimize the throughput performance of the l2fwd sub-app in the xdpsock sample application by removing a duplicate syscall and increasing the size of the fill ring. The latter needs some further explanation. We recommend that you set the fill ring size

[PATCH bpf-next] samples/bpf: optimize l2fwd performance in xdpsock

2020-08-28 Thread Magnus Karlsson
Optimize the throughput performance of the l2fwd sub-app in the xdpsock sample application by removing a duplicate syscall and increasing the size of the fill ring. The latter needs some further explanation. We recommend that you set the fill ring size >= HW RX ring size + AF_XDP RX ring size. Mak