Home
last modified time | relevance | path

Searched refs:orig_dev (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.1.9/net/bridge/
Dbr_mrp_switchdev.c34 .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()
Dbr_switchdev.c84 .orig_dev = p->dev, in br_switchdev_set_port_flag()
167 .obj.orig_dev = dev, in br_switchdev_port_vlan_add()
180 .obj.orig_dev = dev, in br_switchdev_port_vlan_del()
354 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay()
415 .obj.orig_dev = dev, in br_switchdev_vlan_replay_group()
538 .orig_dev = dev, in br_switchdev_host_mdb_one()
587 struct net_device *orig_dev) in br_switchdev_mdb_queue_one() argument
596 mdb->obj.orig_dev = orig_dev; in br_switchdev_mdb_queue_one()
621 mdb.obj.orig_dev = pg->key.port->dev; in br_switchdev_mdb_notify()
Dbr_mst.c95 .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.1.9/drivers/net/ethernet/ti/
Dam65-cpsw-switchdev.c57 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 …]
Dcpsw_switchdev.c59 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.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdb.c11 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()
Dlan966x_mdb.c109 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.1.9/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c135 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()
234 struct net_device *orig_dev; in rmnet_egress_handler() local
241 orig_dev = skb->dev; in rmnet_egress_handler()
242 priv = netdev_priv(orig_dev); in rmnet_egress_handler()
250 if (rmnet_map_egress_handler(skb, port, mux_id, orig_dev)) in rmnet_egress_handler()
253 rmnet_vnd_tx_fixup(skb, orig_dev); in rmnet_egress_handler()
Drmnet_map_data.c244 struct net_device *orig_dev) in rmnet_map_v5_checksum_uplink_packet() argument
246 struct rmnet_priv *priv = netdev_priv(orig_dev); in rmnet_map_v5_checksum_uplink_packet()
431 struct net_device *orig_dev) in rmnet_map_v4_checksum_uplink_packet() argument
433 struct rmnet_priv *priv = netdev_priv(orig_dev); in rmnet_map_v4_checksum_uplink_packet()
440 if (unlikely(!(orig_dev->features & in rmnet_map_v4_checksum_uplink_packet()
475 struct net_device *orig_dev, in rmnet_map_checksum_uplink_packet() argument
480 rmnet_map_v4_checksum_uplink_packet(skb, orig_dev); in rmnet_map_checksum_uplink_packet()
483 rmnet_map_v5_checksum_uplink_packet(skb, port, orig_dev); in rmnet_map_checksum_uplink_packet()
Drmnet_map.h53 struct net_device *orig_dev,
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c325 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.1.9/include/net/
Dllc.h62 struct net_device *orig_dev);
101 struct net_device *orig_dev);
116 struct net_device *orig_dev));
Dswitchdev.h52 struct net_device *orig_dev; member
88 struct net_device *orig_dev; member
333 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev,
460 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument
Dpsnap.h14 struct net_device *orig_dev));
Dp8022.h14 struct net_device *orig_dev));
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c599 struct net_device *orig_dev, in mlxsw_sp_port_attr_stp_state_set() argument
610 orig_dev); in mlxsw_sp_port_attr_stp_state_set()
794 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_flags_set() argument
801 orig_dev); in mlxsw_sp_port_attr_br_flags_set()
867 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_set() argument
873 bridge_device = mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_attr_br_vlan_set()
885 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_proto_set() argument
891 bridge_device = mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_attr_br_vlan_proto_set()
900 struct net_device *orig_dev, in mlxsw_sp_port_attr_mrouter_set() argument
907 orig_dev); in mlxsw_sp_port_attr_mrouter_set()
[all …]
/linux-6.1.9/net/llc/
Dllc_input.c156 struct packet_type *pt, struct net_device *orig_dev) in llc_rcv() argument
200 rcv(skb, dev, pt, orig_dev); in llc_rcv()
207 rcv(cskb, dev, pt, orig_dev); in llc_rcv()
Dllc_core.c95 struct net_device *orig_dev)) in llc_sap_open() argument
/linux-6.1.9/net/802/
Dpsnap.c46 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()
Dp8022.c36 struct net_device *orig_dev)) in register_8022_client() argument
Dstp.c31 struct packet_type *pt, struct net_device *orig_dev) in stp_pdu_rcv() argument
/linux-6.1.9/drivers/net/hamradio/
Dbpqether.c170 …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.1.9/net/dsa/
Dslave.c491 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
497 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
503 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
510 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
516 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
522 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
529 if (!dsa_port_offloads_bridge_port(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
535 if (!dsa_port_offloads_bridge_dev(dp, attr->orig_dev)) in dsa_slave_port_attr_set()
643 if (!dsa_port_offloads_bridge_port(dp, obj->orig_dev)) in dsa_slave_port_obj_add()
649 if (!dsa_port_offloads_bridge_dev(dp, obj->orig_dev)) in dsa_slave_port_obj_add()
[all …]
/linux-6.1.9/net/switchdev/
Dswitchdev.c454 struct net_device *orig_dev, unsigned long event, in __switchdev_handle_fdb_event_to_device() argument
459 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
469 return mod_cb(dev, orig_dev, event, info->ctx, fdb_info); in __switchdev_handle_fdb_event_to_device()
487 err = __switchdev_handle_fdb_event_to_device(lower_dev, orig_dev, in __switchdev_handle_fdb_event_to_device()
509 return __switchdev_handle_fdb_event_to_device(br, orig_dev, event, fdb_info, in __switchdev_handle_fdb_event_to_device()
519 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_switchdev.c95 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()

123