Results 1 to 2 of 2
Hello everyone, I'm working on a programmable NetFPGA card and what I'm trying to do is checksum offload. The drivers officially don't support this feature, but I'm changing the code ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-19-2012 #1
- Join Date
- Oct 2011
Enabling IP/TCP offload on a NIC that doesn't support it
I'm working on a programmable NetFPGA card and what I'm trying to do is checksum offload. The drivers officially don't support this feature, but I'm changing the code on the hardware level so that the card automatically computes checksum for incoming packets and drops the corrupt ones.
Now, what I have to do is somehow tell the kernel not to compute checksum again, since it's already being done by the nic.
The point is, if I try to use ethtool to enable checksum offload, it tells me the nic doesn't support offload.
Well, actually it does, I just don't know how to tell the OS.
Can anybody help me on this? My dream would be a way to force ethtool and enable offload, bypassing the "unsupported" error message.
- 03-19-2012 #2
kernel programming is not my field of expertise.
But fwiw, you might get the answer from looking at the sourcecode of e.g. the intel e1000 kernel module, which does have the tcp offload feature.
Last edited by Irithori; 03-19-2012 at 05:54 PM.You must always face the curtain with a bow.