Christoph Hellwig wrote:
On Sat, Feb 24, 2007 at 04:44:23PM -0800, [EMAIL PROTECTED] wrote:
From: Divy Le Ray <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/