Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.c449 int mlx5_query_mad_ifc_node_guid(struct mlx5_ib_dev *dev, __be64 *node_guid) in mlx5_query_mad_ifc_node_guid() argument
467 memcpy(node_guid, out_mad->data + 12, 8); in mlx5_query_mad_ifc_node_guid()
/linux-6.1.9/include/linux/mlx5/
Dvport.h75 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid);
77 u16 vport, u64 node_guid);
93 u64 *node_guid);
Ddriver.h458 u64 node_guid; member
875 u64 node_guid; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c442 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid) in mlx5_query_nic_vport_node_guid() argument
453 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
454 nic_vport_context.node_guid); in mlx5_query_nic_vport_node_guid()
463 u16 vport, u64 node_guid) in mlx5_modify_nic_vport_node_guid() argument
478 field_select.node_guid, 1); in mlx5_modify_nic_vport_node_guid()
484 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
696 rep->node_guid = MLX5_GET64_PR(hca_vport_context, ctx, node_guid); in mlx5_query_hca_vport_context()
745 u64 *node_guid) in mlx5_query_hca_vport_node_guid() argument
756 *node_guid = rep->node_guid; in mlx5_query_hca_vport_node_guid()
1062 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.c752 static void node_guid_gen_from_mac(u64 *node_guid, const u8 *mac) in node_guid_gen_from_mac() argument
754 ((u8 *)node_guid)[7] = mac[0]; in node_guid_gen_from_mac()
755 ((u8 *)node_guid)[6] = mac[1]; in node_guid_gen_from_mac()
756 ((u8 *)node_guid)[5] = mac[2]; in node_guid_gen_from_mac()
757 ((u8 *)node_guid)[4] = 0xff; in node_guid_gen_from_mac()
758 ((u8 *)node_guid)[3] = 0xfe; in node_guid_gen_from_mac()
759 ((u8 *)node_guid)[2] = mac[3]; in node_guid_gen_from_mac()
760 ((u8 *)node_guid)[1] = mac[4]; in node_guid_gen_from_mac()
761 ((u8 *)node_guid)[0] = mac[5]; in node_guid_gen_from_mac()
806 vport->info.node_guid); in esw_vport_setup()
[all …]
/linux-6.1.9/include/uapi/rdma/
Drdma_user_cm.h160 __aligned_u64 node_guid; member
172 __aligned_u64 node_guid; member
/linux-6.1.9/include/rdma/
Dopa_smi.h83 __be64 node_guid; member
Dib_smi.h101 __be64 node_guid; member
/linux-6.1.9/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()
/linux-6.1.9/Documentation/devicetree/bindings/infiniband/
Dhisilicon-hns-roce.txt17 - node_guid: a number that uniquely identifies a device or component
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_main.c320 addrconf_addr_eui48((unsigned char *)&base_dev->node_guid, in siw_device_create()
331 addrconf_addr_eui48((unsigned char *)&base_dev->node_guid, in siw_device_create()
/linux-6.1.9/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
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dfw.h218 u64 node_guid; member
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs.c616 if (dev->ib_dev->node_guid == ib_dev->node_guid && in rtrs_ib_dev_find_or_add()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_cmd.h232 u64 node_guid; member
/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_verbs.c312 if (device->ib_device->node_guid == cma_id->device->node_guid) in iser_device_find_by_ib_device()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_main.c192 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in ocrdma_register_device()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h57 u64 node_guid; member
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_main.c104 addrconf_addr_eui48((u8 *)&ibdev->node_guid, dev->netdev->dev_addr); in erdma_device_register()

123