[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45E38181.5030409@chelsio.com>
Date: Mon, 26 Feb 2007 16:55:29 -0800
From: Divy Le Ray <divy@...lsio.com>
To: Christoph Hellwig <hch@...radead.org>, divy@...lsio.com,
jeff@...zik.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, swise@...ngridcomputing.com
Subject: Re: [PATCH 7/7] cxgb3 - Add SW LRO support
Christoph Hellwig wrote:
> On Sat, Feb 24, 2007 at 04:44:23PM -0800, divy@...lsio.com wrote:
>
>> From: Divy Le Ray <divy@...lsio.com>
>>
>> Add all-in-sw lro support.
>>
>
> Doing this in a LLDD doesn't sound like a good idea. Have you
> tried doing this in the core networking code instead?
>
We have not tried to implement LRO in the core networking code.
Today, the available API for a driver to pass packets up is
netif_receive_skb/netif_rx.
Our implementation coalesces pages, then gets a skb to point at the
pages and passes it up to the stack.
LRO in the core networking code would require adding methods to pass up
data segments in addition to skbs.
HW might also be able to assist LRO by identifying the session an
incoming packet belongs to,
thus avoiding the session lookup. The API should also allow for the
driver to indicate such info.
Cheers,
Divy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists