Home
last modified time | relevance | path

Searched refs:ip_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dcm.c1567 struct net_device *ip_dev = NULL; in irdma_netdev_vlan_ipv6() local
1580 for_each_netdev_rcu (&init_net, ip_dev) { in irdma_netdev_vlan_ipv6()
1581 if (ipv6_chk_addr(&init_net, &laddr6, ip_dev, 1)) { in irdma_netdev_vlan_ipv6()
1583 *vlan_id = rdma_vlan_dev_vlan_id(ip_dev); in irdma_netdev_vlan_ipv6()
1584 if (ip_dev->dev_addr && mac) in irdma_netdev_vlan_ipv6()
1585 ether_addr_copy(mac, ip_dev->dev_addr); in irdma_netdev_vlan_ipv6()
1591 return ip_dev; in irdma_netdev_vlan_ipv6()
1625 struct net_device *ip_dev; in irdma_add_mqh_6() local
1633 for_each_netdev(&init_net, ip_dev) { in irdma_add_mqh_6()
1634 if (!(ip_dev->flags & IFF_UP)) in irdma_add_mqh_6()
[all …]
Dutils.c340 struct net_device *ip_dev; in irdma_add_ipv6_addr() local
346 for_each_netdev_rcu (&init_net, ip_dev) { in irdma_add_ipv6_addr()
347 if (((rdma_vlan_dev_vlan_id(ip_dev) < 0xFFFF && in irdma_add_ipv6_addr()
348 rdma_vlan_dev_real_dev(ip_dev) == iwdev->netdev) || in irdma_add_ipv6_addr()
349 ip_dev == iwdev->netdev) && in irdma_add_ipv6_addr()
350 (READ_ONCE(ip_dev->flags) & IFF_UP)) { in irdma_add_ipv6_addr()
351 idev = __in6_dev_get(ip_dev); in irdma_add_ipv6_addr()
361 rdma_vlan_dev_vlan_id(ip_dev), in irdma_add_ipv6_addr()
362 ip_dev->dev_addr); in irdma_add_ipv6_addr()
367 ip_dev->dev_addr, in irdma_add_ipv6_addr()