Hi Grant, I tried to enable this before without success. I agree that its a waste of processor time when it can be performed in hardware. Must we look at the latest BSD code to see how to implement this?
...Laurie:{) On 07/06/2011, at 5:34 AM, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > How do you tell the eCos network API that IP/TCP/UDP checksumming is > handled by hardware? I've found the if_data.ifi_hwassist field, but > I'm not positive it really does what I want, and it only seems to > affect the tx side of the stack. > > Does if_data.ifi_hwassist tell ip_output.c to skil checkums in tx > packets and let the hardware do it? > > How do you tell the rx side of the stack that it doesn't need to check > IP, UDP, and TCP checksums (the hardware will discard any packets with > invalid checksums). > > It seems a shame to not support for HW checksum offloading when it's > gotten to the point where even a $4 uController has IP checksum > offloading HW. > > -- > Grant Edwards grant.b.edwards Yow! Eisenhower!! Your > at mimeograph machine upsets > gmail.com my stomach!! > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss