Home
last modified time | relevance | path

Searched refs:lowerdev (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/
Dmacvlan.c549 dev_forward_skb(vlan->lowerdev, skb); in macvlan_queue_xmit()
555 skb->dev = vlan->lowerdev; in macvlan_queue_xmit()
601 struct net_device *lowerdev = vlan->lowerdev; in macvlan_hard_header() local
603 return dev_hard_header(skb, lowerdev, type, daddr, in macvlan_hard_header()
617 struct net_device *lowerdev = vlan->lowerdev; in macvlan_open() local
622 err = dev_set_promiscuity(lowerdev, 1); in macvlan_open()
636 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD) in macvlan_open()
638 lowerdev->netdev_ops->ndo_dfwd_add_station(lowerdev, dev); in macvlan_open()
645 err = dev_uc_add(lowerdev, dev->dev_addr); in macvlan_open()
651 err = dev_set_allmulti(lowerdev, 1); in macvlan_open()
[all …]
/linux-6.6.21/drivers/net/wireless/virtual/
Dvirt_wifi.c212 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-6.6.21/include/linux/
Dif_macvlan.h23 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-6.6.21/drivers/net/vxlan/
Dvxlan_core.c3073 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, in vxlan_change_mtu() local
3079 if (lowerdev) { in vxlan_change_mtu()
3080 int max_mtu = lowerdev->mtu - vxlan_headroom(vxlan->cfg.flags); in vxlan_change_mtu()
3370 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, in vxlan_get_link_ksettings() local
3373 if (!lowerdev) { in vxlan_get_link_ksettings()
3381 return __ethtool_get_link_ksettings(lowerdev, cmd); in vxlan_get_link_ksettings()
3664 struct net_device *lowerdev; in vxlan_config_validate() local
3666 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate()
3667 if (!lowerdev) { in vxlan_config_validate()
3675 struct inet6_dev *idev = __in6_dev_get(lowerdev); in vxlan_config_validate()
[all …]
/linux-6.6.21/drivers/s390/net/
Dqeth_l2_main.c757 struct net_device *lowerdev; in qeth_l2_br2dev_worker() local
775 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
776 while (lowerdev) { in qeth_l2_br2dev_worker()
777 if (br_port_flag_is_set(lowerdev, BR_ISOLATED)) { in qeth_l2_br2dev_worker()
780 err = dev_uc_add(lowerdev, addr); in qeth_l2_br2dev_worker()
783 err = dev_uc_del(lowerdev, addr); in qeth_l2_br2dev_worker()
792 lowerdev->ifindex); in qeth_l2_br2dev_worker()
795 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-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c423 return prestera_dev_if_type(vlan->lowerdev); in prestera_dev_if_type()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c9187 rif = mlxsw_sp_rif_find_by_dev(mlxsw_sp, vlan->lowerdev); in mlxsw_sp_rif_macvlan_add()
9221 rif = mlxsw_sp_rif_find_by_dev(mlxsw_sp, vlan->lowerdev); in __mlxsw_sp_rif_macvlan_del()