/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 72 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 112 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event() 142 struct hns_roce_ib_iboe *iboe = NULL; in hns_roce_netdev_event() local 147 hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); in hns_roce_netdev_event() 148 iboe = &hr_dev->iboe; in hns_roce_netdev_event() 151 if (dev == iboe->netdevs[port]) { in hns_roce_netdev_event() 169 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac() 172 hr_dev->iboe.netdevs[i]->dev_addr); in hns_roce_setup_mtu_mac() 250 spin_lock_irqsave(&hr_dev->iboe in hns_roce_query_port() 411 struct hns_roce_ib_iboe *iboe = &hr_dev->iboe; hns_roce_unregister_device() local 482 struct hns_roce_ib_iboe *iboe = NULL; hns_roce_register_device() local [all...] |
H A D | hns_roce_qp.c | 166 hr_dev->iboe.phy_port[hr_qp->port]; in alloc_qpn() 1045 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp() 1085 active_mtu = iboe_get_mtu(hr_dev->iboe.netdevs[p]->mtu); in check_mtu_validate()
|
H A D | hns_roce_hw_v1.c | 843 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp() 1753 spin_lock_irqsave(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid() 1771 spin_unlock_irqrestore(&hr_dev->iboe.lock, flags); in hns_roce_v1_set_gid() 3309 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v1_m_qp() 4559 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg() 4560 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg()
|
H A D | hns_roce_device.h | 971 struct hns_roce_ib_iboe iboe; member
|
H A D | hns_roce_hw_v2.c | 4749 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 6223 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg() 6224 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg() 6227 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 59 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 in hns_roce_query_port() 588 struct hns_roce_ib_iboe *iboe = &hr_dev->iboe; hns_roce_unregister_device() local 683 struct hns_roce_ib_iboe *iboe = NULL; hns_roce_register_device() local [all...] |
H A D | hns_roce_qp.c | 1226 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()
|
H A D | hns_roce_device.h | 929 struct hns_roce_ib_iboe iboe; member
|
H A D | hns_roce_hw_v2.c | 5136 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 6693 hr_dev->iboe.netdevs[0] = handle->rinfo.netdev; in hns_roce_hw_v2_get_cfg() 6694 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg() 6697 hr_dev->iboe.netdevs[0]->dev_addr); in hns_roce_hw_v2_get_cfg()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 259 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_add_gid() local 281 port_gid_table = &iboe->gids[attr->port_num - 1]; in mlx4_ib_add_gid() 282 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid() 332 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid() 337 spin_lock_bh(&iboe->lock); in mlx4_ib_add_gid() 340 spin_unlock_bh(&iboe->lock); in mlx4_ib_add_gid() 352 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in mlx4_ib_del_gid() local 364 port_gid_table = &iboe in mlx4_ib_del_gid() 404 struct mlx4_ib_iboe *iboe = &ibdev->iboe; mlx4_ib_gid_index_to_real_index() local 758 struct mlx4_ib_iboe *iboe = &mdev->iboe; eth_link_query_port() local 2318 struct mlx4_ib_iboe *iboe; mlx4_ib_scan_netdevs() local 2608 struct mlx4_ib_iboe *iboe; mlx4_ib_add() local [all...] |
H A D | qp.c | 1900 u64_mac = atomic64_read(&dev->iboe.mac[qp->port - 1]); in handle_eth_ud_smac_index() 2961 struct mlx4_ib_iboe *iboe = &ibdev->iboe; in fill_gid_by_hw_index() local 2965 port_gid_table = &iboe->gids[port_num - 1]; in fill_gid_by_hw_index() 2966 spin_lock_irqsave(&iboe->lock, flags); in fill_gid_by_hw_index() 2969 spin_unlock_irqrestore(&iboe->lock, flags); in fill_gid_by_hw_index()
|
H A D | mlx4_ib.h | 627 struct mlx4_ib_iboe iboe; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 258 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 in mlx4_ib_del_gid() 402 struct mlx4_ib_iboe *iboe = &ibdev->iboe; mlx4_ib_gid_index_to_real_index() local 756 struct mlx4_ib_iboe *iboe = &mdev->iboe; eth_link_query_port() local 2333 struct mlx4_ib_iboe *iboe = &ibdev->iboe; mlx4_ib_scan_netdev() local 2620 struct mlx4_ib_iboe *iboe; mlx4_ib_probe() local [all...] |
H A D | qp.c | 1933 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()
|
H A D | mlx4_ib.h | 628 struct mlx4_ib_iboe iboe; member
|