Home
last modified time | relevance | path

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

/Linux-v6.6/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()
240 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
242 net_dev = hr_dev->iboe.netdevs[port]; in hns_roce_query_port()
244 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_query_port()
[all …]
Dhns_roce_qp.c1226 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1261 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
Dhns_roce_device.h928 struct hns_roce_ib_iboe iboe; member
Dhns_roce_hw_v2.c5117 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6674 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg()
6675 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
6678 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
/Linux-v6.6/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