Lines Matching refs:bridge_port
83 struct mlxsw_sp_bridge_port *bridge_port,
87 struct mlxsw_sp_bridge_port *bridge_port,
135 struct mlxsw_sp_bridge_port *bridge_port,
140 struct mlxsw_sp_bridge_port *bridge_port,
150 struct mlxsw_sp_bridge_port *bridge_port,
360 struct mlxsw_sp_bridge_port *bridge_port; in __mlxsw_sp_bridge_port_find() local
362 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in __mlxsw_sp_bridge_port_find()
363 if (bridge_port->dev == brport_dev) in __mlxsw_sp_bridge_port_find()
364 return bridge_port; in __mlxsw_sp_bridge_port_find()
477 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_bridge_port_create() local
481 bridge_port = kzalloc(sizeof(*bridge_port), GFP_KERNEL); in mlxsw_sp_bridge_port_create()
482 if (!bridge_port) in mlxsw_sp_bridge_port_create()
486 bridge_port->lagged = mlxsw_sp_port->lagged; in mlxsw_sp_bridge_port_create()
487 if (bridge_port->lagged) in mlxsw_sp_bridge_port_create()
488 bridge_port->lag_id = mlxsw_sp_port->lag_id; in mlxsw_sp_bridge_port_create()
490 bridge_port->system_port = mlxsw_sp_port->local_port; in mlxsw_sp_bridge_port_create()
491 bridge_port->dev = brport_dev; in mlxsw_sp_bridge_port_create()
492 bridge_port->bridge_device = bridge_device; in mlxsw_sp_bridge_port_create()
493 bridge_port->stp_state = br_port_get_stp_state(brport_dev); in mlxsw_sp_bridge_port_create()
494 bridge_port->flags = BR_LEARNING | BR_FLOOD | BR_LEARNING_SYNC | in mlxsw_sp_bridge_port_create()
496 INIT_LIST_HEAD(&bridge_port->vlans_list); in mlxsw_sp_bridge_port_create()
497 list_add(&bridge_port->list, &bridge_device->ports_list); in mlxsw_sp_bridge_port_create()
498 refcount_set(&bridge_port->ref_count, 1); in mlxsw_sp_bridge_port_create()
505 return bridge_port; in mlxsw_sp_bridge_port_create()
508 list_del(&bridge_port->list); in mlxsw_sp_bridge_port_create()
509 kfree(bridge_port); in mlxsw_sp_bridge_port_create()
514 mlxsw_sp_bridge_port_destroy(struct mlxsw_sp_bridge_port *bridge_port) in mlxsw_sp_bridge_port_destroy() argument
516 switchdev_bridge_port_unoffload(bridge_port->dev, NULL, NULL, NULL); in mlxsw_sp_bridge_port_destroy()
517 list_del(&bridge_port->list); in mlxsw_sp_bridge_port_destroy()
518 WARN_ON(!list_empty(&bridge_port->vlans_list)); in mlxsw_sp_bridge_port_destroy()
519 kfree(bridge_port); in mlxsw_sp_bridge_port_destroy()
529 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_bridge_port_get() local
532 bridge_port = mlxsw_sp_bridge_port_find(bridge, brport_dev); in mlxsw_sp_bridge_port_get()
533 if (bridge_port) { in mlxsw_sp_bridge_port_get()
534 refcount_inc(&bridge_port->ref_count); in mlxsw_sp_bridge_port_get()
535 return bridge_port; in mlxsw_sp_bridge_port_get()
542 bridge_port = mlxsw_sp_bridge_port_create(bridge_device, brport_dev, in mlxsw_sp_bridge_port_get()
544 if (IS_ERR(bridge_port)) { in mlxsw_sp_bridge_port_get()
545 err = PTR_ERR(bridge_port); in mlxsw_sp_bridge_port_get()
549 return bridge_port; in mlxsw_sp_bridge_port_get()
557 struct mlxsw_sp_bridge_port *bridge_port) in mlxsw_sp_bridge_port_put() argument
561 if (!refcount_dec_and_test(&bridge_port->ref_count)) in mlxsw_sp_bridge_port_put()
563 bridge_device = bridge_port->bridge_device; in mlxsw_sp_bridge_port_put()
564 mlxsw_sp_bridge_port_destroy(bridge_port); in mlxsw_sp_bridge_port_put()
578 if (!mlxsw_sp_port_vlan->bridge_port) in mlxsw_sp_port_vlan_find_by_bridge()
580 if (mlxsw_sp_port_vlan->bridge_port->bridge_device != in mlxsw_sp_port_vlan_find_by_bridge()
610 mlxsw_sp_bridge_vlan_find(const struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_vlan_find() argument
615 list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { in mlxsw_sp_bridge_vlan_find()
624 mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_create() argument
634 list_add(&bridge_vlan->list, &bridge_port->vlans_list); in mlxsw_sp_bridge_vlan_create()
648 mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_vlan_get() argument
652 bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); in mlxsw_sp_bridge_vlan_get()
656 return mlxsw_sp_bridge_vlan_create(bridge_port, vid); in mlxsw_sp_bridge_vlan_get()
687 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_attr_stp_state_set() local
694 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, in mlxsw_sp_port_attr_stp_state_set()
696 if (!bridge_port) in mlxsw_sp_port_attr_stp_state_set()
699 list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { in mlxsw_sp_port_attr_stp_state_set()
706 bridge_port->stp_state = state; in mlxsw_sp_port_attr_stp_state_set()
712 &bridge_port->vlans_list, list) in mlxsw_sp_port_attr_stp_state_set()
714 bridge_port->stp_state); in mlxsw_sp_port_attr_stp_state_set()
741 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_flood_table_set() argument
748 list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { in mlxsw_sp_bridge_port_flood_table_set()
761 &bridge_port->vlans_list, list) in mlxsw_sp_bridge_port_flood_table_set()
801 mlxsw_sp_bridge_ports_flood_table_set(struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_ports_flood_table_set() argument
808 list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { in mlxsw_sp_bridge_ports_flood_table_set()
819 &bridge_port->vlans_list, list) in mlxsw_sp_bridge_ports_flood_table_set()
845 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_learning_set() argument
851 list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { in mlxsw_sp_bridge_port_learning_set()
862 &bridge_port->vlans_list, list) in mlxsw_sp_bridge_port_learning_set()
897 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_attr_br_flags_set() local
900 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, in mlxsw_sp_port_attr_br_flags_set()
902 if (!bridge_port) in mlxsw_sp_port_attr_br_flags_set()
907 bridge_port, in mlxsw_sp_port_attr_br_flags_set()
916 bridge_port, in mlxsw_sp_port_attr_br_flags_set()
929 if (bridge_port->bridge_device->multicast_enabled) in mlxsw_sp_port_attr_br_flags_set()
934 bridge_port, in mlxsw_sp_port_attr_br_flags_set()
942 memcpy(&bridge_port->flags, &flags.val, sizeof(flags.val)); in mlxsw_sp_port_attr_br_flags_set()
1010 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_attr_mrouter_set() local
1013 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp_port->mlxsw_sp->bridge, in mlxsw_sp_port_attr_mrouter_set()
1015 if (!bridge_port) in mlxsw_sp_port_attr_mrouter_set()
1018 mlxsw_sp_port_mrouter_update_mdb(mlxsw_sp_port, bridge_port, in mlxsw_sp_port_attr_mrouter_set()
1021 if (!bridge_port->bridge_device->multicast_enabled) in mlxsw_sp_port_attr_mrouter_set()
1024 err = mlxsw_sp_bridge_port_flood_table_set(mlxsw_sp_port, bridge_port, in mlxsw_sp_port_attr_mrouter_set()
1031 bridge_port->mrouter = is_port_mrouter; in mlxsw_sp_port_attr_mrouter_set()
1035 static bool mlxsw_sp_mc_flood(const struct mlxsw_sp_bridge_port *bridge_port) in mlxsw_sp_mc_flood() argument
1039 bridge_device = bridge_port->bridge_device; in mlxsw_sp_mc_flood()
1040 return bridge_device->multicast_enabled ? bridge_port->mrouter : in mlxsw_sp_mc_flood()
1041 bridge_port->flags & BR_MCAST_FLOOD; in mlxsw_sp_mc_flood()
1051 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_mc_disabled_set() local
1070 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in mlxsw_sp_port_mc_disabled_set()
1071 bool member = mlxsw_sp_mc_flood(bridge_port); in mlxsw_sp_port_mc_disabled_set()
1073 err = mlxsw_sp_bridge_ports_flood_table_set(bridge_port, in mlxsw_sp_port_mc_disabled_set()
1083 list_for_each_entry_continue_reverse(bridge_port, in mlxsw_sp_port_mc_disabled_set()
1085 bool member = mlxsw_sp_mc_flood(bridge_port); in mlxsw_sp_port_mc_disabled_set()
1087 mlxsw_sp_bridge_ports_flood_table_set(bridge_port, packet_type, in mlxsw_sp_port_mc_disabled_set()
1346 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_port_vlan_fid_join() argument
1356 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_vlan_fid_join()
1362 bridge_port->flags & BR_FLOOD); in mlxsw_sp_port_vlan_fid_join()
1367 mlxsw_sp_mc_flood(bridge_port)); in mlxsw_sp_port_vlan_fid_join()
1425 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_port_vlan_bridge_join() argument
1434 if (mlxsw_sp_port_vlan->bridge_port) in mlxsw_sp_port_vlan_bridge_join()
1437 err = mlxsw_sp_port_vlan_fid_join(mlxsw_sp_port_vlan, bridge_port, in mlxsw_sp_port_vlan_bridge_join()
1443 bridge_port->flags & BR_LEARNING); in mlxsw_sp_port_vlan_bridge_join()
1448 bridge_port->stp_state); in mlxsw_sp_port_vlan_bridge_join()
1452 bridge_vlan = mlxsw_sp_bridge_vlan_get(bridge_port, vid); in mlxsw_sp_port_vlan_bridge_join()
1462 bridge_port->dev, extack); in mlxsw_sp_port_vlan_bridge_join()
1463 mlxsw_sp_port_vlan->bridge_port = bridge_port; in mlxsw_sp_port_vlan_bridge_join()
1482 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_vlan_bridge_leave() local
1490 bridge_port = mlxsw_sp_port_vlan->bridge_port; in mlxsw_sp_port_vlan_bridge_leave()
1491 bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); in mlxsw_sp_port_vlan_bridge_leave()
1500 bridge_port, in mlxsw_sp_port_vlan_bridge_leave()
1503 mlxsw_sp_bridge_port_mdb_flush(mlxsw_sp_port, bridge_port, in mlxsw_sp_port_vlan_bridge_leave()
1508 mlxsw_sp_bridge_port_put(mlxsw_sp_port->mlxsw_sp->bridge, bridge_port); in mlxsw_sp_port_vlan_bridge_leave()
1509 mlxsw_sp_port_vlan->bridge_port = NULL; in mlxsw_sp_port_vlan_bridge_leave()
1514 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_vlan_add() argument
1530 mlxsw_sp_port_vlan->bridge_port != bridge_port) in mlxsw_sp_bridge_port_vlan_add()
1545 br_vlan_get_proto(bridge_port->bridge_device->dev, &proto); in mlxsw_sp_bridge_port_vlan_add()
1550 err = mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port, in mlxsw_sp_bridge_port_vlan_add()
1586 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_vlans_add() local
1599 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_vlans_add()
1600 if (WARN_ON(!bridge_port)) in mlxsw_sp_port_vlans_add()
1603 if (!bridge_port->bridge_device->vlan_enabled) in mlxsw_sp_port_vlans_add()
1606 return mlxsw_sp_bridge_port_vlan_add(mlxsw_sp_port, bridge_port, in mlxsw_sp_port_vlans_add()
1619 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_fdb_flush() argument
1622 bool lagged = bridge_port->lagged; in mlxsw_sp_bridge_port_fdb_flush()
1626 system_port = lagged ? bridge_port->lag_id : bridge_port->system_port; in mlxsw_sp_bridge_port_fdb_flush()
1862 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_fdb_set() local
1865 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_fdb_set()
1866 if (!bridge_port) in mlxsw_sp_port_fdb_set()
1869 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_fdb_set()
1879 if (!bridge_port->lagged) in mlxsw_sp_port_fdb_set()
1881 bridge_port->system_port, in mlxsw_sp_port_fdb_set()
1886 bridge_port->lag_id, in mlxsw_sp_port_fdb_set()
1922 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_get_ports_bitmap() argument
1929 if (!bridge_port->lagged) { in mlxsw_sp_bridge_port_get_ports_bitmap()
1930 set_bit(bridge_port->system_port, ports_bm->bitmap); in mlxsw_sp_bridge_port_get_ports_bitmap()
1934 lag_id = bridge_port->lag_id; in mlxsw_sp_bridge_port_get_ports_bitmap()
1950 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_mc_get_mrouters_bitmap() local
1952 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in mlxsw_sp_mc_get_mrouters_bitmap()
1953 if (bridge_port->mrouter) { in mlxsw_sp_mc_get_mrouters_bitmap()
1955 bridge_port, in mlxsw_sp_mc_get_mrouters_bitmap()
2185 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_mdb_add() local
2189 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_mdb_add()
2190 if (!bridge_port) in mlxsw_sp_port_mdb_add()
2193 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_mdb_add()
2235 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_port_mrouter_update_mdb() argument
2243 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_mrouter_update_mdb()
2290 struct mlxsw_sp_bridge_port *bridge_port, u16 vid) in mlxsw_sp_bridge_port_vlan_del() argument
2301 br_vlan_get_proto(bridge_port->bridge_device->dev, &proto); in mlxsw_sp_bridge_port_vlan_del()
2312 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_vlans_del() local
2317 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_vlans_del()
2318 if (WARN_ON(!bridge_port)) in mlxsw_sp_port_vlans_del()
2321 if (!bridge_port->bridge_device->vlan_enabled) in mlxsw_sp_port_vlans_del()
2324 mlxsw_sp_bridge_port_vlan_del(mlxsw_sp_port, bridge_port, vlan->vid); in mlxsw_sp_port_vlans_del()
2337 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_mdb_del() local
2342 bridge_port = mlxsw_sp_bridge_port_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_mdb_del()
2343 if (!bridge_port) in mlxsw_sp_port_mdb_del()
2346 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_mdb_del()
2371 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_mdb_flush() argument
2379 bridge_device = bridge_port->bridge_device; in mlxsw_sp_bridge_port_mdb_flush()
2386 if (bridge_port->mrouter) in mlxsw_sp_bridge_port_mdb_flush()
2439 mlxsw_sp_bridge_port_replay(struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_port_replay() argument
2444 .brport_dev = bridge_port->dev, in mlxsw_sp_bridge_port_replay()
2451 err = switchdev_bridge_port_replay(bridge_port->dev, mlxsw_sp_port->dev, in mlxsw_sp_bridge_port_replay()
2460 switchdev_bridge_port_replay(bridge_port->dev, mlxsw_sp_port->dev, in mlxsw_sp_bridge_port_replay()
2466 mlxsw_sp_bridge_vlan_aware_port_join(struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_vlan_aware_port_join() argument
2470 if (is_vlan_dev(bridge_port->dev)) { in mlxsw_sp_bridge_vlan_aware_port_join()
2479 return mlxsw_sp_bridge_port_replay(bridge_port, mlxsw_sp_port, extack); in mlxsw_sp_bridge_vlan_aware_port_join()
2484 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021q_port_join() argument
2488 return mlxsw_sp_bridge_vlan_aware_port_join(bridge_port, mlxsw_sp_port, in mlxsw_sp_bridge_8021q_port_join()
2502 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021q_port_leave() argument
2633 if (mlxsw_sp_port_vlan->bridge_port && in mlxsw_sp_port_is_br_member()
2634 mlxsw_sp_port_vlan->bridge_port->bridge_device->dev == in mlxsw_sp_port_is_br_member()
2644 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021d_port_join() argument
2649 struct net_device *dev = bridge_port->dev; in mlxsw_sp_bridge_8021d_port_join()
2667 err = mlxsw_sp_port_vlan_bridge_join(mlxsw_sp_port_vlan, bridge_port, in mlxsw_sp_bridge_8021d_port_join()
2672 err = mlxsw_sp_bridge_port_replay(bridge_port, mlxsw_sp_port, extack); in mlxsw_sp_bridge_8021d_port_join()
2685 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021d_port_leave() argument
2689 struct net_device *dev = bridge_port->dev; in mlxsw_sp_bridge_8021d_port_leave()
2694 if (!mlxsw_sp_port_vlan || !mlxsw_sp_port_vlan->bridge_port) in mlxsw_sp_bridge_8021d_port_leave()
2780 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021ad_port_join() argument
2790 err = mlxsw_sp_bridge_vlan_aware_port_join(bridge_port, mlxsw_sp_port, in mlxsw_sp_bridge_8021ad_port_join()
2804 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp_bridge_8021ad_port_leave() argument
2831 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp2_bridge_8021ad_port_join() argument
2845 err = mlxsw_sp_bridge_8021ad_port_join(bridge_device, bridge_port, in mlxsw_sp2_bridge_8021ad_port_join()
2859 struct mlxsw_sp_bridge_port *bridge_port, in mlxsw_sp2_bridge_8021ad_port_leave() argument
2862 mlxsw_sp_bridge_8021ad_port_leave(bridge_device, bridge_port, in mlxsw_sp2_bridge_8021ad_port_leave()
2883 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_bridge_join() local
2886 bridge_port = mlxsw_sp_bridge_port_get(mlxsw_sp->bridge, brport_dev, in mlxsw_sp_port_bridge_join()
2888 if (IS_ERR(bridge_port)) in mlxsw_sp_port_bridge_join()
2889 return PTR_ERR(bridge_port); in mlxsw_sp_port_bridge_join()
2890 bridge_device = bridge_port->bridge_device; in mlxsw_sp_port_bridge_join()
2892 err = bridge_device->ops->port_join(bridge_device, bridge_port, in mlxsw_sp_port_bridge_join()
2904 bridge_device->ops->port_leave(bridge_device, bridge_port, in mlxsw_sp_port_bridge_join()
2907 mlxsw_sp_bridge_port_put(mlxsw_sp->bridge, bridge_port); in mlxsw_sp_port_bridge_join()
2917 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_port_bridge_leave() local
2922 bridge_port = __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); in mlxsw_sp_port_bridge_leave()
2923 if (!bridge_port) in mlxsw_sp_port_bridge_leave()
2926 bridge_device->ops->port_leave(bridge_device, bridge_port, in mlxsw_sp_port_bridge_leave()
2929 mlxsw_sp_bridge_port_put(mlxsw_sp->bridge, bridge_port); in mlxsw_sp_port_bridge_leave()
3077 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_fdb_notify_mac_process() local
3101 bridge_port = mlxsw_sp_port_vlan->bridge_port; in mlxsw_sp_fdb_notify_mac_process()
3102 if (!bridge_port) { in mlxsw_sp_fdb_notify_mac_process()
3107 bridge_device = bridge_port->bridge_device; in mlxsw_sp_fdb_notify_mac_process()
3113 vid, bridge_port->dev, false, true); in mlxsw_sp_fdb_notify_mac_process()
3128 mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding, in mlxsw_sp_fdb_notify_mac_process()
3145 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_fdb_notify_mac_lag_process() local
3168 bridge_port = mlxsw_sp_port_vlan->bridge_port; in mlxsw_sp_fdb_notify_mac_lag_process()
3169 if (!bridge_port) { in mlxsw_sp_fdb_notify_mac_lag_process()
3174 bridge_device = bridge_port->bridge_device; in mlxsw_sp_fdb_notify_mac_lag_process()
3180 vid, bridge_port->dev, false, true); in mlxsw_sp_fdb_notify_mac_lag_process()
3195 mlxsw_sp_fdb_call_notifiers(type, mac, vid, bridge_port->dev, adding, in mlxsw_sp_fdb_notify_mac_lag_process()
4099 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port) in mlxsw_sp_bridge_port_stp_state() argument
4101 return bridge_port->stp_state; in mlxsw_sp_bridge_port_stp_state()