Searched refs:iboe (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 72 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 112 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event() 142 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_netdev_event() local 147 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event() 148 iboe = &hr_dev->iboe; in hns_roce_netdev_event() 151 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event() 169 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac() 172 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac() 251 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port() 253 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port() [all …]
|
D | hns_roce_qp.c | 1058 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp() 1063 hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp() 1113 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
|
D | hns_roce_hw_v1.c | 789 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp() 1752 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid() 1770 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid() 3305 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v1_m_qp() 4591 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg() 4592 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg()
|
D | hns_roce_device.h | 1010 struct hns_roce_ib_iboe iboe; member
|
D | hns_roce_hw_v2.c | 4378 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 6393 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg() 6394 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg() 6397 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 252 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local 269 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() local 342 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() local 402 spin_lock_irqsave(&iboe->lock, flags); in mlx4_ib_gid_index_to_real_index() [all …]
|
D | qp.c | 1956 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index() 3013 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local 3017 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index() 3018 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index() 3021 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
|
D | mlx4_ib.h | 600 struct mlx4_ib_iboe iboe; member
|