]> www.infradead.org Git - linux.git/commit
net/mlx5e: Use extack in get coalesce callback
authorGal Pressman <gal@nvidia.com>
Thu, 8 Aug 2024 05:59:23 +0000 (08:59 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:13:15 +0000 (22:13 -0700)
commit29a943d71d231e2df81fd3834e75264904a77535
treee762a5b04c25b28fbca5f933d54ae4cf1f3bd020
parentab666b5287e898fcafc0ad1f2d4506cc3a1bfd23
net/mlx5e: Use extack in get coalesce callback

In case of errors in get coalesce, reflect it through extack instead of
a dmesg print.

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-8-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c