summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2019-06-04 06:07:34 +0000
committerDavid S. Miller <davem@davemloft.net>2019-06-04 20:01:15 -0700
commitceae266bf0ae6564ac16d086bf749a096fa90ded (patch)
treed2938a48d47ca100455c5d4be98b77d8eb2b8f95 /net
parent82ba25c6de200d7a9e9c970c998cdd6dfa8637ae (diff)
downloadlinux-ceae266bf0ae6564ac16d086bf749a096fa90ded.tar.bz2
net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
There's some NICs, such as hinic, with NETIF_F_IP_CSUM and NETIF_F_TSO on but NETIF_F_HW_CSUM off. And ipvlan device features will be NETIF_F_TSO on with NETIF_F_IP_CSUM and NETIF_F_IP_CSUM both off as IPVLAN_FEATURES only care about NETIF_F_HW_CSUM. So TSO will be disabled in netdev_fix_features. For example: Features for enp129s0f0: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on Fixes: a188222b6ed2 ("net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK") Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions