Re: Large performance regression with 6in4 tunnel (sit)
From: Stephen Rothwell <hidden>
Date: 2016-11-27 02:02:35
Hi Eli, On Sun, 27 Nov 2016 11:54:41 +1100 Stephen Rothwell [off-list ref] wrote:
On Fri, 25 Nov 2016 14:05:04 +0800 Eli Cooper [off-list ref] wrote:quoted
I think this is similar to the bug I fixed in commit ae148b085876 ("ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"). I can reproduce a similar problem by applying xfrm to sit traffic. TSO/GSO packets are dropped when IPSec is enabled, and IPv6 throughput drops to 10s of Kbps. I am not sure if this is the same issue you experienced, but I wrote a patch that fixed at least the issue I had. Could you test the patch I sent to the mailing list just now?Thanks for the patch! Its a bit tricky to test since the problem only occurs in a production machine (I tried reproducing in a VM, but the problem did not occur), but I will try to just rebuild the sit module and see if I can insert the modified one.
OK, I tried your patch and unfortunately, it doesn't seem to have worked ... I still get the large packets dropped and resent smaller. -- Cheers, Stephen Rothwell