summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-03-08 15:59:48 +0300
committerJakub Kicinski <kuba@kernel.org>2024-03-12 00:14:07 +0300
commit8acb480e43c81bc72b528677084428cf2dc7a12c (patch)
treebea32faa447f236695c7c71965ecb9a0d82c7ca3 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parent64f962c65fe3a35ccd92557b6e3a45f327ad602a (diff)
downloadlinux-8acb480e43c81bc72b528677084428cf2dc7a12c.tar.xz
mlxsw: spectrum_router: Have mlxsw_sp_nexthop_counter_enable() return int
In order to be able to diagnose failures in counter allocation, have the function mlxsw_sp_nexthop_counter_enable() return an error code. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://lore.kernel.org/r/e0bb5c0cc6234ade2ade1e92abac991359c3f446.1709901020.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions