Home
last modified time | relevance | path

Searched refs:node_guid (Results 1 – 25 of 46) sorted by relevance

12

/drivers/infiniband/hw/mlx5/
Dib_virt.c165 in->node_guid = guid; in set_vf_node_guid()
168 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid()
211 struct ifla_vf_guid *node_guid, in mlx5_ib_get_vf_guid() argument
218 node_guid->guid = in mlx5_ib_get_vf_guid()
219 vfs_ctx[vf].node_guid_valid ? vfs_ctx[vf].node_guid : 0; in mlx5_ib_get_vf_guid()
Dmad.c450 int mlx5_query_mad_ifc_node_guid(struct mlx5_ib_dev *dev, __be64 *node_guid) in mlx5_query_mad_ifc_node_guid() argument
468 memcpy(node_guid, out_mad->data + 12, 8); in mlx5_query_mad_ifc_node_guid()
Dmlx5_ib.h1367 int mlx5_query_mad_ifc_node_guid(struct mlx5_ib_dev *dev, __be64 *node_guid);
1472 struct ifla_vf_guid *node_guid,
/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c443 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid) in mlx5_query_nic_vport_node_guid() argument
454 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
455 nic_vport_context.node_guid); in mlx5_query_nic_vport_node_guid()
464 u16 vport, u64 node_guid) in mlx5_modify_nic_vport_node_guid() argument
479 field_select.node_guid, 1); in mlx5_modify_nic_vport_node_guid()
485 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
697 rep->node_guid = MLX5_GET64_PR(hca_vport_context, ctx, node_guid); in mlx5_query_hca_vport_context()
746 u64 *node_guid) in mlx5_query_hca_vport_node_guid() argument
757 *node_guid = rep->node_guid; in mlx5_query_hca_vport_node_guid()
1063 MLX5_SET64(hca_vport_context, ctx, node_guid, req->node_guid); in mlx5_core_modify_hca_vport_context()
Dsriov.c47 if (sriov->vfs_ctx[vf].node_guid || in sriov_restore_guids()
54 in->node_guid = sriov->vfs_ctx[vf].node_guid; in sriov_restore_guids()
59 !!(in->node_guid) * MLX5_HCA_VPORT_SEL_NODE_GUID | in sriov_restore_guids()
Deswitch.c772 static void node_guid_gen_from_mac(u64 *node_guid, const u8 *mac) in node_guid_gen_from_mac() argument
774 ((u8 *)node_guid)[7] = mac[0]; in node_guid_gen_from_mac()
775 ((u8 *)node_guid)[6] = mac[1]; in node_guid_gen_from_mac()
776 ((u8 *)node_guid)[5] = mac[2]; in node_guid_gen_from_mac()
777 ((u8 *)node_guid)[4] = 0xff; in node_guid_gen_from_mac()
778 ((u8 *)node_guid)[3] = 0xfe; in node_guid_gen_from_mac()
779 ((u8 *)node_guid)[2] = mac[3]; in node_guid_gen_from_mac()
780 ((u8 *)node_guid)[1] = mac[4]; in node_guid_gen_from_mac()
781 ((u8 *)node_guid)[0] = mac[5]; in node_guid_gen_from_mac()
870 vport->info.node_guid); in esw_vport_setup()
[all …]
Deswitch.h159 u64 node_guid; member
/drivers/infiniband/core/
Dsysfs.c1344 __be16 *node_guid = (__be16 *)&dev->node_guid; in node_guid_show() local
1347 be16_to_cpu(node_guid[0]), in node_guid_show()
1348 be16_to_cpu(node_guid[1]), in node_guid_show()
1349 be16_to_cpu(node_guid[2]), in node_guid_show()
1350 be16_to_cpu(node_guid[3])); in node_guid_show()
1352 static DEVICE_ATTR_RO(node_guid);
Ducma.c849 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid; in ucma_query_route()
876 resp->node_guid = (__force __u64) cm_id->device->node_guid; in ucma_query_device_addr()
/drivers/infiniband/hw/qedr/
Dmain.c245 dev->ibdev.node_guid = dev->attr.node_guid; in qedr_register_device()
603 attr->node_guid = qed_attr->node_guid; in qedr_set_device_attr()
Dqedr.h90 u64 node_guid; member
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h218 u64 node_guid; member
/drivers/infiniband/ulp/rtrs/
Drtrs.c610 if (dev->ib_dev->node_guid == ib_dev->node_guid && in rtrs_ib_dev_find_or_add()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.h232 u64 node_guid; member
/drivers/infiniband/ulp/iser/
Diser_verbs.c305 if (device->ib_device->node_guid == cma_id->device->node_guid) in iser_device_find_by_ib_device()
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c192 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in ocrdma_register_device()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_dev_api.h214 __be64 node_guid; member
Dpvrdma_main.c205 dev->ib_dev.node_guid = dev->dsr->caps.node_guid; in pvrdma_register_device()
/drivers/infiniband/sw/siw/
Dsiw_main.c304 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
/drivers/infiniband/hw/erdma/
Derdma_main.c104 addrconf_addr_eui48((u8 *)&ibdev->node_guid, dev->netdev->dev_addr); in erdma_device_register()
/drivers/infiniband/hw/cxgb4/
Dprovider.c533 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in c4iw_register_device()
/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c431 memcpy(&us_ibdev->ib_dev.node_guid, &gid.global.interface_id, in usnic_ib_device_add()
/drivers/infiniband/hw/hfi1/
Dmad.c572 if (am || pidx >= dd->num_pports || ibdev->node_guid == 0 || in __subn_get_opa_nodeinfo()
586 ni->node_guid = ibdev->node_guid; in __subn_get_opa_nodeinfo()
610 ibdev->node_guid == 0 || in subn_get_nodeinfo()
623 nip->node_guid = ibdev->node_guid; in subn_get_nodeinfo()
Dverbs.c1774 ibdev->node_guid = get_sguid(ibp, HFI1_PORT_GUID_INDEX); in hfi1_register_ib_device()
1782 ib_hfi1_sys_image_guid = ibdev->node_guid; in hfi1_register_ib_device()
/drivers/nvme/target/
Drdma.c1194 if (ndev->device->node_guid == cm_id->device->node_guid && in nvmet_rdma_find_get_device()

12