summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_redirect_cpu_kern.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-07-12 06:36:44 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-13 21:26:35 +0300
commit5f4284015e29c2de501d83eb647c8ec8802b58ac (patch)
treef120761a4cd62a3daea86c6fe5450720dcd7888a /samples/bpf/xdp_redirect_cpu_kern.c
parent99dadb6e3ec130800d199ec42fff03242b1be1eb (diff)
downloadlinux-5f4284015e29c2de501d83eb647c8ec8802b58ac.tar.xz
nfp: add support for simultaneous driver and hw XDP
Split handling of offloaded and driver programs completely. Since offloaded programs always come with XDP_FLAGS_HW_MODE set in reality there could be no sharing, anyway, programs would only be installed in driver or in hardware. Splitting the handling allows us to install programs in HW and in driver at the same time. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_redirect_cpu_kern.c')
0 files changed, 0 insertions, 0 deletions