Searched refs:ip_dev (Results 1 – 2 of 2) sorted by relevance
1569 struct net_device *ip_dev = NULL; in irdma_netdev_vlan_ipv6() local1582 for_each_netdev_rcu (&init_net, ip_dev) { in irdma_netdev_vlan_ipv6()1583 if (ipv6_chk_addr(&init_net, &laddr6, ip_dev, 1)) { in irdma_netdev_vlan_ipv6()1585 *vlan_id = rdma_vlan_dev_vlan_id(ip_dev); in irdma_netdev_vlan_ipv6()1586 if (ip_dev->dev_addr && mac) in irdma_netdev_vlan_ipv6()1587 ether_addr_copy(mac, ip_dev->dev_addr); in irdma_netdev_vlan_ipv6()1593 return ip_dev; in irdma_netdev_vlan_ipv6()1627 struct net_device *ip_dev; in irdma_add_mqh_6() local1635 for_each_netdev(&init_net, ip_dev) { in irdma_add_mqh_6()1636 if (!(ip_dev->flags & IFF_UP)) in irdma_add_mqh_6()[all …]
340 struct net_device *ip_dev; in irdma_add_ipv6_addr() local346 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()