[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110517.172630.1789843473242620898.davem@davemloft.net>
Date: Tue, 17 May 2011 17:26:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: eric.dumazet@...il.com, therbert@...gle.com, netdev@...r.kernel.org
Subject: Re: small RPS cache for fragments?
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Tue, 17 May 2011 22:13:42 +0100
> On Tue, 2011-05-17 at 17:10 -0400, David Miller wrote:
>> That's true, but one could also argue that in the existing code at least
>> one of the packets (the one with the UDP header) would make it to the
>> proper flow cpu.
>
> No, we ignore the layer-4 header when either MF or OFFSET is non-zero.
That's right and I now remember we had quite a discussion about this
in the past.
So IP/saddr/daddr keying is out of the question due to reordering
concerns.
The idea to do RFS post fragmentation is interesting, it's sort of
another form of GRO. We would need to re-fragment (like GRO does)
in the forwarding case.
But it would be nice since it would reduce the number of calls into
the stack (and thus route lookups, etc.) per fragmented frame.
There is of course the issue of fragmentation queue timeouts, and
what semantics of that means when we are not the final destination
and those fragments would have been forwarded rather than consumed
by us.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists