OSDN Git Service

net/mlx5e: Avoid warning print when not required
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 24 May 2019 19:24:43 +0000 (12:24 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Jul 2019 23:40:23 +0000 (16:40 -0700)
commit4240196776572a133a54d631ce18b447279af2b5
treed38e6dda778a56a5c2a94d66b987d80783d54c57
parent842a2eb28f14b184c7a653448f402f5273e6ff5c
net/mlx5e: Avoid warning print when not required

When disabling CQE compression in favor of time-stamping, don't show a
warning when CQE compression is already disabled.

Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c