Re: [PATCH v2 bpf-next 0/4] L2 encap support for bpf_skb_adjust_room

2019-04-08 Thread Willem de Bruijn
On Mon, Apr 8, 2019 at 12:59 PM Alan Maguire wrote: > > Extend bpf_skb_adjust_room growth to mark inner MAC header so that > L2 encapsulation can be used for tc tunnels. > > Patch #1 extends the existing test_tc_tunnel to support UDP > encapsulation; later we want to be able to test MPLS over UDP

[PATCH v2 bpf-next 0/4] L2 encap support for bpf_skb_adjust_room

2019-04-08 Thread Alan Maguire
Extend bpf_skb_adjust_room growth to mark inner MAC header so that L2 encapsulation can be used for tc tunnels. Patch #1 extends the existing test_tc_tunnel to support UDP encapsulation; later we want to be able to test MPLS over UDP and MPLS over GRE encapsulation. Patch #2 adds the BPF_F_ADJ_RO