Re: [PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-08-05 Thread Thomas Graf
On 08/03/15 at 02:14pm, Jesse Gross wrote: > On Fri, Jul 31, 2015 at 8:41 AM, Alexei Starovoitov wrote: > > thanks. I think exposing collect_metadata for vxlan and in the future > > for other tunnel types is the clean enough way, though the other > > alternative would be to get rid of collect_meta

Re: [PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-08-03 Thread Jesse Gross
On Fri, Jul 31, 2015 at 8:41 AM, Alexei Starovoitov wrote: > thanks. I think exposing collect_metadata for vxlan and in the future > for other tunnel types is the clean enough way, though the other > alternative would be to get rid of collect_metadata flag > from the kernel and do it when flowmode

Re: [PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-07-31 Thread David Miller
From: Alexei Starovoitov Date: Thu, 30 Jul 2015 20:10:22 -0700 > Two vxlan driver flags FLOWBASED and COLLECT_METADATA need to be set to > make use of its new flow mode. The former already exposed. Expose the latter. > > Signed-off-by: Alexei Starovoitov Applied. -- To unsubscribe from this li

Re: [PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-07-31 Thread Alexei Starovoitov
On 7/31/15 1:00 AM, Thomas Graf wrote: On 07/30/15 at 08:10pm, Alexei Starovoitov wrote: Two vxlan driver flags FLOWBASED and COLLECT_METADATA need to be set to make use of its new flow mode. The former already exposed. Expose the latter. Signed-off-by: Alexei Starovoitov Since you are analy

Re: [PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-07-31 Thread Thomas Graf
On 07/30/15 at 08:10pm, Alexei Starovoitov wrote: > Two vxlan driver flags FLOWBASED and COLLECT_METADATA need to be set to > make use of its new flow mode. The former already exposed. Expose the latter. > > Signed-off-by: Alexei Starovoitov Since you are analyzing the program when you load it.

[PATCH net-next] vxlan: expose COLLECT_METADATA flag to user space

2015-07-30 Thread Alexei Starovoitov
Two vxlan driver flags FLOWBASED and COLLECT_METADATA need to be set to make use of its new flow mode. The former already exposed. Expose the latter. Signed-off-by: Alexei Starovoitov --- drivers/net/vxlan.c |5 + include/uapi/linux/if_link.h |1 + 2 files changed, 6 inserti