Re: about rx checksum flags
From: Olivier Matz <hidden>
Date: 2016-06-08 13:02:33
Hi, On 06/08/2016 10:22 AM, Chandran, Sugesh wrote:
quoted
quoted
I guess the IP checksum also important as L4. In some cases, UDP checksum is zero and no need to validate it. But Ip checksum is present on all the packets and that must be validated all the time. At higher packet rate, the ip checksum offload can offer slight performanceimprovement. What do you think??quoted
Agree, in some situations (and this is even more true with packet types / smartnics), the application could process without accessing the packet data if we keep the IP cksum flags.[Sugesh] True, If that's the case, Will you considering to implement IP checksum flags as well along with L4? As you said , this will be useful when we offload packet lookup itself into the NICs(May be when using Flow director) ?
Yes, I plan to implement the same rx status flags (good, bad, unknown, none) for rx IP checksum too. Regards, Olivier