Re: [RFT] geneve: implement support for IPv6-based tunnels

2015-09-29 Thread Jiri Benc
On Mon, 28 Sep 2015 15:20:33 -0400, John W. Linville wrote: > > To be really useful, geneve should open both IPv4 and IPv6 socket when > > it's metadata based. Take a look at my recent patchset that does this > > for vxlan: http://thread.gmane.org/gmane.linux.network/379282 > > OK, that seems

Re: [RFT] geneve: implement support for IPv6-based tunnels

2015-09-28 Thread John W. Linville
On Fri, Sep 25, 2015 at 02:08:44PM +0200, Jiri Benc wrote: > On Thu, 24 Sep 2015 14:34:42 -0400, John W. Linville wrote: > > +#if IS_ENABLED(CONFIG_IPV6) > > +static netdev_tx_t geneve6_xmit_skb(struct sk_buff *skb, struct net_device > > *dev) > > +{ > > + struct geneve_dev *geneve =

Re: [RFT] geneve: implement support for IPv6-based tunnels

2015-09-25 Thread Jiri Benc
On Thu, 24 Sep 2015 14:34:42 -0400, John W. Linville wrote: > +#if IS_ENABLED(CONFIG_IPV6) > +static netdev_tx_t geneve6_xmit_skb(struct sk_buff *skb, struct net_device > *dev) > +{ > + struct geneve_dev *geneve = netdev_priv(dev); > + struct geneve_sock *gs = geneve->sock; > + struct

[RFT] geneve: implement support for IPv6-based tunnels

2015-09-24 Thread John W. Linville
Signed-off-by: John W. Linville --- The IPv6 tunnel_info/metadata paths are untested due to lack of OVS infrastructure for testing. The traditional netdev paths have had reasonable testing by me with some local virt guests over the past few weeks. NOTE -- this patch