Re: [PATCH RFC net-next v2 3/4] net: more accurate checksumming in validate_xmit_skb

2017-02-28 Thread Tom Herbert
On Tue, Feb 28, 2017 at 2:32 AM, Davide Caratti wrote: > Introduce skb->csum_not_inet to identify not-yet-checksummed SCTP packets. > Use this bit in combination with netdev feature bit in validate_xmit_skb, > to discriminate whether skb needs crc32c or 2-complement Internet Checksum > (or none of

[PATCH RFC net-next v2 3/4] net: more accurate checksumming in validate_xmit_skb

2017-02-28 Thread Davide Caratti
Introduce skb->csum_not_inet to identify not-yet-checksummed SCTP packets. Use this bit in combination with netdev feature bit in validate_xmit_skb, to discriminate whether skb needs crc32c or 2-complement Internet Checksum (or none of the two, when the underlying device can do checksum offload).