Home
last modified time | relevance | path

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

/linux-6.1.9/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->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
237 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
239 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
241 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
[all …]
Dhns_roce_qp.c1274 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1309 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
Dhns_roce_device.h915 struct hns_roce_ib_iboe iboe; member
Dhns_roce_hw_v2.c5276 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6820 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6821 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
6824 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmain.c252 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local
274 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_add_gid()
275 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
325 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
330 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
333 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
345 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local
357 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_del_gid()
358 spin_lock_bh(&iboe->lock); in mlx4_ib_del_gid()
385 spin_unlock_bh(&iboe->lock); in mlx4_ib_del_gid()
[all …]
Dqp.c1894 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index()
2958 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local
2962 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
2963 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index()
2966 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
Dmlx4_ib.h627 struct mlx4_ib_iboe iboe; member