/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 98 const struct net_device *br_dev) in prestera_bridge_find() argument 103 if (bridge->dev == br_dev) in prestera_bridge_find() 126 struct net_device *br_dev = netdev_master_upper_dev_get(brport_dev); in prestera_bridge_port_find() local 129 if (!br_dev) in prestera_bridge_port_find() 132 bridge = prestera_bridge_find(sw, br_dev); in prestera_bridge_port_find() 372 struct prestera_bridge *br_dev = br_port->bridge; in prestera_mdb_flush_bridge_port() local 374 list_for_each_entry_safe(br_mdb, br_mdb_tmp, &br_dev->br_mdb_entry_list, in prestera_mdb_flush_bridge_port() 546 struct net_device *br_dev = prestera_get_upper_bridge_dev(dev); in prestera_bridge_port_by_dev() local 549 if (!br_dev) in prestera_bridge_port_by_dev() 552 bridge = prestera_bridge_by_dev(swdev, br_dev); in prestera_bridge_port_by_dev() [all …]
|
D | prestera_switchdev.h | 10 int prestera_bridge_port_join(struct net_device *br_dev, 14 void prestera_bridge_port_leave(struct net_device *br_dev,
|
D | prestera_main.c | 1005 struct net_device *br_dev; in prestera_lag_port_del() local 1007 br_dev = netdev_master_upper_dev_get(lag->dev); in prestera_lag_port_del() 1009 prestera_bridge_port_leave(br_dev, port); in prestera_lag_port_del()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 155 const struct net_device *br_dev) in mlxsw_sp_bridge_device_find() argument 160 if (bridge_device->dev == br_dev) in mlxsw_sp_bridge_device_find() 167 const struct net_device *br_dev) in mlxsw_sp_bridge_device_is_offloaded() argument 169 return !!mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, br_dev); in mlxsw_sp_bridge_device_is_offloaded() 195 struct net_device *br_dev, in mlxsw_sp_bridge_device_vxlan_init() argument 202 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_device_vxlan_init() 205 br_dev, dev, 0, in mlxsw_sp_bridge_device_vxlan_init() 217 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_device_vxlan_init() 228 struct net_device *br_dev) in mlxsw_sp_bridge_device_vxlan_fini() argument 233 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_device_vxlan_fini() [all …]
|
D | spectrum_span.c | 262 mlxsw_sp_span_entry_bridge_8021q(const struct net_device *br_dev, in mlxsw_sp_span_entry_bridge_8021q() argument 270 if (!vid && WARN_ON(br_vlan_get_pvid(br_dev, &vid))) in mlxsw_sp_span_entry_bridge_8021q() 272 if (!vid || br_vlan_get_info(br_dev, vid, &vinfo) || in mlxsw_sp_span_entry_bridge_8021q() 276 edev = br_fdb_find_port(br_dev, dmac, vid); in mlxsw_sp_span_entry_bridge_8021q() 290 mlxsw_sp_span_entry_bridge_8021d(const struct net_device *br_dev, in mlxsw_sp_span_entry_bridge_8021d() argument 293 return br_fdb_find_port(br_dev, dmac, 0); in mlxsw_sp_span_entry_bridge_8021d() 297 mlxsw_sp_span_entry_bridge(const struct net_device *br_dev, in mlxsw_sp_span_entry_bridge() argument 307 if (br_vlan_enabled(br_dev)) in mlxsw_sp_span_entry_bridge() 308 dev = mlxsw_sp_span_entry_bridge_8021q(br_dev, dmac, p_vid); in mlxsw_sp_span_entry_bridge() 310 dev = mlxsw_sp_span_entry_bridge_8021d(br_dev, dmac); in mlxsw_sp_span_entry_bridge()
|
D | spectrum.c | 4217 struct net_device *br_dev = netdev_master_upper_dev_get(lag_dev); in mlxsw_sp_port_lag_uppers_cleanup() local 4222 mlxsw_sp_port_bridge_leave(mlxsw_sp_port, lag_dev, br_dev); in mlxsw_sp_port_lag_uppers_cleanup() 4227 br_dev = netdev_master_upper_dev_get(upper_dev); in mlxsw_sp_port_lag_uppers_cleanup() 4228 mlxsw_sp_port_bridge_leave(mlxsw_sp_port, upper_dev, br_dev); in mlxsw_sp_port_lag_uppers_cleanup() 4599 static bool mlxsw_sp_bridge_has_multiple_vxlans(struct net_device *br_dev) in mlxsw_sp_bridge_has_multiple_vxlans() argument 4605 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_has_multiple_vxlans() 4613 static bool mlxsw_sp_bridge_vxlan_vlan_is_valid(struct net_device *br_dev) in mlxsw_sp_bridge_vxlan_vlan_is_valid() argument 4619 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_vxlan_vlan_is_valid() 4637 static bool mlxsw_sp_bridge_vxlan_is_valid(struct net_device *br_dev, in mlxsw_sp_bridge_vxlan_is_valid() argument 4640 if (br_multicast_enabled(br_dev)) { in mlxsw_sp_bridge_vxlan_is_valid() [all …]
|
D | spectrum.h | 432 mlxsw_sp_bridge_vxlan_dev_find(struct net_device *br_dev) in mlxsw_sp_bridge_vxlan_dev_find() argument 437 netdev_for_each_lower_dev(br_dev, dev, iter) { in mlxsw_sp_bridge_vxlan_dev_find() 445 static inline bool mlxsw_sp_bridge_has_vxlan(struct net_device *br_dev) in mlxsw_sp_bridge_has_vxlan() argument 447 return !!mlxsw_sp_bridge_vxlan_dev_find(br_dev); in mlxsw_sp_bridge_has_vxlan() 655 struct net_device *br_dev, 659 struct net_device *br_dev); 661 const struct net_device *br_dev); 663 const struct net_device *br_dev,
|
D | spectrum_router.c | 9525 struct net_device *br_dev; in mlxsw_sp_rif_vlan_fid_get() local 9531 br_dev = vlan_dev_real_dev(rif->dev); in mlxsw_sp_rif_vlan_fid_get() 9532 if (WARN_ON(!netif_is_bridge_master(br_dev))) in mlxsw_sp_rif_vlan_fid_get() 9549 struct net_device *br_dev; in mlxsw_sp_rif_vlan_fdb_del() local 9552 br_dev = is_vlan_dev(rif->dev) ? vlan_dev_real_dev(rif->dev) : rif->dev; in mlxsw_sp_rif_vlan_fdb_del() 9553 dev = br_fdb_find_port(br_dev, mac, vid); in mlxsw_sp_rif_vlan_fdb_del()
|
/drivers/net/dsa/ |
D | rzn1_a5psw.c | 359 if (a5psw->br_dev && bridge.dev != a5psw->br_dev) { in a5psw_port_bridge_join() 365 a5psw->br_dev = bridge.dev; in a5psw_port_bridge_join() 380 a5psw->br_dev = NULL; in a5psw_port_bridge_leave()
|
D | rzn1_a5psw.h | 259 struct net_device *br_dev; member
|
/drivers/s390/net/ |
D | qeth_l2_main.c | 714 struct net_device *br_dev; member 753 struct net_device *brdev = br2dev_event_work->br_dev; in qeth_l2_br2dev_worker() 833 worker_data->br_dev = brdev; in qeth_l2_br2dev_queue_work()
|