net/mlx5e: rework ct offload init messages
authorAriel Levkovich <lariel@mellanox.com>
Thu, 7 May 2020 16:11:27 +0000 (19:11 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 23 Sep 2020 22:44:36 +0000 (15:44 -0700)
commit211a536485f7f1d0bb48781ac629fa0613f55f78
tree9515421bd101617e89e24c61d5c932c8ab7aacf1
parentc75690972228ac300f5645184d5dece1d352c1af
net/mlx5e: rework ct offload init messages

The changes are:
- Use mlx5_core print macros instead of netdev_warn since
  netdev is not always initialized at that stage.

- Print a warning message in case the issue is with lack of
  support for CT offload without indicating an error.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c