]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d290c1675ae927c5954b518bcebc16f8567dcbf
tree9515421bd101617e89e24c61d5c932c8ab7aacf1
parentda288688f2564ff88475a1351161308d9437e03d
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