Skip to content

Commit ebbd17c

Browse files
pmachatakuba-moo
authored andcommitted
mlxsw: spectrum_router: Add extack argument to mlxsw_sp_lb_rif_init()
The extack will be handy in later patches. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Danielle Ratson <[email protected]> Link: https://lore.kernel.org/r/e87ba300121010d580b80a281877573a7b1377ca.1687438411.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <[email protected]>
1 parent faaa5fd commit ebbd17c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10561,7 +10561,8 @@ static void __mlxsw_sp_router_fini(struct mlxsw_sp *mlxsw_sp)
1056110561
mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rgcr), rgcr_pl);
1056210562
}
1056310563

10564-
static int mlxsw_sp_lb_rif_init(struct mlxsw_sp *mlxsw_sp)
10564+
static int mlxsw_sp_lb_rif_init(struct mlxsw_sp *mlxsw_sp,
10565+
struct netlink_ext_ack *extack)
1056510566
{
1056610567
u16 lb_rif_index;
1056710568
int err;
@@ -10674,7 +10675,7 @@ int mlxsw_sp_router_init(struct mlxsw_sp *mlxsw_sp,
1067410675
if (err)
1067510676
goto err_vrs_init;
1067610677

10677-
err = mlxsw_sp_lb_rif_init(mlxsw_sp);
10678+
err = mlxsw_sp_lb_rif_init(mlxsw_sp, extack);
1067810679
if (err)
1067910680
goto err_lb_rif_init;
1068010681

0 commit comments

Comments
 (0)