mlxsw_sp_port_vlan 1233 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, *tmp;
mlxsw_sp_port_vlan 1235 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	list_for_each_entry_safe(mlxsw_sp_port_vlan, tmp,
mlxsw_sp_port_vlan 1238 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		    mlxsw_sp_port_vlan->vid == MLXSW_SP_DEFAULT_VID)
mlxsw_sp_port_vlan 1240 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		mlxsw_sp_port_vlan_destroy(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1245 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_vlan_cleanup(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1247 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (mlxsw_sp_port_vlan->bridge_port)
mlxsw_sp_port_vlan 1248 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		mlxsw_sp_port_vlan_bridge_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1249 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	else if (mlxsw_sp_port_vlan->fid)
mlxsw_sp_port_vlan 1250 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		mlxsw_sp_port_vlan_router_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1253 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_vlan *
mlxsw_sp_port_vlan 1256 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1260 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 1261 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1268 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan = kzalloc(sizeof(*mlxsw_sp_port_vlan), GFP_KERNEL);
mlxsw_sp_port_vlan 1269 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!mlxsw_sp_port_vlan) {
mlxsw_sp_port_vlan 1274 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan->mlxsw_sp_port = mlxsw_sp_port;
mlxsw_sp_port_vlan 1275 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan->vid = vid;
mlxsw_sp_port_vlan 1276 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	list_add(&mlxsw_sp_port_vlan->list, &mlxsw_sp_port->vlans_list);
mlxsw_sp_port_vlan 1278 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	return mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1285 drivers/net/ethernet/mellanox/mlxsw/spectrum.c void mlxsw_sp_port_vlan_destroy(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1287 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan 1288 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 1290 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan_cleanup(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1291 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	list_del(&mlxsw_sp_port_vlan->list);
mlxsw_sp_port_vlan 1292 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	kfree(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1314 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1322 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 1323 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1325 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan_destroy(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 3614 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 3793 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_create(mlxsw_sp_port,
mlxsw_sp_port_vlan 3795 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (IS_ERR(mlxsw_sp_port_vlan)) {
mlxsw_sp_port_vlan 3798 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		err = PTR_ERR(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 3801 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port->default_vlan = mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 3821 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_vlan_destroy(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan  273 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 	struct mlxsw_sp_port_vlan *default_vlan;
mlxsw_sp_port_vlan  369 drivers/net/ethernet/mellanox/mlxsw/spectrum.h static inline struct mlxsw_sp_port_vlan *
mlxsw_sp_port_vlan  373 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  375 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 	list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list,
mlxsw_sp_port_vlan  377 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 		if (mlxsw_sp_port_vlan->vid == vid)
mlxsw_sp_port_vlan  378 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 			return mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  440 drivers/net/ethernet/mellanox/mlxsw/spectrum.h mlxsw_sp_port_vlan_bridge_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan  483 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_port_vlan *
mlxsw_sp_port_vlan  485 drivers/net/ethernet/mellanox/mlxsw/spectrum.h void mlxsw_sp_port_vlan_destroy(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan  553 drivers/net/ethernet/mellanox/mlxsw/spectrum.h mlxsw_sp_port_vlan_router_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan  652 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  655 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 	list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list,
mlxsw_sp_port_vlan  657 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan  658 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan  678 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 	list_for_each_entry_continue_reverse(mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan  680 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan  681 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan  696 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  700 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 	list_for_each_entry_reverse(mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan  702 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan  703 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 		u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 6626 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				 struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 6628 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan 6630 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	params->vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 6673 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_port_vlan_router_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan 6677 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan 6682 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 6687 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_rif_subport_params_init(&params, mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 6707 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_port_vlan->fid = fid;
mlxsw_sp_port_vlan 6722 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_port_vlan_router_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 6724 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan 6725 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan 6727 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 6732 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_port_vlan->fid = NULL;
mlxsw_sp_port_vlan 6746 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 6748 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 6749 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (WARN_ON(!mlxsw_sp_port_vlan))
mlxsw_sp_port_vlan 6754 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		return mlxsw_sp_port_vlan_router_join(mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan 6757 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_port_vlan_router_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan  337 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static struct mlxsw_sp_port_vlan *
mlxsw_sp_port_vlan  343 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  345 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list,
mlxsw_sp_port_vlan  347 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (!mlxsw_sp_port_vlan->bridge_port)
mlxsw_sp_port_vlan  349 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (mlxsw_sp_port_vlan->bridge_port->bridge_device !=
mlxsw_sp_port_vlan  353 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		    mlxsw_sp_port_vlan->vid != vid)
mlxsw_sp_port_vlan  355 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		return mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  361 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static struct mlxsw_sp_port_vlan*
mlxsw_sp_port_vlan  365 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  367 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list,
mlxsw_sp_port_vlan  369 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan  372 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 			return mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  439 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  441 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list,
mlxsw_sp_port_vlan  443 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (mlxsw_sp_port_vlan->mlxsw_sp_port != mlxsw_sp_port)
mlxsw_sp_port_vlan  497 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  499 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list,
mlxsw_sp_port_vlan  501 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (mlxsw_sp_port_vlan->mlxsw_sp_port != mlxsw_sp_port)
mlxsw_sp_port_vlan  503 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		return mlxsw_sp_fid_flood_set(mlxsw_sp_port_vlan->fid,
mlxsw_sp_port_vlan  545 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan  548 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list,
mlxsw_sp_port_vlan  550 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (mlxsw_sp_port_vlan->mlxsw_sp_port != mlxsw_sp_port)
mlxsw_sp_port_vlan  886 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_fid_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan  890 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan  893 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan  921 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan->fid = fid;
mlxsw_sp_port_vlan  937 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_fid_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan  939 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan  940 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan  942 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan  944 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan->fid = NULL;
mlxsw_sp_port_vlan  965 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_bridge_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan,
mlxsw_sp_port_vlan  969 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan  971 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan  975 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (mlxsw_sp_port_vlan->bridge_port)
mlxsw_sp_port_vlan  978 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	err = mlxsw_sp_port_vlan_fid_join(mlxsw_sp_port_vlan, bridge_port,
mlxsw_sp_port_vlan  999 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_add(&mlxsw_sp_port_vlan->bridge_vlan_node,
mlxsw_sp_port_vlan 1004 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan->bridge_port = bridge_port;
mlxsw_sp_port_vlan 1013 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_fid_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1018 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_bridge_leave(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1020 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp_port_vlan->mlxsw_sp_port;
mlxsw_sp_port_vlan 1021 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid;
mlxsw_sp_port_vlan 1024 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	u16 vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 1031 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	bridge_port = mlxsw_sp_port_vlan->bridge_port;
mlxsw_sp_port_vlan 1036 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_del(&mlxsw_sp_port_vlan->bridge_vlan_node);
mlxsw_sp_port_vlan 1047 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_fid_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1050 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan->bridge_port = NULL;
mlxsw_sp_port_vlan 1060 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1068 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 1069 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (mlxsw_sp_port_vlan &&
mlxsw_sp_port_vlan 1070 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	    mlxsw_sp_port_vlan->bridge_port != bridge_port)
mlxsw_sp_port_vlan 1073 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan) {
mlxsw_sp_port_vlan 1074 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_create(mlxsw_sp_port,
mlxsw_sp_port_vlan 1076 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (IS_ERR(mlxsw_sp_port_vlan))
mlxsw_sp_port_vlan 1077 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 			return PTR_ERR(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1089 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	err = mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port,
mlxsw_sp_port_vlan 1101 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_destroy(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1346 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1356 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_bridge(mlxsw_sp_port,
mlxsw_sp_port_vlan 1359 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1362 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid);
mlxsw_sp_port_vlan 1363 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	vid = mlxsw_sp_port_vlan->vid;
mlxsw_sp_port_vlan 1625 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1641 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_bridge(mlxsw_sp_port,
mlxsw_sp_port_vlan 1644 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1647 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid);
mlxsw_sp_port_vlan 1787 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1789 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 1790 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (WARN_ON(!mlxsw_sp_port_vlan))
mlxsw_sp_port_vlan 1793 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_bridge_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1796 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_destroy(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 1850 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 1862 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_bridge(mlxsw_sp_port,
mlxsw_sp_port_vlan 1865 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan)
mlxsw_sp_port_vlan 1868 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid);
mlxsw_sp_port_vlan 2114 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 2116 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	list_for_each_entry(mlxsw_sp_port_vlan, &mlxsw_sp_port->vlans_list,
mlxsw_sp_port_vlan 2118 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		if (mlxsw_sp_port_vlan->bridge_port &&
mlxsw_sp_port_vlan 2119 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		    mlxsw_sp_port_vlan->bridge_port->bridge_device->dev ==
mlxsw_sp_port_vlan 2133 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 2138 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 2139 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (WARN_ON(!mlxsw_sp_port_vlan))
mlxsw_sp_port_vlan 2148 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (mlxsw_sp_port_vlan->fid)
mlxsw_sp_port_vlan 2149 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		mlxsw_sp_port_vlan_router_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 2151 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	return mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port,
mlxsw_sp_port_vlan 2160 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 2165 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_vid(mlxsw_sp_port, vid);
mlxsw_sp_port_vlan 2166 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan || !mlxsw_sp_port_vlan->bridge_port)
mlxsw_sp_port_vlan 2169 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan_bridge_leave(mlxsw_sp_port_vlan);
mlxsw_sp_port_vlan 2453 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 2474 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_fid(mlxsw_sp_port, fid);
mlxsw_sp_port_vlan 2475 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan) {
mlxsw_sp_port_vlan 2480 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	bridge_port = mlxsw_sp_port_vlan->bridge_port;
mlxsw_sp_port_vlan 2487 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	vid = bridge_device->vlan_enabled ? mlxsw_sp_port_vlan->vid : 0;
mlxsw_sp_port_vlan 2514 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan;
mlxsw_sp_port_vlan 2536 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_port_vlan = mlxsw_sp_port_vlan_find_by_fid(mlxsw_sp_port, fid);
mlxsw_sp_port_vlan 2537 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	if (!mlxsw_sp_port_vlan) {
mlxsw_sp_port_vlan 2542 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	bridge_port = mlxsw_sp_port_vlan->bridge_port;
mlxsw_sp_port_vlan 2549 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	vid = bridge_device->vlan_enabled ? mlxsw_sp_port_vlan->vid : 0;
mlxsw_sp_port_vlan 2550 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	lag_vid = mlxsw_sp_fid_lag_vid_valid(mlxsw_sp_port_vlan->fid) ?
mlxsw_sp_port_vlan 2551 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		  mlxsw_sp_port_vlan->vid : 0;