Searched refs:iboe (Results 1 – 8 of 8) sorted by relevance
73 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()87 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_add_gid()91 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_add_gid()107 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_del_gid()111 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_del_gid()123 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()153 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_netdev_event() local158 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event()159 iboe = &hr_dev->iboe; in hns_roce_netdev_event()162 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()[all …]
878 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()883 hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()979 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in hns_roce_modify_qp()
805 struct hns_roce_ib_iboe iboe; member
781 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp()3341 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v1_m_qp()4937 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg()4938 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg()
3631 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_modify_qp()5244 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()5245 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()5248 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
252 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local269 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_add_gid()270 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()316 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()330 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local342 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_del_gid()343 spin_lock_bh(&iboe->lock); in mlx4_ib_del_gid()373 spin_unlock_bh(&iboe->lock); in mlx4_ib_del_gid()385 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_gid_index_to_real_index() local402 spin_lock_irqsave(&iboe->lock, flags); in mlx4_ib_gid_index_to_real_index()[all …]
1871 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index()2929 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local2933 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()2934 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index()2937 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
603 struct mlx4_ib_iboe iboe; member