* [PATCH] ipv6: Fix Makefile offload objects
@ 2012-12-16 16:47 Simon Arlott
2012-12-16 16:52 ` Simon Arlott
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Simon Arlott @ 2012-12-16 16:47 UTC (permalink / raw)
To: David Miller; +Cc: Linux Kernel Mailing List, netdev, Vlad Yasevich
The following commit breaks IPv6 TCP transmission for me:
Commit 75fe83c32248d99e6d5fe64155e519b78bb90481
Author: Vlad Yasevich <vyasevic@redhat.com>
Date: Fri Nov 16 09:41:21 2012 +0000
ipv6: Preserve ipv6 functionality needed by NET
This patch fixes the typo "ipv6_offload" which should be
"ipv6-offload".
I don't know why not including the offload modules should
break TCP. Disabling all offload options on the NIC didn't
help. Outgoing pulseaudio traffic kept stalling.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
---
net/ipv6/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile
index 2068ac4..4ea2448 100644
--- a/net/ipv6/Makefile
+++ b/net/ipv6/Makefile
@@ -41,6 +41,6 @@ obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
obj-y += addrconf_core.o exthdrs_core.o
-obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6_offload)
+obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
--
1.7.8.rc3
--
Simon Arlott
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ipv6: Fix Makefile offload objects
2012-12-16 16:47 [PATCH] ipv6: Fix Makefile offload objects Simon Arlott
@ 2012-12-16 16:52 ` Simon Arlott
2012-12-16 17:17 ` David Miller
2012-12-17 15:40 ` Vlad Yasevich
2 siblings, 0 replies; 4+ messages in thread
From: Simon Arlott @ 2012-12-16 16:52 UTC (permalink / raw)
To: netdev
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
On 16/12/12 16:47, Simon Arlott wrote:
> The following commit breaks IPv6 TCP transmission for me:
> Commit 75fe83c32248d99e6d5fe64155e519b78bb90481
> Author: Vlad Yasevich <vyasevic@redhat.com>
> Date: Fri Nov 16 09:41:21 2012 +0000
> ipv6: Preserve ipv6 functionality needed by NET
>
> This patch fixes the typo "ipv6_offload" which should be
> "ipv6-offload".
>
> I don't know why not including the offload modules should
> break TCP. Disabling all offload options on the NIC didn't
> help. Outgoing pulseaudio traffic kept stalling.
Attached packet capture (on the affected host).
--
Simon Arlott
[-- Attachment #2: tcpv6-stalls.pcap.bz2 --]
[-- Type: application/x-bzip, Size: 254391 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ipv6: Fix Makefile offload objects
2012-12-16 16:47 [PATCH] ipv6: Fix Makefile offload objects Simon Arlott
2012-12-16 16:52 ` Simon Arlott
@ 2012-12-16 17:17 ` David Miller
2012-12-17 15:40 ` Vlad Yasevich
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2012-12-16 17:17 UTC (permalink / raw)
To: simon; +Cc: linux-kernel, netdev, vyasevic
From: Simon Arlott <simon@fire.lp0.eu>
Date: Sun, 16 Dec 2012 16:47:50 +0000
> The following commit breaks IPv6 TCP transmission for me:
> Commit 75fe83c32248d99e6d5fe64155e519b78bb90481
> Author: Vlad Yasevich <vyasevic@redhat.com>
> Date: Fri Nov 16 09:41:21 2012 +0000
> ipv6: Preserve ipv6 functionality needed by NET
>
> This patch fixes the typo "ipv6_offload" which should be
> "ipv6-offload".
>
> I don't know why not including the offload modules should
> break TCP. Disabling all offload options on the NIC didn't
> help. Outgoing pulseaudio traffic kept stalling.
>
> Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Applied, since the fix is so obvious.
I'll let Vlad explain why it has such an unexpected
effect.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ipv6: Fix Makefile offload objects
2012-12-16 16:47 [PATCH] ipv6: Fix Makefile offload objects Simon Arlott
2012-12-16 16:52 ` Simon Arlott
2012-12-16 17:17 ` David Miller
@ 2012-12-17 15:40 ` Vlad Yasevich
2 siblings, 0 replies; 4+ messages in thread
From: Vlad Yasevich @ 2012-12-17 15:40 UTC (permalink / raw)
To: Simon Arlott; +Cc: David Miller, Linux Kernel Mailing List, netdev
On 12/16/2012 11:47 AM, Simon Arlott wrote:
> The following commit breaks IPv6 TCP transmission for me:
> Commit 75fe83c32248d99e6d5fe64155e519b78bb90481
> Author: Vlad Yasevich <vyasevic@redhat.com>
> Date: Fri Nov 16 09:41:21 2012 +0000
> ipv6: Preserve ipv6 functionality needed by NET
>
> This patch fixes the typo "ipv6_offload" which should be
> "ipv6-offload".
>
> I don't know why not including the offload modules should
> break TCP. Disabling all offload options on the NIC didn't
> help. Outgoing pulseaudio traffic kept stalling.
Did you restart your application to restart the socket?\
The trouble is that whe GSO is turned on, we try to perform
it on output. If the output path can't find the gso handler
for the protocol (in your case tcp over IPv6), it drops the
packet. This causes tcp to retransmit eventually withough GSO.
If you were in a VM, GSO is always used even though you might
disable it on the interface with ethtool. The only way I've been
able to disable it when using virtio driver is by passing gso=0
parameter to the module.
-vlad
>
> Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
> ---
> net/ipv6/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile
> index 2068ac4..4ea2448 100644
> --- a/net/ipv6/Makefile
> +++ b/net/ipv6/Makefile
> @@ -41,6 +41,6 @@ obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
> obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
>
> obj-y += addrconf_core.o exthdrs_core.o
> -obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6_offload)
> +obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
>
> obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-17 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16 16:47 [PATCH] ipv6: Fix Makefile offload objects Simon Arlott
2012-12-16 16:52 ` Simon Arlott
2012-12-16 17:17 ` David Miller
2012-12-17 15:40 ` Vlad Yasevich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).