Re: [PATCH bpf-next 3/3] libbpf, xsk: select AF_XDP BPF program based on kernel version

2021-01-26 Thread Jesper Dangaard Brouer
On Fri, 22 Jan 2021 11:53:51 +0100 Björn Töpel wrote: > From: Björn Töpel > > Add detection for kernel version, and adapt the BPF program based on > kernel support. This way, users will get the best possible performance > from the BPF program. You say "detection for kernel version", but doesn'

Re: [PATCH bpf-next 3/3] libbpf, xsk: select AF_XDP BPF program based on kernel version

2021-01-25 Thread Daniel Borkmann
On 1/22/21 11:53 AM, Björn Töpel wrote: From: Björn Töpel Add detection for kernel version, and adapt the BPF program based on kernel support. This way, users will get the best possible performance from the BPF program. Reviewed-by: Maciej Fijalkowski Acked-by: Maciej Fijalkowski Signed-off-

[PATCH bpf-next 3/3] libbpf, xsk: select AF_XDP BPF program based on kernel version

2021-01-22 Thread Björn Töpel
From: Björn Töpel Add detection for kernel version, and adapt the BPF program based on kernel support. This way, users will get the best possible performance from the BPF program. Reviewed-by: Maciej Fijalkowski Acked-by: Maciej Fijalkowski Signed-off-by: Björn Töpel Signed-off-by: Marek Majt