Home
last modified time | relevance | path

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

/Linux-v5.15/net/dsa/
Ddsa2.c37 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v) in dsa_tree_notify()
61 struct dsa_switch_tree *dst; in dsa_broadcast()
84 void dsa_lag_map(struct dsa_switch_tree *dst, struct net_device *lag) in dsa_lag_map()
115 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct net_device *lag) in dsa_lag_unmap()
134 struct dsa_switch_tree *dst; in dsa_bridge_num_find()
179 struct dsa_switch_tree *dst; in dsa_switch_find()
198 static struct dsa_switch_tree *dsa_tree_find(int index) in dsa_tree_find()
200 struct dsa_switch_tree *dst; in dsa_tree_find()
209 static struct dsa_switch_tree *dsa_tree_alloc(int index) in dsa_tree_alloc()
211 struct dsa_switch_tree *dst; in dsa_tree_alloc()
[all …]
Ddsa_priv.h189 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave()
285 static inline bool dsa_tree_offloads_bridge_port(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_port()
298 static inline bool dsa_tree_offloads_bridge(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge()
408 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_find_designated_bridge_port_by_vid()
541 void dsa_lag_map(struct dsa_switch_tree *dst, struct net_device *lag);
542 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct net_device *lag);
543 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v);
545 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst,
Dtag_dsa.c135 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_xmit_ll()
Dswitch.c92 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_bridge_join()
119 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_bridge_leave()
Dmaster.c194 struct dsa_switch_tree *dst; in dsa_master_ioctl()
Dslave.c523 struct dsa_switch_tree *dst = ds->dst; in dsa_slave_get_port_parent_id()
1528 struct dsa_switch_tree *dst; in dsa_bridge_mtu_normalization()
2327 struct dsa_switch_tree *dst; in dsa_slave_netdevice_event()
2427 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_foreign_dev_check()
/Linux-v5.15/include/net/
Ddsa.h115 struct dsa_switch_tree { struct
172 static inline struct net_device *dsa_lag_dev(struct dsa_switch_tree *dst, in dsa_lag_dev() argument
178 static inline int dsa_lag_id(struct dsa_switch_tree *dst, in dsa_lag_id()
236 struct dsa_switch_tree *dst;
320 struct dsa_switch_tree *dst;
425 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port()
490 struct dsa_switch_tree *dst = ds->dst; in dsa_routing_port()
/Linux-v5.15/drivers/net/dsa/sja1105/
Dsja1105_main.c499 struct dsa_switch_tree *dst; in sja1105_init_l2_forwarding()
2514 struct dsa_switch_tree *dst = ds->dst; in sja1105_prechangeupper()
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/
Dchip.c1228 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_port_vlan()
1453 struct dsa_switch_tree *dst = chip->ds->dst; in mv88e6xxx_pvt_map()
2420 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_bridge_map()
/Linux-v5.15/Documentation/networking/dsa/
Ddsa.rst356 - ``dsa_switch_tree``: structure assigned to the master network device under
364 a ``dsa_switch_tree`` as a backpointer, slave network devices, master network