lkml.org 
[lkml]   [2007]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/7] cxgb3 - Add SW LRO support
Christoph Hellwig wrote:
> On Sat, Feb 24, 2007 at 04:44:23PM -0800, divy@chelsio.com wrote:
>
>> From: Divy Le Ray <divy@chelsio.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-27 02:01    [W:0.109 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site