Home
last modified time | relevance | path

Searched refs:bridge_port (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c83 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
514 mlxsw_sp_bridge_port_destroy(struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_destroy() argument
529 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_bridge_port_get() local
556 mlxsw_sp_bridge_port_put(struct mlxsw_sp_bridge *bridge, struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_put() argument
610 mlxsw_sp_bridge_vlan_find(const struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_find() argument
624 mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_create() argument
648 mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_get() argument
687 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_stp_state_set() local
740 mlxsw_sp_bridge_port_flood_table_set(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, enum mlxsw_sp_flood_type packet_type, bool member) mlxsw_sp_bridge_port_flood_table_set() argument
801 mlxsw_sp_bridge_ports_flood_table_set(struct mlxsw_sp_bridge_port *bridge_port, enum mlxsw_sp_flood_type packet_type, bool member) mlxsw_sp_bridge_ports_flood_table_set() argument
844 mlxsw_sp_bridge_port_learning_set(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, bool set) mlxsw_sp_bridge_port_learning_set() argument
897 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_br_flags_set() local
1010 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_mrouter_set() local
1035 mlxsw_sp_mc_flood(const struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_mc_flood() argument
1051 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mc_disabled_set() local
1345 mlxsw_sp_port_vlan_fid_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, struct mlxsw_sp_bridge_port *bridge_port, struct netlink_ext_ack *extack) mlxsw_sp_port_vlan_fid_join() argument
1424 mlxsw_sp_port_vlan_bridge_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, struct mlxsw_sp_bridge_port *bridge_port, struct netlink_ext_ack *extack) mlxsw_sp_port_vlan_bridge_join() argument
1482 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlan_bridge_leave() local
1513 mlxsw_sp_bridge_port_vlan_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, u16 vid, bool is_untagged, bool is_pvid, struct netlink_ext_ack *extack) mlxsw_sp_bridge_port_vlan_add() argument
1586 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlans_add() local
1618 mlxsw_sp_bridge_port_fdb_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_bridge_port *bridge_port, u16 fid_index) mlxsw_sp_bridge_port_fdb_flush() argument
1862 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_fdb_set() local
1921 mlxsw_sp_bridge_port_get_ports_bitmap(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_ports_bitmap *ports_bm) mlxsw_sp_bridge_port_get_ports_bitmap() argument
1950 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_mc_get_mrouters_bitmap() local
2185 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mdb_add() local
2234 mlxsw_sp_port_mrouter_update_mdb(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, bool add) mlxsw_sp_port_mrouter_update_mdb() argument
2289 mlxsw_sp_bridge_port_vlan_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_port_vlan_del() argument
2312 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlans_del() local
2337 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mdb_del() local
2370 mlxsw_sp_bridge_port_mdb_flush(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, u16 fid_index) mlxsw_sp_bridge_port_mdb_flush() argument
2439 mlxsw_sp_bridge_port_replay(struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_port_replay() argument
2466 mlxsw_sp_bridge_vlan_aware_port_join(struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_vlan_aware_port_join() argument
2483 mlxsw_sp_bridge_8021q_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_8021q_port_join() argument
2501 mlxsw_sp_bridge_8021q_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_bridge_8021q_port_leave() argument
2643 mlxsw_sp_bridge_8021d_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_8021d_port_join() argument
2684 mlxsw_sp_bridge_8021d_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_bridge_8021d_port_leave() argument
2779 mlxsw_sp_bridge_8021ad_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_8021ad_port_join() argument
2803 mlxsw_sp_bridge_8021ad_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_bridge_8021ad_port_leave() argument
2830 mlxsw_sp2_bridge_8021ad_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp2_bridge_8021ad_port_join() argument
2858 mlxsw_sp2_bridge_8021ad_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp2_bridge_8021ad_port_leave() argument
2883 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_bridge_join() local
2917 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_bridge_leave() local
3051 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_fdb_notify_mac_process() local
3119 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_fdb_notify_mac_lag_process() local
4073 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_stp_state() argument
[all...]
H A Dspectrum_span.c301 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_span_entry_bridge() local
318 bridge_port = mlxsw_sp_bridge_port_find(port->mlxsw_sp->bridge, dev); in mlxsw_sp_span_entry_bridge()
319 if (!bridge_port) in mlxsw_sp_span_entry_bridge()
322 stp_state = mlxsw_sp_bridge_port_stp_state(bridge_port); in mlxsw_sp_span_entry_bridge()
H A Dspectrum.h295 struct mlxsw_sp_bridge_port *bridge_port; member
H A Dspectrum.c1072 if (mlxsw_sp_port_vlan->bridge_port) in mlxsw_sp_port_vlan_cleanup()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c81 struct mlxsw_sp_bridge_port *bridge_port,
85 struct mlxsw_sp_bridge_port *bridge_port,
102 struct mlxsw_sp_bridge_port *bridge_port,
107 struct mlxsw_sp_bridge_port *bridge_port);
116 struct mlxsw_sp_bridge_port *bridge_port,
298 struct mlxsw_sp_bridge_port *bridge_port; in __mlxsw_sp_bridge_port_find() local
300 list_for_each_entry(bridge_port, &bridge_device->ports_list, list) { in __mlxsw_sp_bridge_port_find()
301 if (bridge_port->dev == brport_dev) in __mlxsw_sp_bridge_port_find()
302 return bridge_port; in __mlxsw_sp_bridge_port_find()
329 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_bridge_port_create() local
355 mlxsw_sp_bridge_port_destroy(struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_destroy() argument
369 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_bridge_port_get() local
395 mlxsw_sp_bridge_port_put(struct mlxsw_sp_bridge *bridge, struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_put() argument
449 mlxsw_sp_bridge_vlan_find(const struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_find() argument
463 mlxsw_sp_bridge_vlan_create(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_create() argument
487 mlxsw_sp_bridge_vlan_get(struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_vlan_get() argument
527 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_stp_state_set() local
583 mlxsw_sp_bridge_port_flood_table_set(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, enum mlxsw_sp_flood_type packet_type, bool member) mlxsw_sp_bridge_port_flood_table_set() argument
629 mlxsw_sp_bridge_port_learning_set(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, bool set) mlxsw_sp_bridge_port_learning_set() argument
669 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_br_flags_set() local
765 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_attr_mrouter_set() local
792 mlxsw_sp_mc_flood(const struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_mc_flood() argument
808 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mc_disabled_set() local
956 mlxsw_sp_port_vlan_fid_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, struct mlxsw_sp_bridge_port *bridge_port, struct netlink_ext_ack *extack) mlxsw_sp_port_vlan_fid_join() argument
1035 mlxsw_sp_port_vlan_bridge_join(struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, struct mlxsw_sp_bridge_port *bridge_port, struct netlink_ext_ack *extack) mlxsw_sp_port_vlan_bridge_join() argument
1093 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlan_bridge_leave() local
1124 mlxsw_sp_bridge_port_vlan_add(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, u16 vid, bool is_untagged, bool is_pvid, struct netlink_ext_ack *extack) mlxsw_sp_bridge_port_vlan_add() argument
1213 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlans_add() local
1259 mlxsw_sp_bridge_port_fdb_flush(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_bridge_port *bridge_port, u16 fid_index) mlxsw_sp_bridge_port_fdb_flush() argument
1414 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_fdb_set() local
1533 mlxsw_sp_bridge_port_get_ports_bitmap(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_bridge_port *bridge_port, unsigned long *ports_bitmap) mlxsw_sp_bridge_port_get_ports_bitmap() argument
1562 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_mc_get_mrouters_bitmap() local
1691 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mdb_add() local
1763 mlxsw_sp_port_mrouter_update_mdb(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, bool add) mlxsw_sp_port_mrouter_update_mdb() argument
1816 mlxsw_sp_bridge_port_vlan_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, u16 vid) mlxsw_sp_bridge_port_vlan_del() argument
1837 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_vlans_del() local
1857 __mlxsw_sp_port_mdb_del(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_mid *mid) __mlxsw_sp_port_mdb_del() argument
1886 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_mdb_del() local
1913 mlxsw_sp_bridge_port_mdb_flush(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_mdb_flush() argument
1975 mlxsw_sp_bridge_8021q_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_8021q_port_join() argument
1993 mlxsw_sp_bridge_8021q_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_bridge_8021q_port_leave() argument
2125 mlxsw_sp_bridge_8021d_port_join(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) mlxsw_sp_bridge_8021d_port_join() argument
2153 mlxsw_sp_bridge_8021d_port_leave(struct mlxsw_sp_bridge_device *bridge_device, struct mlxsw_sp_bridge_port *bridge_port, struct mlxsw_sp_port *mlxsw_sp_port) mlxsw_sp_bridge_8021d_port_leave() argument
2253 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_bridge_join() local
2280 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_port_bridge_leave() local
2413 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_fdb_notify_mac_process() local
2477 struct mlxsw_sp_bridge_port *bridge_port; mlxsw_sp_fdb_notify_mac_lag_process() local
3445 mlxsw_sp_bridge_port_stp_state(struct mlxsw_sp_bridge_port *bridge_port) mlxsw_sp_bridge_port_stp_state() argument
[all...]
H A Dspectrum_span.c300 struct mlxsw_sp_bridge_port *bridge_port; in mlxsw_sp_span_entry_bridge() local
317 bridge_port = mlxsw_sp_bridge_port_find(port->mlxsw_sp->bridge, dev); in mlxsw_sp_span_entry_bridge()
318 if (!bridge_port) in mlxsw_sp_span_entry_bridge()
321 stp_state = mlxsw_sp_bridge_port_stp_state(bridge_port); in mlxsw_sp_span_entry_bridge()
H A Dspectrum.h250 struct mlxsw_sp_bridge_port *bridge_port; member
H A Dspectrum.c877 if (mlxsw_sp_port_vlan->bridge_port) in mlxsw_sp_port_vlan_cleanup()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c188 struct rmnet_port *real_port, *bridge_port; in rmnet_dellink() local
200 bridge_port = rmnet_get_port_rtnl(bridge_dev); in rmnet_dellink()
201 rmnet_unregister_bridge(bridge_port); in rmnet_dellink()
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c194 struct rmnet_port *real_port, *bridge_port; in rmnet_dellink() local
206 bridge_port = rmnet_get_port_rtnl(bridge_dev); in rmnet_dellink()
207 rmnet_unregister_bridge(bridge_port); in rmnet_dellink()

Completed in 41 milliseconds