Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
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
135 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event()
136 iboe = &hr_dev->iboe; in hns_roce_netdev_event()
139 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event()
157 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac()
248 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
250 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
252 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
[all …]
Dhns_roce_qp.c1290 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1329 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
Dhns_roce_device.h981 struct hns_roce_ib_iboe iboe; member
Dhns_roce_hw_v2.c5223 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6882 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6883 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
6886 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dmain.c258 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local
280 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_add_gid()
281 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
330 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
335 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid()
338 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid()
350 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local
362 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_del_gid()
363 spin_lock_bh(&iboe->lock); in mlx4_ib_del_gid()
390 spin_unlock_bh(&iboe->lock); in mlx4_ib_del_gid()
[all …]
Dqp.c1933 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index()
2997 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local
3001 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index()
3002 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index()
3005 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
Dmlx4_ib.h628 struct mlx4_ib_iboe iboe; member