Re: [RFC PATCH 05/24] bpf: added bpf_xdpsk_redirect

2018-02-07 Thread Björn Töpel
2018-02-05 14:42 GMT+01:00 Jesper Dangaard Brouer : > On Wed, 31 Jan 2018 14:53:37 +0100 Björn Töpel wrote: > >> The bpf_xdpsk_redirect call redirects the XDP context to the XDP >> socket bound to the receiving queue (if any). > > As I explained in-person at FOSDEM, my suggestion is to use the > b

Re: [RFC PATCH 05/24] bpf: added bpf_xdpsk_redirect

2018-02-05 Thread Jesper Dangaard Brouer
On Wed, 31 Jan 2018 14:53:37 +0100 Björn Töpel wrote: > The bpf_xdpsk_redirect call redirects the XDP context to the XDP > socket bound to the receiving queue (if any). As I explained in-person at FOSDEM, my suggestion is to use the bpf-map infrastructure for AF_XDP redirect, but people on this

[RFC PATCH 05/24] bpf: added bpf_xdpsk_redirect

2018-01-31 Thread Björn Töpel
From: Björn Töpel The bpf_xdpsk_redirect call redirects the XDP context to the XDP socket bound to the receiving queue (if any). Signed-off-by: Björn Töpel --- include/uapi/linux/bpf.h | 6 +- net/core/filter.c | 24 tools/