Re: [PATCH 4/13] cxgb3 - use immediate data for offload Tx

From: Divy Le Ray
Date: Tue Aug 14 2007 - 19:26:07 EST


Jeff Garzik wrote:

Divy Le Ray wrote:
> From: Divy Le Ray <divy@xxxxxxxxxxx>
>
> Send small TX_DATA work requests as immediate data even when
> there are fragments.
>
> Signed-off-by: Divy Le Ray <divy@xxxxxxxxxxx>
> ---
>
> drivers/net/cxgb3/sge.c | 17 +++++++++++------
> 1 files changed, 11 insertions(+), 6 deletions(-)

needs additional explanation. don't just describe the new post-change
behavior, describe why this change is needed.


It's an optimization avoiding doing multiple DMAs for small fragmented packets.
The driver already implements this optimization for small contiguous packets.

Divy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/