Home
last modified time | relevance | path

Searched refs:mlxsw_sp_port_vlan (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_switchdev.c574 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_find_by_bridge() local
596 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_find_by_fid() local
670 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_bridge_vlan_stp_set() local
724 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_bridge_vlan_flood_set() local
772 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_bridge_vlans_flood_set() local
830 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_bridge_vlan_learning_set() local
1519 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_bridge_port_vlan_add() local
1860 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_fdb_set() local
2183 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_mdb_add() local
2293 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_bridge_port_vlan_del() local
[all …]
A Dspectrum.h287 struct mlxsw_sp_port_vlan { struct
350 struct mlxsw_sp_port_vlan *default_vlan;
487 static inline struct mlxsw_sp_port_vlan *
491 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_find_by_vid() local
493 list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list, in mlxsw_sp_port_vlan_find_by_vid()
495 if (mlxsw_sp_port_vlan->vid == vid) in mlxsw_sp_port_vlan_find_by_vid()
496 return mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_find_by_vid()
655 mlxsw_sp_port_vlan_bridge_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan);
700 struct mlxsw_sp_port_vlan *
702 void mlxsw_sp_port_vlan_destroy(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan);
[all …]
A Dspectrum.c1043 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, *tmp; in mlxsw_sp_port_vlan_flush() local
1055 mlxsw_sp_port_vlan_cleanup(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan) in mlxsw_sp_port_vlan_cleanup() argument
1063 struct mlxsw_sp_port_vlan *
1066 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_create() local
1071 if (mlxsw_sp_port_vlan) in mlxsw_sp_port_vlan_create()
1078 mlxsw_sp_port_vlan = kzalloc(sizeof(*mlxsw_sp_port_vlan), GFP_KERNEL); in mlxsw_sp_port_vlan_create()
1079 if (!mlxsw_sp_port_vlan) { in mlxsw_sp_port_vlan_create()
1095 void mlxsw_sp_port_vlan_destroy(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan) in mlxsw_sp_port_vlan_destroy() argument
1124 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_kill_vid() local
1133 if (!mlxsw_sp_port_vlan) in mlxsw_sp_port_kill_vid()
[all …]
A Dspectrum_fid.c960 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vp_mode_trans() local
963 list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list, in mlxsw_sp_port_vp_mode_trans()
965 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vp_mode_trans()
966 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans()
986 list_for_each_entry_continue_reverse(mlxsw_sp_port_vlan, in mlxsw_sp_port_vp_mode_trans()
988 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vp_mode_trans()
989 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans()
1002 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vlan_mode_trans() local
1006 list_for_each_entry_reverse(mlxsw_sp_port_vlan, in mlxsw_sp_port_vlan_mode_trans()
1008 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_mode_trans()
[all …]
A Dspectrum_router.c8895 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan) in mlxsw_sp_rif_subport_params_init() argument
9155 __mlxsw_sp_port_vlan_router_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, in __mlxsw_sp_port_vlan_router_join() argument
9192 mlxsw_sp_port_vlan->fid = fid; in __mlxsw_sp_port_vlan_router_join()
9207 __mlxsw_sp_port_vlan_router_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan) in __mlxsw_sp_port_vlan_router_leave() argument
9217 mlxsw_sp_port_vlan->fid = NULL; in __mlxsw_sp_port_vlan_router_leave()
9226 mlxsw_sp_port_vlan_router_join_existing(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, in mlxsw_sp_port_vlan_router_join_existing() argument
9242 mlxsw_sp_port_vlan_router_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan) in mlxsw_sp_port_vlan_router_leave() argument
9257 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_inetaddr_port_vlan_event() local
9260 if (WARN_ON(!mlxsw_sp_port_vlan)) in mlxsw_sp_inetaddr_port_vlan_event()
10168 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan; in mlxsw_sp_port_vid_router_join_existing() local
[all …]

Completed in 72 milliseconds