Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
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
255 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlans_add()
264 return cpsw_port_vlan_add(priv, untag, pvid, vlan->vid, orig_dev); in cpsw_port_vlans_add()
[all …]
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
240 bool cpu_port = netif_is_bridge_master(orig_dev); in am65_cpsw_port_vlans_add()
249 return am65_cpsw_port_vlan_add(port, untag, pvid, vlan->vid, orig_dev); in am65_cpsw_port_vlans_add()
[all …]
/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()
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()
Drmnet_map.h53 struct net_device *orig_dev,
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c548 struct net_device *orig_dev, in mlxsw_sp_port_attr_stp_state_set() argument
559 orig_dev); in mlxsw_sp_port_attr_stp_state_set()
685 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_flags_set() argument
692 orig_dev); in mlxsw_sp_port_attr_br_flags_set()
758 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_set() argument
764 bridge_device = mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_attr_br_vlan_set()
776 struct net_device *orig_dev, in mlxsw_sp_port_attr_br_vlan_proto_set() argument
782 bridge_device = mlxsw_sp_bridge_device_find(mlxsw_sp->bridge, orig_dev); in mlxsw_sp_port_attr_br_vlan_proto_set()
791 struct net_device *orig_dev, in mlxsw_sp_port_attr_mrouter_set() argument
798 orig_dev); in mlxsw_sp_port_attr_mrouter_set()
[all …]
/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()
/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c728 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()
/drivers/net/
Dvrf.c1298 u16 proto, struct net_device *orig_dev) in vrf_add_mac_header_if_unset() argument
1300 if (skb_mac_header_was_set(skb) && dev_has_header(orig_dev)) in vrf_add_mac_header_if_unset()
1406 struct net_device *orig_dev = skb->dev; in vrf_ip6_rcv() local
1417 orig_dev); in vrf_ip6_rcv()
1447 struct net_device *orig_dev = skb->dev; in vrf_ip_rcv() local
1470 orig_dev); in vrf_ip_rcv()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h99 struct net_device *orig_dev; /* netdev adding flow first */ member
/drivers/block/aoe/
Daoenet.c131 …v(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *orig_dev) in aoenet_rcv() argument
/drivers/net/wan/
Dhdlc.c46 struct packet_type *p, struct net_device *orig_dev) in hdlc_rcv() argument
Dlapbether.c111 struct packet_type *ptype, struct net_device *orig_dev) in lapbeth_rcv() argument
/drivers/net/ppp/
Dpppoe.c414 struct packet_type *pt, struct net_device *orig_dev) in pppoe_rcv() argument
482 struct packet_type *pt, struct net_device *orig_dev) in pppoe_disc_rcv() argument
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c3345 struct net_device *orig_dev = dev; in netxen_netdev_event() local
3365 orig_dev, event); in netxen_netdev_event()
3373 if (orig_dev == dev) in netxen_netdev_event()
3375 netxen_config_indev_addr(adapter, orig_dev, event); in netxen_netdev_event()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c940 .obj.orig_dev = netdev, in dpaa2_switch_port_vlan_add()
954 .obj.orig_dev = netdev, in dpaa2_switch_port_vlan_kill()
1918 if (netif_is_bridge_master(vlan->obj.orig_dev)) in dpaa2_switch_port_vlans_del()
/drivers/scsi/fcoe/
Dfcoe.c509 struct net_device *orig_dev) in fcoe_fip_recv() argument
532 struct net_device *orig_dev) in fcoe_fip_vlan_recv() argument
/drivers/net/wireless/broadcom/b43/
Dmain.c4324 struct b43_wldev *orig_dev; in b43_wireless_core_stop() local
4360 orig_dev = dev; in b43_wireless_core_stop()
4370 if (dev != orig_dev) { in b43_wireless_core_stop()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c1061 struct net_device *orig_dev) in bnx2fc_fip_recv() argument
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4622 if (is_flow_rule_duplicate_allowed(dev, rpriv) && flow->orig_dev != dev) in mlx5e_configure_flower()
4647 flow->orig_dev = dev; in mlx5e_configure_flower()
/drivers/net/ethernet/rocker/
Drocker_main.c1641 if (netif_is_bridge_master(vlan->obj.orig_dev)) in rocker_world_port_obj_vlan_del()