Lines Matching refs:iboe
61 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
100 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()
130 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_netdev_event() local
135 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event()
136 iboe = &hr_dev->iboe; in hns_roce_netdev_event()
139 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
157 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
248 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
250 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
252 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
266 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
614 struct hns_roce_ib_iboe *iboe = &hr_dev->iboe; in hns_roce_unregister_device() local
617 unregister_netdevice_notifier(&iboe->nb); in hns_roce_unregister_device()
711 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_register_device() local
716 iboe = &hr_dev->iboe; in hns_roce_register_device()
717 spin_lock_init(&iboe->lock); in hns_roce_register_device()
753 if (!hr_dev->iboe.netdevs[i]) in hns_roce_register_device()
756 ret = ib_device_set_netdev(ib_dev, hr_dev->iboe.netdevs[i], in hns_roce_register_device()
774 iboe->nb.notifier_call = hns_roce_netdev_event; in hns_roce_register_device()
775 ret = register_netdevice_notifier(&iboe->nb); in hns_roce_register_device()