]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix conflict with HW TS and CQE compression
authorAya Levin <ayal@nvidia.com>
Mon, 3 May 2021 14:16:44 +0000 (17:16 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 2 Jun 2021 01:30:21 +0000 (18:30 -0700)
commit5349cbba754ee54f6cca8b946aa9172f1ac60b8c
tree0b81426b59f653694a38f388b1f64cc6fe3c8290
parent256f79d13c1d1fe53b2b31ab2089b615bbfcd361
net/mlx5e: Fix conflict with HW TS and CQE compression

When a driver's profile doesn't support a dedicated PTP-RQ,
configuration of CQE compression while HW TS is configured should fail.

Fixes: 885b8cfb161e ("net/mlx5e: Update ethtool setting of CQE compression")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c