diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-06-04 06:07:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-25 11:35:58 +0800 |
commit | cedb209bfa5ac33e94cbe49d3c11feefa4f3a48c (patch) | |
tree | fe5d758f913d7669d35b6cdda78b98deca5a5952 /net/Kconfig | |
parent | 5327e985e61e2a58dcb655417a71da21b74707b0 (diff) | |
download | linux-stable-cedb209bfa5ac33e94cbe49d3c11feefa4f3a48c.tar.gz linux-stable-cedb209bfa5ac33e94cbe49d3c11feefa4f3a48c.tar.bz2 linux-stable-cedb209bfa5ac33e94cbe49d3c11feefa4f3a48c.zip |
net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
[ Upstream commit ceae266bf0ae6564ac16d086bf749a096fa90ded ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions