/linux-6.6.21/net/bridge/ |
D | br_mrp_switchdev.c | 34 .obj.orig_dev = br->dev, in br_mrp_switchdev_add() 51 .obj.orig_dev = br->dev, in br_mrp_switchdev_del() 69 .obj.orig_dev = br->dev, in br_mrp_switchdev_set_ring_role() 107 .obj.orig_dev = br->dev, in br_mrp_switchdev_send_ring_test() 127 .obj.orig_dev = br->dev, in br_mrp_switchdev_set_ring_state() 145 .obj.orig_dev = br->dev, in br_mrp_switchdev_set_in_role() 183 .obj.orig_dev = br->dev, in br_mrp_switchdev_set_in_state() 200 .obj.orig_dev = br->dev, in br_mrp_switchdev_send_in_test() 217 .orig_dev = p->dev, in br_mrp_port_switchdev_set_state() 232 .orig_dev = p->dev, in br_mrp_port_switchdev_set_role()
|
D | br_switchdev.c | 84 .orig_dev = p->dev, in br_switchdev_set_port_flag() 180 .obj.orig_dev = dev, in br_switchdev_port_vlan_add() 193 .obj.orig_dev = dev, in br_switchdev_port_vlan_del() 367 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay() 428 .obj.orig_dev = dev, in br_switchdev_vlan_replay_group() 551 .orig_dev = dev, in br_switchdev_host_mdb_one() 602 struct net_device *orig_dev) in br_switchdev_mdb_queue_one() argument 607 .orig_dev = orig_dev, in br_switchdev_mdb_queue_one() 653 mdb.obj.orig_dev = pg->key.port->dev; in br_switchdev_mdb_notify()
|
D | br_mst.c | 95 .orig_dev = p->dev, in br_mst_set_state() 152 .orig_dev = mv->br->dev, in br_mst_vlan_set_msti() 199 .orig_dev = br->dev, in br_mst_set_enabled()
|
/linux-6.6.21/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_handlers.c | 135 struct net_device *orig_dev) in rmnet_map_egress_handler() argument 157 rmnet_map_checksum_uplink_packet(skb, port, orig_dev, in rmnet_map_egress_handler() 170 len = rmnet_map_tx_aggregate(skb, port, orig_dev); in rmnet_map_egress_handler() 172 rmnet_vnd_tx_fixup_len(len, orig_dev); in rmnet_map_egress_handler() 244 struct net_device *orig_dev; in rmnet_egress_handler() local 252 orig_dev = skb->dev; in rmnet_egress_handler() 253 priv = netdev_priv(orig_dev); in rmnet_egress_handler() 261 err = rmnet_map_egress_handler(skb, port, mux_id, orig_dev); in rmnet_egress_handler() 267 rmnet_vnd_tx_fixup(skb, orig_dev); in rmnet_egress_handler()
|
D | rmnet_map_data.c | 245 struct net_device *orig_dev) in rmnet_map_v5_checksum_uplink_packet() argument 247 struct rmnet_priv *priv = netdev_priv(orig_dev); in rmnet_map_v5_checksum_uplink_packet() 432 struct net_device *orig_dev) in rmnet_map_v4_checksum_uplink_packet() argument 434 struct rmnet_priv *priv = netdev_priv(orig_dev); in rmnet_map_v4_checksum_uplink_packet() 441 if (unlikely(!(orig_dev->features & in rmnet_map_v4_checksum_uplink_packet() 476 struct net_device *orig_dev, in rmnet_map_checksum_uplink_packet() argument 481 rmnet_map_v4_checksum_uplink_packet(skb, orig_dev); in rmnet_map_checksum_uplink_packet() 484 rmnet_map_v5_checksum_uplink_packet(skb, port, orig_dev); in rmnet_map_checksum_uplink_packet() 583 struct net_device *orig_dev) in rmnet_map_tx_aggregate() argument
|
D | rmnet_map.h | 53 struct net_device *orig_dev, 57 struct net_device *orig_dev);
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | am65-cpsw-switchdev.c | 57 struct net_device *orig_dev, in am65_cpsw_port_attr_br_flags_set() argument 106 ret = am65_cpsw_port_attr_br_flags_set(port, attr->orig_dev, in am65_cpsw_port_attr_set() 150 u16 vid, struct net_device *orig_dev) in am65_cpsw_port_vlan_add() argument 152 bool cpu_port = netif_is_bridge_master(orig_dev); in am65_cpsw_port_vlan_add() 163 flags = orig_dev->flags; in am65_cpsw_port_vlan_add() 198 struct net_device *orig_dev) in am65_cpsw_port_vlan_del() argument 200 bool cpu_port = netif_is_bridge_master(orig_dev); in am65_cpsw_port_vlan_del() 239 struct net_device *orig_dev = vlan->obj.orig_dev; in am65_cpsw_port_vlans_add() local 245 return am65_cpsw_port_vlan_add(port, untag, pvid, vlan->vid, orig_dev); in am65_cpsw_port_vlans_add() 252 return am65_cpsw_port_vlan_del(port, vlan->vid, vlan->obj.orig_dev); in am65_cpsw_port_vlans_del() [all …]
|
D | cpsw_switchdev.c | 59 struct net_device *orig_dev, in cpsw_port_attr_br_flags_set() argument 108 ret = cpsw_port_attr_br_flags_set(priv, attr->orig_dev, in cpsw_port_attr_set() 166 u16 vid, struct net_device *orig_dev) in cpsw_port_vlan_add() argument 168 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlan_add() 179 flags = orig_dev->flags; in cpsw_port_vlan_add() 213 struct net_device *orig_dev) in cpsw_port_vlan_del() argument 215 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlan_del() 254 struct net_device *orig_dev = vlan->obj.orig_dev; in cpsw_port_vlans_add() local 260 return cpsw_port_vlan_add(priv, untag, pvid, vlan->vid, orig_dev); in cpsw_port_vlans_add() 267 struct net_device *orig_dev = mdb->obj.orig_dev; in cpsw_port_mdb_add() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_fdb.c | 11 struct net_device *orig_dev; member 143 port = netdev_priv(fdb_work->orig_dev); in lan966x_fdb_port_event_work() 208 if (!lan966x_lag_first_port(fdb_work->orig_dev, fdb_work->dev)) in lan966x_fdb_lag_event_work() 235 if (lan966x_netdevice_check(fdb_work->orig_dev)) in lan966x_fdb_event_work() 237 else if (netif_is_bridge_master(fdb_work->orig_dev)) in lan966x_fdb_event_work() 239 else if (netif_is_lag_master(fdb_work->orig_dev)) in lan966x_fdb_event_work() 247 struct net_device *orig_dev, in lan966x_handle_fdb() argument 261 if (lan966x_netdevice_check(orig_dev) && in lan966x_handle_fdb() 270 fdb_work->orig_dev = orig_dev; in lan966x_handle_fdb()
|
D | lan966x_mdb.c | 109 bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev); in lan966x_mdb_ip_add() 144 bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev); in lan966x_mdb_ip_del() 252 bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev); in lan966x_mdb_l2_add() 301 bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev); in lan966x_mdb_l2_del()
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 325 struct net_device *orig_dev) in prestera_mdb_port_del() argument 331 orig_dev, in prestera_mdb_port_del() 943 struct net_device *orig_dev) in prestera_br_mdb_port_is_member() argument 949 if (tmp_port->br_port->dev == orig_dev) in prestera_br_mdb_port_is_member() 957 struct net_device *orig_dev, in prestera_mdb_port_add() argument 964 orig_dev, vid)) { in prestera_mdb_port_add() 965 err = prestera_flood_domain_port_create(flood_domain, orig_dev, in prestera_mdb_port_add() 1091 struct net_device *orig_dev, in prestera_port_attr_br_mc_disabled_set() argument 1097 br_dev = prestera_bridge_find(sw, orig_dev); in prestera_port_attr_br_mc_disabled_set() 1128 struct net_device *orig_dev, in prestera_port_attr_mrouter_set() argument [all …]
|
/linux-6.6.21/include/net/ |
D | llc.h | 62 struct net_device *orig_dev); 101 struct net_device *orig_dev); 116 struct net_device *orig_dev));
|
D | switchdev.h | 52 struct net_device *orig_dev; member 88 struct net_device *orig_dev; member 337 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, 464 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument
|
D | psnap.h | 14 struct net_device *orig_dev));
|
D | p8022.h | 14 struct net_device *orig_dev));
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 684 struct net_device *orig_dev, in mlxsw_sp_port_attr_stp_state_set() argument 695 orig_dev); in mlxsw_sp_port_attr_stp_state_set() 870 const struct net_device *orig_dev, in mlxsw_sp_port_attr_br_pre_flags_set() argument 880 if ((flags.mask & BR_PORT_LOCKED) && is_vlan_dev(orig_dev)) { in mlxsw_sp_port_attr_br_pre_flags_set() 885 if ((flags.mask & BR_PORT_LOCKED) && vlan_uses_dev(orig_dev)) { in mlxsw_sp_port_attr_br_pre_flags_set() 894 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_flags_set() argument 901 orig_dev); in mlxsw_sp_port_attr_br_flags_set() 974 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_set() argument 980 bridge_device = mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_attr_br_vlan_set() 992 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_proto_set() argument [all …]
|
/linux-6.6.21/net/llc/ |
D | llc_input.c | 162 struct packet_type *pt, struct net_device *orig_dev) in llc_rcv() argument 203 rcv(skb, dev, pt, orig_dev); in llc_rcv() 210 rcv(cskb, dev, pt, orig_dev); in llc_rcv()
|
D | llc_core.c | 95 struct net_device *orig_dev)) in llc_sap_open() argument
|
/linux-6.6.21/net/switchdev/ |
D | switchdev.c | 28 if (a->id != b->id || a->orig_dev != b->orig_dev) in switchdev_obj_eq() 527 struct net_device *orig_dev, unsigned long event, in __switchdev_handle_fdb_event_to_device() argument 532 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device() 542 return mod_cb(dev, orig_dev, event, info->ctx, fdb_info); in __switchdev_handle_fdb_event_to_device() 560 err = __switchdev_handle_fdb_event_to_device(lower_dev, orig_dev, in __switchdev_handle_fdb_event_to_device() 582 return __switchdev_handle_fdb_event_to_device(br, orig_dev, event, fdb_info, in __switchdev_handle_fdb_event_to_device() 592 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument
|
/linux-6.6.21/net/802/ |
D | psnap.c | 46 struct packet_type *pt, struct net_device *orig_dev) in snap_rcv() argument 63 rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); in snap_rcv()
|
D | p8022.c | 36 struct net_device *orig_dev)) in register_8022_client() argument
|
D | stp.c | 31 struct packet_type *pt, struct net_device *orig_dev) in stp_pdu_rcv() argument
|
/linux-6.6.21/drivers/net/hamradio/ |
D | bpqether.c | 170 …truct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) in bpq_rcv() argument 242 struct net_device *orig_dev; in bpq_xmit() local 280 orig_dev = dev; in bpq_xmit() 282 orig_dev->stats.tx_dropped++; in bpq_xmit()
|
/linux-6.6.21/net/dsa/ |
D | slave.c | 36 struct net_device *orig_dev; member 600 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 606 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 612 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 619 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 625 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 631 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 638 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 644 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 752 if (!dsa_port_offloads_bridge_port(dp, obj->orig_dev)) in dsa_slave_port_obj_add() [all …]
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_switchdev.c | 95 struct net_device *orig_dev, in sparx5_port_attr_mrouter_set() argument 155 attr->orig_dev, in sparx5_port_attr_set() 527 is_host = netif_is_bridge_master(v->obj.orig_dev); in sparx5_handle_port_mdb_add() 583 is_host = netif_is_bridge_master(v->obj.orig_dev); in sparx5_handle_port_mdb_del()
|