RE: Should driver set CHECKSUM_COMPLETE for TCP pakcets

2015-08-17 Thread Yuval Mintz
Consider a device that doesn't provide the complete checksum for entire Rx packets, but does verify the checksums for several protocols. Now, assuming the HW is capable of verifying TCP checksums - Should the driver calculate the pseudo TCP checksum for such packets and pass those as COMPLETE? Or

Should driver set CHECKSUM_COMPLETE for TCP pakcets

2015-08-17 Thread Yuval Mintz
Consider a device that doesn't provide the complete checksum for entire Rx packets, but does verify the checksums for several protocols. Now, assuming the HW is capable of verifying TCP checksums - Should the driver calculate the pseudo TCP checksum for such packets and pass those as COMPLETE? Or