Skip to content

Commit 5afef67

Browse files
pmachatadavem330
authored andcommitted
mlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure()
In commit 2602922 ("mlxsw: spectrum_router: Propagate extack further"), the mlxsw_sp_rif_ops.configure callback got a new argument, extack. However the callbacks that deal with tunnel configuration, mlxsw_sp1_rif_ipip_lb_configure() and mlxsw_sp2_rif_ipip_lb_configure(), were never updated to pass the parameter further. Do that now. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent be35db1 commit 5afef67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9724,7 +9724,7 @@ mlxsw_sp1_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif,
97249724
struct mlxsw_sp_vr *ul_vr;
97259725
int err;
97269726

9727-
ul_vr = mlxsw_sp_vr_get(mlxsw_sp, ul_tb_id, NULL);
9727+
ul_vr = mlxsw_sp_vr_get(mlxsw_sp, ul_tb_id, extack);
97289728
if (IS_ERR(ul_vr))
97299729
return PTR_ERR(ul_vr);
97309730

@@ -9923,7 +9923,7 @@ mlxsw_sp2_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif,
99239923
struct mlxsw_sp_rif *ul_rif;
99249924
int err;
99259925

9926-
ul_rif = mlxsw_sp_ul_rif_get(mlxsw_sp, ul_tb_id, NULL);
9926+
ul_rif = mlxsw_sp_ul_rif_get(mlxsw_sp, ul_tb_id, extack);
99279927
if (IS_ERR(ul_rif))
99289928
return PTR_ERR(ul_rif);
99299929

0 commit comments

Comments
 (0)