/linux/drivers/net/ethernet/ti/ |
A D | cpsw_switchdev.c | 59 struct net_device *orig_dev, in cpsw_port_attr_br_flags_set() argument 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 255 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlans_add() 271 struct net_device *orig_dev = mdb->obj.orig_dev; in cpsw_port_mdb_add() local 272 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_mdb_add() [all …]
|
A D | am65-cpsw-switchdev.c | 57 struct net_device *orig_dev, in am65_cpsw_port_attr_br_flags_set() argument 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 240 bool cpu_port = netif_is_bridge_master(orig_dev); in am65_cpsw_port_vlans_add() 263 struct net_device *orig_dev = mdb->obj.orig_dev; in am65_cpsw_port_mdb_add() local 264 bool cpu_port = netif_is_bridge_master(orig_dev); in am65_cpsw_port_mdb_add() [all …]
|
/linux/net/bridge/ |
A 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()
|
A D | br_switchdev.c | 83 .orig_dev = p->dev, in br_switchdev_set_port_flag() 166 .obj.orig_dev = dev, in br_switchdev_port_vlan_add() 178 .obj.orig_dev = dev, in br_switchdev_port_vlan_del() 403 .obj.orig_dev = dev, in br_switchdev_vlan_replay() 479 .orig_dev = dev, in br_switchdev_host_mdb_one() 528 struct net_device *orig_dev) in br_switchdev_mdb_queue_one() argument 537 mdb->obj.orig_dev = orig_dev; in br_switchdev_mdb_queue_one() 562 mdb.obj.orig_dev = pg->key.port->dev; in br_switchdev_mdb_notify()
|
/linux/drivers/net/ethernet/qualcomm/rmnet/ |
A 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() 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()
|
A D | rmnet_map_data.c | 244 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() 433 struct net_device *orig_dev) in rmnet_map_v4_checksum_uplink_packet() argument 435 struct rmnet_priv *priv = netdev_priv(orig_dev); in rmnet_map_v4_checksum_uplink_packet() 442 if (unlikely(!(orig_dev->features & in rmnet_map_v4_checksum_uplink_packet() 477 struct net_device *orig_dev, in rmnet_map_checksum_uplink_packet() argument 482 rmnet_map_v4_checksum_uplink_packet(skb, orig_dev); in rmnet_map_checksum_uplink_packet() 485 rmnet_map_v5_checksum_uplink_packet(skb, port, orig_dev); in rmnet_map_checksum_uplink_packet()
|
A D | rmnet_map.h | 53 struct net_device *orig_dev,
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_switchdev.c | 559 orig_dev); in mlxsw_sp_port_attr_stp_state_set() 692 orig_dev); in mlxsw_sp_port_attr_br_flags_set() 798 orig_dev); in mlxsw_sp_port_attr_mrouter_set() 943 attr->orig_dev, in mlxsw_sp_port_attr_set() 948 attr->orig_dev, in mlxsw_sp_port_attr_set() 958 attr->orig_dev, in mlxsw_sp_port_attr_set() 963 attr->orig_dev, in mlxsw_sp_port_attr_set() 1231 struct net_device *orig_dev = vlan->obj.orig_dev; in mlxsw_sp_port_vlans_add() local 1690 struct net_device *orig_dev = mdb->obj.orig_dev; in mlxsw_sp_port_mdb_add() local 1834 struct net_device *orig_dev = vlan->obj.orig_dev; in mlxsw_sp_port_vlans_del() local [all …]
|
/linux/include/net/ |
A D | switchdev.h | 39 struct net_device *orig_dev; member 72 struct net_device *orig_dev; member 307 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, 310 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, 422 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument 425 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
|
A D | llc.h | 62 struct net_device *orig_dev); 101 struct net_device *orig_dev); 116 struct net_device *orig_dev));
|
A D | psnap.h | 9 struct net_device *orig_dev));
|
A D | p8022.h | 9 struct net_device *orig_dev));
|
A D | dn_route.h | 16 struct packet_type *pt, struct net_device *orig_dev);
|
/linux/net/switchdev/ |
A D | switchdev.c | 432 struct net_device *orig_dev, unsigned long event, in __switchdev_handle_fdb_event_to_device() argument 437 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device() 440 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device() 450 return mod_cb(dev, orig_dev, event, info->ctx, fdb_info); in __switchdev_handle_fdb_event_to_device() 460 return lag_mod_cb(dev, orig_dev, event, info->ctx, fdb_info); in __switchdev_handle_fdb_event_to_device() 484 err = __switchdev_handle_fdb_event_to_device(lower_dev, orig_dev, in __switchdev_handle_fdb_event_to_device() 506 return __switchdev_handle_fdb_event_to_device(br, orig_dev, event, fdb_info, in __switchdev_handle_fdb_event_to_device() 516 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device() argument 519 int (*lag_mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
|
/linux/net/llc/ |
A D | llc_input.c | 156 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()
|
A D | llc_core.c | 95 struct net_device *orig_dev)) in llc_sap_open() argument
|
/linux/drivers/net/hamradio/ |
A 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/net/802/ |
A 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()
|
A D | p8022.c | 36 struct net_device *orig_dev)) in register_8022_client() argument
|
A D | stp.c | 31 struct packet_type *pt, struct net_device *orig_dev) in stp_pdu_rcv() argument
|
/linux/net/dsa/ |
A D | slave.c | 292 if (!dsa_port_offloads_bridge(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 299 if (!dsa_port_offloads_bridge(dp, attr->orig_dev)) in dsa_slave_port_attr_set() 412 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_add() 424 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_add() 430 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_add() 486 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_del() 498 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_del() 504 if (!dsa_port_offloads_bridge(dp, obj->orig_dev)) in dsa_slave_port_obj_del() 2475 struct net_device *orig_dev, in dsa_slave_fdb_event() argument 2490 if (dsa_slave_dev_check(orig_dev) && in dsa_slave_fdb_event() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_switchdev.c | 728 err = prestera_port_attr_stp_state_set(port, attr->orig_dev, in prestera_port_obj_attr_set() 737 err = prestera_port_attr_br_flags_set(port, attr->orig_dev, in prestera_port_obj_attr_set() 745 err = prestera_port_attr_br_vlan_set(port, attr->orig_dev, in prestera_port_obj_attr_set() 1030 struct net_device *orig_dev = vlan->obj.orig_dev; in prestera_port_vlans_add() local 1035 if (netif_is_bridge_master(orig_dev)) in prestera_port_vlans_add() 1070 struct net_device *orig_dev = vlan->obj.orig_dev; in prestera_port_vlans_del() local 1074 if (netif_is_bridge_master(orig_dev)) in prestera_port_vlans_del()
|
/linux/net/x25/ |
A D | x25_dev.c | 95 struct packet_type *ptype, struct net_device *orig_dev) in x25_lapb_receive_frame() argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_priv.h | 99 struct net_device *orig_dev; /* netdev adding flow first */ member
|
/linux/net/batman-adv/ |
A D | main.h | 248 struct net_device *orig_dev);
|