Re: [PATCH RFC net-next v4 4/7] net: use skb->csum_not_inet to identify packets needing crc32c

2017-04-29 Thread Tom Herbert
On Thu, Apr 20, 2017 at 6:38 AM, Davide Caratti wrote: > skb->csum_not_inet carries the indication on which algorithm is needed to > compute checksum on skb in the transmit path, when skb->ip_summed is equal > to CHECKSUM_PARTIAL. If skb carries a SCTP packet and crc32c hasn't been > yet written i

[PATCH RFC net-next v4 4/7] net: use skb->csum_not_inet to identify packets needing crc32c

2017-04-20 Thread Davide Caratti
skb->csum_not_inet carries the indication on which algorithm is needed to compute checksum on skb in the transmit path, when skb->ip_summed is equal to CHECKSUM_PARTIAL. If skb carries a SCTP packet and crc32c hasn't been yet written in L4 header, skb->csum_not_inet is assigned to 1; otherwise, ass