Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Enabling IP/TCP offload on a NIC that doesn't support it

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

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009

    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.

    Edit: Url
    Last edited by Irithori; 03-19-2012 at 05:54 PM.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts