]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Improve error messages in term table creation
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sat, 6 Feb 2021 13:44:53 +0000 (15:44 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 20 Apr 2021 03:17:18 +0000 (20:17 -0700)
commit26116c78a30563cee2dec1257446ed5ea40341f9
treedd9e7311d85bf2958cfd211945222ef7393dc14e
parent35baa6cd472de48e2313cae25ca2bfd1973aba03
net/mlx5: E-Switch, Improve error messages in term table creation

Add error code to the error messages and removed duplicated message:
if termination table creation failed, we already get an error message
in mlx5_eswitch_termtbl_create, so no need for the additional error print
in the calling function.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c