Re: [PATCH 1/1] bpf: introduce new helper udp_flow_src_port

2019-08-04 Thread Farid Zakaria
ngle abstraction for the src port for UDP tunneling via udp_flow_src_port. If it's improved eBPF filters would benefit if the call is the same. Exposing this function to eBPF programs would maintain feature parity with other kernel tunneling implementations. Farid Zakaria Farid Zakaria On

[PATCH 0/1] bpf: introduce new helper udp_flow_src_port

2019-08-02 Thread Farid Zakaria
_port #31 udp_flow_src_port:OK Summary: 1/0 PASSED, 0 FAILED * shoutout to https://github.com/g2p/vido/blob/master/vido which made testing the kernel + change super easy * (This is my first contribution) Farid Zakaria (1): bpf: introduce new helper udp_flow_src_port include/uapi/linux/

[PATCH 1/1] bpf: introduce new helper udp_flow_src_port

2019-08-02 Thread Farid Zakaria
Foo over UDP uses UDP encapsulation to add additional entropy into the packets so that they get beter distribution across EMCP routes. Expose udp_flow_src_port as a bpf helper so that tunnel filters can benefit from the helper. Signed-off-by: Farid Zakaria --- include/uapi/linux/bpf.h