Re: [PATCH] samples/bpf: Add tunnel set/get tests.

2016-08-19 Thread William Tu
Thanks, I've submitted newer version. On Thu, Aug 18, 2016 at 9:10 PM, David Miller wrote: > From: William Tu > Date: Tue, 16 Aug 2016 07:03:01 -0700 > >> The patch creates sample code exercising bpf_skb_{set,get}_tunnel_key, >> and bpf_skb_{set,get}_tunnel_opt for GRE, VXLAN, and GENEVE. A nat

Re: [PATCH] samples/bpf: Add tunnel set/get tests.

2016-08-18 Thread David Miller
From: William Tu Date: Tue, 16 Aug 2016 07:03:01 -0700 > The patch creates sample code exercising bpf_skb_{set,get}_tunnel_key, > and bpf_skb_{set,get}_tunnel_opt for GRE, VXLAN, and GENEVE. A native > tunnel device is created in a namespace to interact with a lwtunnel > device out of the namesp

Re: [PATCH] samples/bpf: Add tunnel set/get tests.

2016-08-16 Thread Alexei Starovoitov
On Tue, Aug 16, 2016 at 07:03:01AM -0700, William Tu wrote: > The patch creates sample code exercising bpf_skb_{set,get}_tunnel_key, > and bpf_skb_{set,get}_tunnel_opt for GRE, VXLAN, and GENEVE. A native > tunnel device is created in a namespace to interact with a lwtunnel > device out of the nam

Re: [PATCH] samples/bpf: Add tunnel set/get tests.

2016-08-16 Thread Daniel Borkmann
On 08/16/2016 04:03 PM, William Tu wrote: The patch creates sample code exercising bpf_skb_{set,get}_tunnel_key, and bpf_skb_{set,get}_tunnel_opt for GRE, VXLAN, and GENEVE. A native tunnel device is created in a namespace to interact with a lwtunnel device out of the namespace, with metadata en

[PATCH] samples/bpf: Add tunnel set/get tests.

2016-08-16 Thread William Tu
The patch creates sample code exercising bpf_skb_{set,get}_tunnel_key, and bpf_skb_{set,get}_tunnel_opt for GRE, VXLAN, and GENEVE. A native tunnel device is created in a namespace to interact with a lwtunnel device out of the namespace, with metadata enabled. The bpf_skb_set_* program is attache