bridge_port 1247 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp_port_vlan->bridge_port) bridge_port 214 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_bridge_port *bridge_port; bridge_port 183 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 200 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c bridge_port = mlxsw_sp_bridge_port_find(port->mlxsw_sp->bridge, dev); bridge_port 201 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (!bridge_port) bridge_port 204 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c stp_state = mlxsw_sp_bridge_port_stp_state(bridge_port); bridge_port 81 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 85 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 107 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port); bridge_port 116 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 229 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 231 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { bridge_port 232 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->dev == brport_dev) bridge_port 233 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_port; bridge_port 260 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 263 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = kzalloc(sizeof(*bridge_port), GFP_KERNEL); bridge_port 264 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 268 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->lagged = mlxsw_sp_port->lagged; bridge_port 269 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->lagged) bridge_port 270 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->lag_id = mlxsw_sp_port->lag_id; bridge_port 272 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->system_port = mlxsw_sp_port->local_port; bridge_port 273 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->dev = brport_dev; bridge_port 274 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->bridge_device = bridge_device; bridge_port 275 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->stp_state = BR_STATE_DISABLED; bridge_port 276 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | bridge_port 278 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c INIT_LIST_HEAD(&bridge_port->vlans_list); bridge_port 279 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_add(&bridge_port->list, &bridge_device->ports_list); bridge_port 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->ref_count = 1; bridge_port 282 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_port; bridge_port 286 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_destroy(struct mlxsw_sp_bridge_port *bridge_port) bridge_port 288 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_del(&bridge_port->list); bridge_port 289 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c WARN_ON(!list_empty(&bridge_port->vlans_list)); bridge_port 290 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(bridge_port); bridge_port 299 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 302 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(bridge, brport_dev); bridge_port 303 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port) { bridge_port 304 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->ref_count++; bridge_port 305 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_port; bridge_port 312 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_create(bridge_device, brport_dev); bridge_port 313 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) { bridge_port 318 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_port; bridge_port 326 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port) bridge_port 330 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (--bridge_port->ref_count != 0) bridge_port 332 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 333 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_destroy(bridge_port); bridge_port 347 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!mlxsw_sp_port_vlan->bridge_port) bridge_port 349 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (mlxsw_sp_port_vlan->bridge_port->bridge_device != bridge_port 379 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_find(const struct mlxsw_sp_bridge_port *bridge_port, bridge_port 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_port 393 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) bridge_port 403 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_add(&bridge_vlan->list, &bridge_port->vlans_list); bridge_port 417 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) bridge_port 421 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); bridge_port 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return mlxsw_sp_bridge_vlan_create(bridge_port, vid); bridge_port 457 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 467 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, bridge_port 469 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 472 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_port 479 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->stp_state = state; bridge_port 485 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c &bridge_port->vlans_list, list) bridge_port 487 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->stp_state); bridge_port 514 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 521 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_port 534 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c &bridge_port->vlans_list, list) bridge_port 560 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 566 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_port 577 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c &bridge_port->vlans_list, list) bridge_port 599 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 605 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, bridge_port 607 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 610 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_bridge_port_flood_table_set(mlxsw_sp_port, bridge_port, bridge_port 616 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_bridge_port_learning_set(mlxsw_sp_port, bridge_port, bridge_port 621 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->bridge_device->multicast_enabled) bridge_port 624 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_bridge_port_flood_table_set(mlxsw_sp_port, bridge_port, bridge_port 632 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c memcpy(&bridge_port->flags, &brport_flags, sizeof(brport_flags)); bridge_port 695 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 701 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, bridge_port 703 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 706 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port->bridge_device->multicast_enabled) bridge_port 709 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_bridge_port_flood_table_set(mlxsw_sp_port, bridge_port, bridge_port 715 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_mrouter_update_mdb(mlxsw_sp_port, bridge_port, bridge_port 718 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->mrouter = is_port_mrouter; bridge_port 722 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static bool mlxsw_sp_mc_flood(const struct mlxsw_sp_bridge_port *bridge_port) bridge_port 726 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 727 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_device->multicast_enabled ? bridge_port->mrouter : bridge_port 728 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->flags & BR_MCAST_FLOOD; bridge_port 738 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 757 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { bridge_port 759 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bool member = mlxsw_sp_mc_flood(bridge_port); bridge_port 762 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port, bridge_port 887 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 897 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 903 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->flags & BR_FLOOD); bridge_port 908 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_mc_flood(bridge_port)); bridge_port 966 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 975 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (mlxsw_sp_port_vlan->bridge_port) bridge_port 978 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_port_vlan_fid_join(mlxsw_sp_port_vlan, bridge_port, bridge_port 984 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->flags & BR_LEARNING); bridge_port 989 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->stp_state); bridge_port 993 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_get(bridge_port, vid); bridge_port 1003 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->dev); bridge_port 1004 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan->bridge_port = bridge_port; bridge_port 1023 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1031 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_port_vlan->bridge_port; bridge_port 1032 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c last_vlan = list_is_singular(&bridge_port->vlans_list); bridge_port 1033 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); bridge_port 1042 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port, bridge_port 1045 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_mdb_flush(mlxsw_sp_port, bridge_port); bridge_port 1049 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_put(mlxsw_sp_port->mlxsw_sp->bridge, bridge_port); bridge_port 1050 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan->bridge_port = NULL; bridge_port 1055 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1070 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan->bridge_port != bridge_port) bridge_port 1089 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port, bridge_port 1147 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1166 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); bridge_port 1167 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (WARN_ON(!bridge_port)) bridge_port 1170 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port->bridge_device->vlan_enabled) bridge_port 1176 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_bridge_port_vlan_add(mlxsw_sp_port, bridge_port, bridge_port 1194 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1197 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bool lagged = bridge_port->lagged; bridge_port 1201 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c system_port = lagged ? bridge_port->lag_id : bridge_port->system_port; bridge_port 1348 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1351 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); bridge_port 1352 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 1355 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 1365 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port->lagged) bridge_port 1367 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->system_port, bridge_port 1372 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->lag_id, bridge_port 1468 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1475 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port->lagged) { bridge_port 1476 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c set_bit(bridge_port->system_port, ports_bitmap); bridge_port 1480 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c lag_id = bridge_port->lag_id; bridge_port 1496 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1498 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { bridge_port 1499 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->mrouter) { bridge_port 1501 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port, bridge_port 1628 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1636 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); bridge_port 1637 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 1640 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 1663 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->mrouter) bridge_port 1701 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1707 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 1784 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, u16 vid) bridge_port 1804 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1810 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); bridge_port 1811 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (WARN_ON(!bridge_port)) bridge_port 1814 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port->bridge_device->vlan_enabled) bridge_port 1818 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_vlan_del(mlxsw_sp_port, bridge_port, vid); bridge_port 1825 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1831 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_port->bridge_device->multicast_enabled && bridge_port 1832 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c !bridge_port->mrouter) { bridge_port 1853 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 1857 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); bridge_port 1858 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 1861 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 1876 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return __mlxsw_sp_port_mdb_del(mlxsw_sp_port, bridge_port, mid); bridge_port 1881 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port) bridge_port 1886 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 1890 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c __mlxsw_sp_port_mdb_del(mlxsw_sp_port, bridge_port, bridge_port 1893 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->mrouter) { bridge_port 1943 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 1947 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (is_vlan_dev(bridge_port->dev)) { bridge_port 1961 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 2118 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (mlxsw_sp_port_vlan->bridge_port && bridge_port 2119 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan->bridge_port->bridge_device->dev == bridge_port 2129 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 2134 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = bridge_port->dev; bridge_port 2151 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port, bridge_port 2157 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port, bridge_port 2161 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = bridge_port->dev; bridge_port 2166 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!mlxsw_sp_port_vlan || !mlxsw_sp_port_vlan->bridge_port) bridge_port 2287 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 2290 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_bridge_port_get(mlxsw_sp->bridge, brport_dev); bridge_port 2291 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (IS_ERR(bridge_port)) bridge_port 2292 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return PTR_ERR(bridge_port); bridge_port 2293 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 2295 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = bridge_device->ops->port_join(bridge_device, bridge_port, bridge_port 2303 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_put(mlxsw_sp->bridge, bridge_port); bridge_port 2313 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 2318 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); bridge_port 2319 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) bridge_port 2322 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device->ops->port_leave(bridge_device, bridge_port, bridge_port 2324 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_put(mlxsw_sp->bridge, bridge_port); bridge_port 2455 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 2480 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_port_vlan->bridge_port; bridge_port 2481 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) { bridge_port 2486 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 2500 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding); bridge_port 2516 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_port *bridge_port; bridge_port 2542 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port = mlxsw_sp_port_vlan->bridge_port; bridge_port 2543 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_port) { bridge_port 2548 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_device = bridge_port->bridge_device; bridge_port 2564 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding); bridge_port 3473 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port) bridge_port 3475 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_port->stp_state; bridge_port 13 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.h u8 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port); bridge_port 181 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c struct rmnet_port *real_port, *bridge_port; bridge_port 193 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c bridge_port = rmnet_get_port_rtnl(bridge_dev); bridge_port 194 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c rmnet_unregister_bridge(bridge_port);