Re: [PATCH v2] vlan: Keep NETIF_F_HW_CSUM similar to other software devices

2017-05-08 Thread David Miller
From: Vladislav Yasevich Date: Fri, 5 May 2017 16:17:41 -0400 > Vlan devices, like all other software devices, enable > NETIF_F_HW_CSUM feature. However, unlike all the othe other > software devices, vlans will switch to using IP|IPV6_CSUM > features, if the underlying devices uses them. In th

Re: [PATCH v2] vlan: Keep NETIF_F_HW_CSUM similar to other software devices

2017-05-05 Thread Alexander Duyck
On Fri, May 5, 2017 at 1:17 PM, Vladislav Yasevich wrote: > Vlan devices, like all other software devices, enable > NETIF_F_HW_CSUM feature. However, unlike all the othe other > software devices, vlans will switch to using IP|IPV6_CSUM > features, if the underlying devices uses them. In these si

[PATCH v2] vlan: Keep NETIF_F_HW_CSUM similar to other software devices

2017-05-05 Thread Vladislav Yasevich
Vlan devices, like all other software devices, enable NETIF_F_HW_CSUM feature. However, unlike all the othe other software devices, vlans will switch to using IP|IPV6_CSUM features, if the underlying devices uses them. In these situations, checksum offload features on the vlan device can't be con