Commit Graph

4 Commits (9b9b6aa2ce9d07ceb55537a10196a40655e43562)

Author SHA1 Message Date
Eric Leblond b9351339a2 ebpf: fix gre encapsulation in xdp_lb
The xdp_lb was not handling correctly the GRE load balancing
and it was not supporting the GRE + ERSPAN that is used by
some aggregator devices.
4 years ago
Eric Leblond dfe5785bfa ebpf: avoid need of 32 bit header
Compilation of xdp_lb.c was failing in some case with the following
error:

/usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found

This patch add some define to be able to skip recursive inclusion of
header files leading to the problem.
4 years ago
Eric Leblond e0e3cc7cc2 ebpf: add tunnel aware load balancing
This patch decapsulates GRE tunnel in xdp_lb
6 years ago
Eric Leblond a536852526 ebpf: add XDP load balancing code
This patch uses CPU redirect map to do load balancing. This is a
simplified version of xdp_filter that includes code for bypass.
6 years ago