[Bug 1629053] Comment bridged from LTC Bugzilla
--- Comment From gowrishanka...@in.ibm.com 2018-02-27 02:09 EDT--- With ubuntu 17.10 as kvm hypervisor, I could not reproduce this problem, so it seems to be fixed. Below is the default offload configurations for the virtio-net nic. dev@zesty:~$ ethtool -k enp0s3 Features for enp0s3: rx-checksumming: on [fixed] tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: on tx-tcp-segmentation: off tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: off tx-tcp6-segmentation: on Here is an establishing session packet dump: 01:53:24.475995 52:54:c1:a2:7c:53 > 52:54:c1:a2:7c:54, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 1919, offset 0, flags [DF], proto TCP (6), length 60) 10.0.129.3.46878 > 10.0.129.4.22: Flags [S], cksum 0xe187 (correct), seq 4289434639, win 29200, options [mss 1460,sackOK,TS val 4294939504 ecr 0,nop,wscale 7], length 0 01:53:24.476020 52:54:c1:a2:7c:54 > 52:54:c1:a2:7c:53, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60) 10.0.129.4.22 > 10.0.129.3.46878: Flags [S.], cksum 0x1636 (incorrect -> 0xd213), seq 1650342985, ack 4289434640, win 28960, options [mss 1460,sackOK,TS val 4294930859 ecr 4294939504,nop,wscale 7], length 0 01:53:24.476350 52:54:c1:a2:7c:53 > 52:54:c1:a2:7c:54, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 1920, offset 0, flags [DF], proto TCP (6), length 52) 10.0.129.3.46878 > 10.0.129.4.22: Flags [.], cksum 0x162e (incorrect -> 0x711b), ack 1, win 229, options [nop,nop,TS val 4294939504 ecr 4294930859], length 0 01:53:24.492529 52:54:c1:a2:7c:54 > 52:54:c1:a2:7c:53, ethertype IPv4 (0x0800), length 97: (tos 0x0, ttl 64, id 19942, offset 0, flags [DF], proto TCP (6), length 83) 10.0.129.4.22 > 10.0.129.3.46878: Flags [P.], cksum 0x164d (incorrect -> 0x0f49), seq 1:32, ack 1, win 227, options [nop,nop,TS val 4294930864 ecr 4294939504], length 31 I think, CHECKSUM_UNNECESSARY is being handled correctly for tcp syn, but I do nt have stap set currently in my env. As session gets running without any error, we can close this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629053 Title: ovs bridge breaking TCP between two virtio net devices when checksum offload on To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1629053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1629053] Comment bridged from LTC Bugzilla
--- Comment From gowrishanka...@in.ibm.com 2017-08-08 05:28 EDT--- This bug is reproducible with ubuntu 17.04 (host and guests of same version). Disabling tx csum is the only work around as observed earlier. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629053 Title: ovs bridge breaking TCP between two virtio net devices when checksum offload on To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1629053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1629053] Comment bridged from LTC Bugzilla
--- Comment From lagar...@br.ibm.com 2017-08-07 08:12 EDT--- Hi James, Any updates on this one? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629053 Title: ovs bridge breaking TCP between two virtio net devices when checksum offload on To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1629053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1629053] Comment bridged from LTC Bugzilla
--- Comment From gowrishanka...@in.ibm.com 2016-10-03 10:23 EDT--- Interesting. I ensured that, ovs and kernel upto date, but of no luck. OVS backed virtual nic still fail to establish tcp with tx on. Here is xml for this port: Wrt your xml, I don't think having a dhcp network as you have is anything of concern for the root cause as it is about csum that breaks the session. pkg info: openvswitch-common2.6.0-0ubuntu1 linux-generic 4.8.0.17.27 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629053 Title: ovs bridge breaking TCP between two virtio net devices when checksum offload on To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1629053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1629053] Comment bridged from LTC Bugzilla
--- Comment From gowrishanka...@in.ibm.com 2016-09-30 02:40 EDT--- Irrespective of default csum on/off, having csum=on breaks tcp as checksum_unnecessary / relevant protocol header flag not passed in higher stack , an so tcp eventually drop syn. Could you please check with tx=on enforced and see if tcp completes 3way ?. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629053 Title: ovs bridge breaking TCP between two virtio net devices when checksum offload on To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1629053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs