Limit skb to be less than 64K with TSO

From: Alan Shih (alan@storlinksemi.com)
Date: Tue Jul 22 2003 - 11:16:15 EST


I am lost at the following situation:

Env:
I am writing driver + smart NIC's firmware. The smart NIC has limited
memory. It can do checksum and TSO but with 32K max.

Problem:
SKB may be 64K in size when it reaches the driver. I cannot push all 64K to
the NIC to do checksum. Is there a way to limit the network stack to give
me only 32K or smaller segments? If I do checksum in the main processor, it
defeats the purpose.

TIA

Alan

-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:47 EST