Re: [GIT]: Networking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Tuesday, August 19, 2008 - 2:27 pm

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Tue, 19 Aug 2008 14:21:57 -0700 (PDT)


Check the regression list entry you were pointed to in another
reply.

But I'll save you some time and I'll explain the problem for you.

We enabled GSO segmentation offload, which is a software variant of
TSO we've had in the tree for ages, when a card can do scatter-gather
and checksumming offloading in HW.  We do this because Lennert
Buytenhek validated with many tests that this consistently decreases
cpu utilization.

However, a user reported that if they NAT'd a remote destination port
using netfilter to a loopback addr:port, then there was a performance
degradation.

Herbert discovered the cause, which was multi-fold.  And smashing the
SKB checksum and not indicating TSO capability in loopback was the end
cause.

Loopback should enable TSO for other reasons, not just to fix this
bug.  If loopback says it can do TSO then the TSO packet gets passed
straight through to the receive side, and our entire stack has been
able to handle that for years.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT]: Networking, David Miller, (Tue Aug 19, 4:17 am)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 10:03 am)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 11:27 am)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 1:14 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 1:47 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 1:54 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:04 pm)
Re: [GIT]: Networking, Evgeniy Polyakov, (Tue Aug 19, 2:15 pm)
Re: [GIT]: Networking, Rafael J. Wysocki, (Tue Aug 19, 2:15 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:21 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:21 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:27 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:28 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:31 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:33 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:35 pm)
Re: [GIT]: Networking, Denys Fedoryshchenko, (Tue Aug 19, 2:39 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:40 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:46 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 2:50 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 2:56 pm)
Re: [GIT]: Networking, Evgeniy Polyakov, (Tue Aug 19, 3:26 pm)
Re: [GIT]: Networking, Linus Torvalds, (Tue Aug 19, 3:40 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 3:52 pm)
Re: [GIT]: Networking, Josh Boyer, (Tue Aug 19, 7:25 pm)
Re: [GIT]: Networking, David Miller, (Tue Aug 19, 7:51 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 8:42 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 8:43 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 9:20 pm)
Re: [GIT]: Networking, Willy Tarreau, (Tue Aug 19, 9:20 pm)
Re: [GIT]: Networking, david, (Tue Aug 19, 9:47 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 10:22 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 10:38 pm)
Re: [GIT]: Networking, Marcel Holtmann, (Tue Aug 19, 11:15 pm)
Re: [GIT]: Networking, Grant Coady, (Tue Aug 19, 11:35 pm)
Re: [GIT]: Networking, John W. Linville, (Wed Aug 20, 7:35 am)
Re: [GIT]: Networking, John W. Linville, (Wed Aug 20, 7:37 am)
Re: [GIT]: Networking, Linus Torvalds, (Wed Aug 20, 8:30 am)
Re: [GIT]: Networking, Marcel Holtmann, (Wed Aug 20, 8:40 am)
Re: [GIT]: Networking, Linus Torvalds, (Wed Aug 20, 9:09 am)
Re: [GIT]: Networking, Jiri Kosina, (Wed Aug 20, 9:46 am)
Re: [GIT]: Networking, Marcel Holtmann, (Wed Aug 20, 10:33 am)
Re: [GIT]: Networking, Paolo Ciarrocchi, (Wed Aug 20, 11:50 am)