Re: [PATCH net-next v2 2/2] vxlan: support GPE/NSH

2016-03-01 Thread Jiri Benc
On Tue, 1 Mar 2016 11:10:40 +, Brian Russell wrote: > I'd like to add the NSH capability on top of your patchset which I see > is currently under review. Or did you have plans to roll out NSH soon > also? If you have something ready, send it to netdev. I want to add NSH support but if others

Re: [PATCH net-next v2 2/2] vxlan: support GPE/NSH

2016-03-01 Thread Brian Russell
On 15/02/16 16:49, Jiri Benc wrote: > On Thu, 11 Feb 2016 19:57:06 +, Brian Russell wrote: >> +skip_l2: >> skb_reset_network_header(skb); >> + >> /* In flow-based mode, GBP is carried in dst_metadata */ >> -if (!(vs->flags & VXLAN_F_COLLECT_METADATA)) >> +if (!(vs->flags &

Re: [PATCH net-next v2 2/2] vxlan: support GPE/NSH

2016-02-15 Thread Jiri Benc
On Thu, 11 Feb 2016 19:57:06 +, Brian Russell wrote: > +skip_l2: > skb_reset_network_header(skb); > + > /* In flow-based mode, GBP is carried in dst_metadata */ > - if (!(vs->flags & VXLAN_F_COLLECT_METADATA)) > + if (!(vs->flags & VXLAN_F_COLLECT_METADATA) && > +

[PATCH net-next v2 2/2] vxlan: support GPE/NSH

2016-02-11 Thread Brian Russell
Support the Generic Protocol Extension to VxLAN which extends VxLAN to allow multi-protocol encapsulation. IPv4, IPv6, MPLS unicast and NSH encapsulated packets can be sent and received in addition to ethernet frames. As defined in: https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-01