From: Paolo Abeni <pabeni@redhat.com> Date: 2016-02-17 18:30:15
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
v2: rebased against current -net
---
drivers/net/geneve.c | 3 ++-
net/openvswitch/vport-vxlan.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
@@ -90,7 +90,7 @@ static struct vport *vxlan_tnl_create(const struct vport_parms *parms)interr;structvxlan_configconf={.no_share=true,-.flags=VXLAN_F_COLLECT_METADATA,+.flags=VXLAN_F_COLLECT_METADATA|VXLAN_F_UDP_ZERO_CSUM6_RX,/* Don't restrict the packets that can be sent by MTU */.mtu=IP_MAX_MTU,};
On Wed, Feb 17, 2016 at 10:30 AM, Paolo Abeni [off-list ref] wrote:
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This is compat code that is being changed here. Based on the previous
discussion, shouldn't these be made the default for all users?
From: Paolo Abeni <pabeni@redhat.com> Date: 2016-02-18 09:42:10
On Wed, 2016-02-17 at 11:19 -0800, Jesse Gross wrote:
On Wed, Feb 17, 2016 at 10:30 AM, Paolo Abeni [off-list ref] wrote:
quoted
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This is compat code that is being changed here. Based on the previous
discussion, shouldn't these be made the default for all users?
This change was initially aimed at a smaller scope: use self consistent
default for ovs lwt devices/tunnel terminations.
If there is agreement, I can post a separate patch changing the default
rx checksum setting for plain vxlan and geneve[1] devices tunneling over
ipv6.
Paolo
[1] according to the ietf draft the geneve devices have the same
checksum requirement than vxlan ones
On Wed, 17 Feb 2016 19:30:01 +0100, Paolo Abeni wrote:
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
On Thu, Feb 18, 2016 at 1:42 AM, Paolo Abeni [off-list ref] wrote:
On Wed, 2016-02-17 at 11:19 -0800, Jesse Gross wrote:
quoted
On Wed, Feb 17, 2016 at 10:30 AM, Paolo Abeni [off-list ref] wrote:
quoted
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This is compat code that is being changed here. Based on the previous
discussion, shouldn't these be made the default for all users?
This change was initially aimed at a smaller scope: use self consistent
default for ovs lwt devices/tunnel terminations.
If there is agreement, I can post a separate patch changing the default
rx checksum setting for plain vxlan and geneve[1] devices tunneling over
ipv6.
OK. I think it's important to do the followup to keep things
consistent but this is fine to start.
Acked-by: Jesse Gross <jesse@kernel.org>
From: David Miller <davem@davemloft.net> Date: 2016-02-19 20:40:33
From: Paolo Abeni <pabeni@redhat.com>
Date: Wed, 17 Feb 2016 19:30:01 +0100
the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>