summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2021-06-30 12:33:31 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-07-28 01:10:03 +0200
commit9841d58f3550d11c6181424427e8ad8c9c80f1b6 (patch)
tree7faabb33fb3fef2bd9e7d59bb4e732be9eb86655 /drivers/net/ipa
parentnet/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO c... (diff)
downloadlinux-9841d58f3550d11c6181424427e8ad8c9c80f1b6.tar.xz
linux-9841d58f3550d11c6181424427e8ad8c9c80f1b6.zip
net/mlx5e: Add NETIF_F_HW_TC to hw_features when HTB offload is available
If a feature flag is only present in features, but not in hw_features, the user can't reset it. Although hw_features may contain NETIF_F_HW_TC by the point where the driver checks whether HTB offload is supported, this flag is controlled by another condition that may not hold. Set it explicitly to make sure the user can disable it. Fixes: 214baf22870c ("net/mlx5e: Support HTB offload") Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ipa')
0 files changed, 0 insertions, 0 deletions