On 18/12/15 19:41, Tom Herbert wrote:
> Drivers indicate that can do NETIF_F_IP[V6]_CSUM for encapsulation by
> setting enc_features. This is checked in validate_xmit_skb so that if
> drive can't handle encapsulated checksum skb_checksum_help is called
> there.
In that case, why is udp_set_csum eve
From: Tom Herbert
Date: Thu, 17 Dec 2015 10:06:13 -0800
> On Thu, Dec 17, 2015 at 7:27 AM, Edward Cree wrote:
>> When the inner packet checksum is offloaded, the outer UDP checksum is easy
>> to calculate as it doesn't depend on the payload (because the inner checksum
>> cancels out everything
On Fri, Dec 18, 2015 at 2:41 AM, Edward Cree wrote:
> On 17/12/15 18:06, Tom Herbert wrote:
>> I'm not sure that we need bits in VXLAN or any other encapsulation. It
>> should be sufficient in udp_set_csum that if we already have
>> CHECKSUM_PARTIAL that can always be used to do local checksum off
On 17/12/15 18:06, Tom Herbert wrote:
> I'm not sure that we need bits in VXLAN or any other encapsulation. It
> should be sufficient in udp_set_csum that if we already have
> CHECKSUM_PARTIAL that can always be used to do local checksum offload.
My understandingis that otherwise iptunnel_handle_of
On Thu, Dec 17, 2015 at 7:27 AM, Edward Cree wrote:
> When the inner packet checksum is offloaded, the outer UDP checksum is easy
> to calculate as it doesn't depend on the payload (because the inner checksum
> cancels out everything from the inner packet except the pseudo header).
> Thus, trans
When the inner packet checksum is offloaded, the outer UDP checksum is easy
to calculate as it doesn't depend on the payload (because the inner checksum
cancels out everything from the inner packet except the pseudo header).
Thus, transmit checksums for VXLAN (and in principle other encapsulation
When the inner packet checksum is offloaded, the outer UDP checksum is easy
to calculate as it doesn't depend on the payload (because the inner checksum
cancels out everything from the inner packet except the pseudo header).
Thus, transmit checksums for VXLAN (and in principle other encapsulation