@@ -2929,21 +2929,6 @@ void mlxsw_sp_port_bridge_leave(struct mlxsw_sp_port *mlxsw_sp_port,
2929
2929
mlxsw_sp_bridge_port_put (mlxsw_sp -> bridge , bridge_port );
2930
2930
}
2931
2931
2932
- int mlxsw_sp_bridge_vxlan_join (struct mlxsw_sp * mlxsw_sp ,
2933
- const struct net_device * br_dev ,
2934
- const struct net_device * vxlan_dev , u16 vid ,
2935
- struct netlink_ext_ack * extack )
2936
- {
2937
- struct mlxsw_sp_bridge_device * bridge_device ;
2938
-
2939
- bridge_device = mlxsw_sp_bridge_device_find (mlxsw_sp -> bridge , br_dev );
2940
- if (WARN_ON (!bridge_device ))
2941
- return - EINVAL ;
2942
-
2943
- return bridge_device -> ops -> vxlan_join (bridge_device , vxlan_dev , vid ,
2944
- extack );
2945
- }
2946
-
2947
2932
static void __mlxsw_sp_bridge_vxlan_leave (struct mlxsw_sp * mlxsw_sp ,
2948
2933
const struct net_device * vxlan_dev )
2949
2934
{
@@ -2963,6 +2948,21 @@ static void __mlxsw_sp_bridge_vxlan_leave(struct mlxsw_sp *mlxsw_sp,
2963
2948
mlxsw_sp_fid_put (fid );
2964
2949
}
2965
2950
2951
+ int mlxsw_sp_bridge_vxlan_join (struct mlxsw_sp * mlxsw_sp ,
2952
+ const struct net_device * br_dev ,
2953
+ const struct net_device * vxlan_dev , u16 vid ,
2954
+ struct netlink_ext_ack * extack )
2955
+ {
2956
+ struct mlxsw_sp_bridge_device * bridge_device ;
2957
+
2958
+ bridge_device = mlxsw_sp_bridge_device_find (mlxsw_sp -> bridge , br_dev );
2959
+ if (WARN_ON (!bridge_device ))
2960
+ return - EINVAL ;
2961
+
2962
+ return bridge_device -> ops -> vxlan_join (bridge_device , vxlan_dev , vid ,
2963
+ extack );
2964
+ }
2965
+
2966
2966
void mlxsw_sp_bridge_vxlan_leave (struct mlxsw_sp * mlxsw_sp ,
2967
2967
const struct net_device * vxlan_dev )
2968
2968
{
0 commit comments