Andrew Gallatin wrote:
However, there is one more thing I need to account for. Our nic has a "reasonable" limit as to how far into the frame the hcksum start/suff can be (don't ask ...). With multiple IPv6 headers, there could be a case when start/stuff exceeds the limit, and the driver must give up and calculate the checksum in software.
If you are wondering whether the stack will utilize hardware checksum offload for non-simple IPv4/IPv6 packets, then the answer to it is no. If there's any IPv4 option or intermediate IPv6 header then the stack will punt and use software checksum. For a more descriptive set of comments, you can look at IP_CKSUM_XMIT() macro in uts/common/inet/ip_impl.h Adi _______________________________________________ networking-discuss mailing list [email protected]
