Home
last modified time | relevance | path

Searched refs:iboe (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_main.c59 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
98 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event()
128 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_netdev_event() local
133 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event()
134 iboe = &hr_dev->iboe; in hns_roce_netdev_event()
137 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
155 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
158 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
243 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
245 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
[all …]
Dhns_roce_qp.c241 hr_dev->iboe.phy_port[hr_qp->port]; in alloc_qpn()
1211 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1246 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
Dhns_roce_hw_v1.c854 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp()
1761 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid()
1779 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid()
3306 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v1_m_qp()
4545 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg()
4546 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg()
Dhns_roce_device.h954 struct hns_roce_ib_iboe iboe; member
Dhns_roce_hw_v2.c4946 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6304 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6305 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
6308 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/drivers/infiniband/hw/mlx4/
Dmain.c260 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local
282 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_add_gid()
283 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
333 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
338 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
341 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
353 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local
365 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_del_gid()
366 spin_lock_bh(&iboe->lock); in mlx4_ib_del_gid()
393 spin_unlock_bh(&iboe->lock); in mlx4_ib_del_gid()
[all …]
Dqp.c1898 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index()
2962 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local
2966 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
2967 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index()
2970 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
Dmlx4_ib.h627 struct mlx4_ib_iboe iboe; member