Home
last modified time | relevance | path

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

/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c61 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
136 iboe = &hr_dev->iboe; in hns_roce_netdev_event()
139 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
250 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
619 struct hns_roce_ib_iboe *iboe = &hr_dev->iboe; in hns_roce_unregister_device() local
716 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_register_device() local
721 iboe = &hr_dev->iboe; in hns_roce_register_device()
722 spin_lock_init(&iboe->lock); in hns_roce_register_device()
[all …]
H A Dhns_roce_qp.c1318 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1357 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
H A Dhns_roce_device.h978 struct hns_roce_ib_iboe iboe; member
H A Dhns_roce_hw_v2.c5277 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6990 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6991 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
6994 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmain.c258 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local
281 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
330 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
350 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local
363 spin_lock_bh(&iboe->lock); in mlx4_ib_del_gid()
402 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_gid_index_to_real_index() local
756 struct mlx4_ib_iboe *iboe = &mdev->iboe; in eth_link_query_port() local
789 spin_lock_bh(&iboe->lock); in eth_link_query_port()
2333 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_scan_netdev() local
2355 struct mlx4_ib_iboe *iboe = &mlx4_ibdev->iboe; in mlx4_ib_port_event() local
[all …]
H A Dqp.c1941 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index()
3005 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local
3009 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
3010 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index()
3013 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
H A Dmlx4_ib.h628 struct mlx4_ib_iboe iboe; member