Searched refs:lowerdev (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/ |
D | macvlan.c | 540 dev_forward_skb(vlan->lowerdev, skb); in macvlan_queue_xmit() 546 skb->dev = vlan->lowerdev; in macvlan_queue_xmit() 592 struct net_device *lowerdev = vlan->lowerdev; in macvlan_hard_header() local 594 return dev_hard_header(skb, lowerdev, type, daddr, in macvlan_hard_header() 608 struct net_device *lowerdev = vlan->lowerdev; in macvlan_open() local 613 err = dev_set_promiscuity(lowerdev, 1); in macvlan_open() 627 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD) in macvlan_open() 629 lowerdev->netdev_ops->ndo_dfwd_add_station(lowerdev, dev); in macvlan_open() 636 err = dev_uc_add(lowerdev, dev->dev_addr); in macvlan_open() 642 err = dev_set_allmulti(lowerdev, 1); in macvlan_open() [all …]
|
/linux-5.19.10/drivers/net/wireless/ |
D | virt_wifi.c | 212 struct net_device *lowerdev; member 422 skb->dev = priv->lowerdev; in virt_wifi_start_xmit() 456 return priv->lowerdev->ifindex; in virt_wifi_net_device_get_iflink() 521 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink() 524 if (!priv->lowerdev) in virt_wifi_newlink() 527 dev->mtu = priv->lowerdev->mtu; in virt_wifi_newlink() 528 else if (dev->mtu > priv->lowerdev->mtu) in virt_wifi_newlink() 531 err = netdev_rx_handler_register(priv->lowerdev, virt_wifi_rx_handler, in virt_wifi_newlink() 534 dev_err(&priv->lowerdev->dev, in virt_wifi_newlink() 539 eth_hw_addr_inherit(dev, priv->lowerdev); in virt_wifi_newlink() [all …]
|
/linux-5.19.10/include/linux/ |
D | if_macvlan.h | 23 struct net_device *lowerdev; member 76 return macvlan->lowerdev; in macvlan_dev_real_dev() 108 return dev_uc_add(macvlan->lowerdev, dev->dev_addr); in macvlan_release_l2fw_offload()
|
/linux-5.19.10/drivers/net/vxlan/ |
D | vxlan_core.c | 3031 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, in vxlan_change_mtu() local 3038 if (lowerdev) { in vxlan_change_mtu() 3039 int max_mtu = lowerdev->mtu - in vxlan_change_mtu() 3325 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, in vxlan_get_link_ksettings() local 3328 if (!lowerdev) { in vxlan_get_link_ksettings() 3336 return __ethtool_get_link_ksettings(lowerdev, cmd); in vxlan_get_link_ksettings() 3614 struct net_device *lowerdev; in vxlan_config_validate() local 3616 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate() 3617 if (!lowerdev) { in vxlan_config_validate() 3625 struct inet6_dev *idev = __in6_dev_get(lowerdev); in vxlan_config_validate() [all …]
|
/linux-5.19.10/drivers/s390/net/ |
D | qeth_l2_main.c | 757 struct net_device *lowerdev; in qeth_l2_br2dev_worker() local 776 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker() 777 while (lowerdev) { in qeth_l2_br2dev_worker() 778 if (br_port_flag_is_set(lowerdev, BR_ISOLATED)) { in qeth_l2_br2dev_worker() 781 err = dev_uc_add(lowerdev, addr); in qeth_l2_br2dev_worker() 784 err = dev_uc_del(lowerdev, addr); in qeth_l2_br2dev_worker() 793 lowerdev->ifindex); in qeth_l2_br2dev_worker() 796 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker() 852 struct net_device *dstdev, *brdev, *lowerdev; in qeth_l2_switchdev_event() local 871 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_switchdev_event() [all …]
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 9050 rif = mlxsw_sp_rif_find_by_dev(mlxsw_sp, vlan->lowerdev); in mlxsw_sp_rif_macvlan_add() 9086 rif = mlxsw_sp_rif_find_by_dev(mlxsw_sp, vlan->lowerdev); in __mlxsw_sp_rif_macvlan_del()
|