/kernel/linux/linux-6.6/net/dsa/ |
H A D | dsa.h | 12 struct dsa_switch_tree; 20 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag); 21 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag); 22 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, 24 struct net_device *dsa_tree_find_first_master(struct dsa_switch_tree *dst); 25 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst, 28 void dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst, 31 void dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst, 37 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst,
|
H A D | dsa.c | 64 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() 92 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() 105 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find() 117 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst, in dsa_tree_bridge_find() 131 struct dsa_switch_tree *dst; in dsa_bridge_num_find() 182 struct dsa_switch_tree *dst; in dsa_switch_find() 201 static struct dsa_switch_tree *dsa_tree_find(int index) in dsa_tree_find() 203 struct dsa_switch_tree *dst; in dsa_tree_find() 212 static struct dsa_switch_tree *dsa_tree_alloc(int index) in dsa_tree_alloc() 214 struct dsa_switch_tree *ds in dsa_tree_alloc() [all...] |
H A D | tag.h | 36 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave() 113 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_find_designated_bridge_port_by_vid()
|
H A D | switch.h | 117 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v);
|
H A D | tag_dsa.c | 140 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_xmit_ll()
|
H A D | slave.c | 2005 struct dsa_switch_tree *dst; in dsa_bridge_mtu_normalization() 3192 static void dsa_tree_migrate_ports_from_lag_master(struct dsa_switch_tree *dst, in dsa_tree_migrate_ports_from_lag_master() 3218 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_join() 3259 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_leave() 3405 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event() 3429 struct dsa_switch_tree *dst; in dsa_slave_netdevice_event() 3527 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_foreign_dev_check()
|
H A D | master.c | 207 struct dsa_switch_tree *dst; in __dsa_master_hwtstamp_validate()
|
H A D | devlink.c | 294 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_port_devlink_setup()
|
H A D | tag_8021q.c | 475 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_tag_8021q_find_port_by_vbid()
|
H A D | switch.c | 1080 * Given a struct dsa_switch_tree, this can be used to run a function once for 1084 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v) in dsa_tree_notify() 1108 struct dsa_switch_tree *dst; in dsa_broadcast()
|
/kernel/linux/linux-5.10/net/dsa/ |
H A D | dsa2.c | 26 struct dsa_switch_tree *dst; in dsa_switch_find() 45 static struct dsa_switch_tree *dsa_tree_find(int index) in dsa_tree_find() 47 struct dsa_switch_tree *dst; in dsa_tree_find() 56 static struct dsa_switch_tree *dsa_tree_alloc(int index) in dsa_tree_alloc() 58 struct dsa_switch_tree *dst; in dsa_tree_alloc() 78 static void dsa_tree_free(struct dsa_switch_tree *dst) in dsa_tree_free() 84 static struct dsa_switch_tree *dsa_tree_get(struct dsa_switch_tree *dst) in dsa_tree_get() 92 static struct dsa_switch_tree *dsa_tree_touch(int index) in dsa_tree_touch() 94 struct dsa_switch_tree *ds in dsa_tree_touch() [all...] |
H A D | switch.c | 92 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_bridge_join() 111 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_bridge_leave()
|
H A D | dsa_priv.h | 120 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave()
|
H A D | master.c | 194 struct dsa_switch_tree *dst; in dsa_master_ioctl()
|
H A D | port.c | 18 struct dsa_switch_tree *dst; in dsa_broadcast()
|
H A D | slave.c | 479 struct dsa_switch_tree *dst = ds->dst; in dsa_slave_get_port_parent_id() 1413 struct dsa_switch_tree *dst; in dsa_bridge_mtu_normalization()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | dsa.h | 124 struct dsa_switch_tree { struct 195 struct dsa_switch_tree *dst; 262 struct dsa_switch_tree *dst; 341 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port() 386 struct dsa_switch_tree *dst = ds->dst; in dsa_routing_port()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | dsa.h | 120 struct dsa_switch_tree { struct 180 static inline struct dsa_lag *dsa_lag_by_id(struct dsa_switch_tree *dst, in dsa_lag_by_id() 187 static inline int dsa_lag_id(struct dsa_switch_tree *dst, in dsa_lag_id() 253 struct dsa_switch_tree *dst; 377 struct dsa_switch_tree *dst; 493 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port() 614 struct dsa_switch_tree *dst = ds->dst; in dsa_routing_port() 782 static inline bool dsa_tree_offloads_bridge_port(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_port() 796 dsa_tree_offloads_bridge_dev(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_dev()
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 511 struct dsa_switch_tree *dst; in sja1105_init_l2_forwarding() 2643 struct dsa_switch_tree *dst = ds->dst; in sja1105_prechangeupper()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 1208 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_port_vlan() 2214 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_bridge_map()
|
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 1357 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_port_vlan() 1586 struct dsa_switch_tree *dst = chip->ds->dst; in mv88e6xxx_pvt_map() 2810 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_bridge_map()
|