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)
commit25cb317680422f199ec6ac6ba359eb98f2748429
treedd9e7311d85bf2958cfd211945222ef7393dc14e
parentff1925bb0de4c6e657e40e2c0d5ecf0fabbfbdd3
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