[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090130.141531.56578757.davem@davemloft.net>
Date: Fri, 30 Jan 2009 14:15:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: w@....eu
Cc: jarkao2@...il.com, zbr@...emap.net, herbert@...dor.apana.org.au,
dada1@...mosbay.com, ben@...s.com, mingo@...e.hu,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
jens.axboe@...cle.com
Subject: Re: [PATCH v2] tcp: splice as many packets as possible at once
From: Willy Tarreau <w@....eu>
Date: Fri, 30 Jan 2009 23:13:46 +0100
> On Fri, Jan 30, 2009 at 02:03:46PM -0800, David Miller wrote:
> > Any NIC, even the dumbest ones, can be made to receive into pages.
>
> OK I thought that it was not always easy to split between headers
> and payload. I know that myri10ge can be configured to receive into
> either skbs or pages, but I was not sure about the real implications
> behind that.
For a dumb NIC you wouldn't split, you'd receive directly, the
entire packet, into part of a page.
Then right befire you give it to the stack, you pull the ethernet
header from the page into the linear area.
--
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