summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorMaor Dickman <maord@nvidia.com>2021-01-24 17:21:25 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-01-26 15:38:51 -0800
commit156878d0e697187c7d207ee6c22afe50b7f3678c (patch)
treed6d542961ec1dd65cf2bcbf1198a8846261fde62 /net/switchdev
parent0aa128475d33d2d0095947eeab6b3e4d22dbd578 (diff)
net/mlx5e: Disable hw-tc-offload when MLX5_CLS_ACT config is disabled
The cited commit introduce new CONFIG_MLX5_CLS_ACT kconfig variable to control compilation of TC hardware offloads implementation. When this configuration is disabled the driver is still wrongly reports in ethtool that hw-tc-offload is supported. Fixed by reporting hw-tc-offload is supported only when CONFIG_MLX5_CLS_ACT is enabled. Fixes: d956873f908c ("net/mlx5e: Introduce kconfig var for TC support") Signed-off-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Vlad Buslov <vladbu@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions