]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Use extack in set coalesce callback
authorGal Pressman <gal@nvidia.com>
Thu, 8 Aug 2024 05:59:24 +0000 (08:59 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:13:15 +0000 (22:13 -0700)
commit9c4298b466b19651203c8c8847fcbfe3e37ef6b7
treede28a661e374fecf4cda3eec609b639ed3b38e93
parent29a943d71d231e2df81fd3834e75264904a77535
net/mlx5e: Use extack in set coalesce callback

In case of errors in set coalesce, reflect it through extack instead of
a dmesg print.
While at it, make the messages more human friendly.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20240808055927.2059700-9-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c