[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389112461.26646.29.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 07 Jan 2014 08:34:21 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Or Gerlitz <ogerlitz@...lanox.com>
Cc: hkchu@...gle.com, edumazet@...gle.com, herbert@...dor.apana.org.au,
netdev@...r.kernel.org, davem@...emloft.net, yanb@...lanox.com,
shlomop@...lanox.com
Subject: Re: [PATCH net-next V2 3/3] net: Add GRO support for vxlan traffic
On Tue, 2014-01-07 at 17:29 +0200, Or Gerlitz wrote:
> Add gro handlers for vxlan using the udp gro infrastructure
>
> static void vxlan_notify_add_rx_port(struct sock *sk)
> {
> @@ -568,6 +661,8 @@ static void vxlan_notify_add_rx_port(struct sock *sk)
> dev->netdev_ops->ndo_add_vxlan_port(dev, sa_family,
> port);
> }
> + if (sa_family == AF_INET)
> + udp_add_offload(&vxlan_offload, port);
> rcu_read_unlock();
> }
>
This means two vxlan tunnels can not share same port.
Is that a valid assertion ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists