Home
last modified time | relevance | path

Searched refs:dsa_switch_tree (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/net/dsa/
Ddsa2.c39 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v) in dsa_tree_notify()
63 struct dsa_switch_tree *dst; in dsa_broadcast()
86 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map()
114 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap()
127 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find()
139 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst, in dsa_tree_bridge_find()
153 struct dsa_switch_tree *dst; in dsa_bridge_num_find()
204 struct dsa_switch_tree *dst; in dsa_switch_find()
223 static struct dsa_switch_tree *dsa_tree_find(int index) in dsa_tree_find()
225 struct dsa_switch_tree *dst; in dsa_tree_find()
[all …]
Ddsa_priv.h198 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave()
411 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_find_designated_bridge_port_by_vid()
558 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag);
559 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag);
560 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst,
562 struct net_device *dsa_tree_find_first_master(struct dsa_switch_tree *dst);
563 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v);
565 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst,
568 void dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst,
571 void dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst,
[all …]
Dtag_dsa.c137 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_xmit_ll()
Dslave.c1780 struct dsa_switch_tree *dst; in dsa_bridge_mtu_normalization()
2962 static void dsa_tree_migrate_ports_from_lag_master(struct dsa_switch_tree *dst, in dsa_tree_migrate_ports_from_lag_master()
2988 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_join()
3029 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_leave()
3175 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event()
3199 struct dsa_switch_tree *dst; in dsa_slave_netdevice_event()
3297 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_foreign_dev_check()
Dtag_8021q.c449 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_tag_8021q_find_port_by_vbid()
Dmaster.c194 struct dsa_switch_tree *dst; in dsa_master_ioctl()
/Linux-v6.1/include/net/
Ddsa.h133 struct dsa_switch_tree { struct
193 static inline struct dsa_lag *dsa_lag_by_id(struct dsa_switch_tree *dst, in dsa_lag_by_id() argument
200 static inline int dsa_lag_id(struct dsa_switch_tree *dst, in dsa_lag_id()
266 struct dsa_switch_tree *dst;
387 struct dsa_switch_tree *dst;
503 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port()
624 struct dsa_switch_tree *dst = ds->dst; in dsa_routing_port()
792 static inline bool dsa_tree_offloads_bridge_port(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_port()
806 dsa_tree_offloads_bridge_dev(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_dev()
/Linux-v6.1/drivers/net/dsa/sja1105/
Dsja1105_main.c512 struct dsa_switch_tree *dst; in sja1105_init_l2_forwarding()
2593 struct dsa_switch_tree *dst = ds->dst; in sja1105_prechangeupper()
/Linux-v6.1/drivers/net/dsa/mv88e6xxx/
Dchip.c1393 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_port_vlan()
1622 struct dsa_switch_tree *dst = chip->ds->dst; in mv88e6xxx_pvt_map()
2846 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_bridge_map()
/Linux-v6.1/Documentation/networking/dsa/
Ddsa.rst387 - ``dsa_switch_tree``: structure assigned to the master network device under
395 a ``dsa_switch_tree`` as a backpointer, slave network devices, master network