Skip to contentSkip to conversation

Limit skb to be less than 64K with TSO

DISCUSSION Alan Shih 1 participant 1 message Jul 22, 2003

lore
Share & tools
lore

Alan Shih

author
#0 lore raw

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