On Sat, Nov 26, 2016 at 7:23 PM, Stephen Rothwell <s...@canb.auug.org.au> wrote: > Hi Sven-Haegar, > > On Fri, 25 Nov 2016 05:06:53 +0100 (CET) Sven-Haegar Koch <hae...@sdinet.de> > wrote: >> >> Somehow this problem description really reminds me of a report on >> netdev a bit ago, which the following patch fixed: >> >> commit 9ee6c5dc816aa8256257f2cd4008a9291ec7e985 >> Author: Lance Richardson <lrich...@redhat.com> >> Date: Wed Nov 2 16:36:17 2016 -0400 >> >> ipv4: allow local fragmentation in ip_finish_output_gso() >> >> Some configurations (e.g. geneve interface with default >> MTU of 1500 over an ethernet interface with 1500 MTU) result >> in the transmission of packets that exceed the configured MTU. >> While this should be considered to be a "bad" configuration, >> it is still allowed and should not result in the sending >> of packets that exceed the configured MTU. >> >> Could this be related? >> >> I suppose it would be difficult to test this patch on this machine? > > The kernel I am running on is based on 4.7.8, so the above patch > doesn't come close to applying. Most fo what it is reverting was > introduced in commit 359ebda25aa0 ("net/ipv4: Introduce IPSKB_FRAG_SEGS > bit to inet_skb_parm.flags") in v4.8-rc1.
So I think I have this root caused. The problem seems to be the fact that I chose to use lco_csum when trying to cancel out the inner IP header from the checksum and it turns out that the transport offset is never updated in the case of these tunnels. For now a workaround is to just set tx-gso-partial to off on the interface the tunnel is running over and you should be able to pass traffic without any issues. I have a patch for igb/igbvf that should be out in the next hour or so which should address it. Thanks. - Alex