Home
last modified time | relevance | path

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

123

/linux/drivers/infiniband/hw/mlx5/
H A 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()
H A Dmad.c497 int mlx5_query_mad_ifc_node_guid(struct mlx5_ib_dev *dev, __be64 *node_guid) in mlx5_query_mad_ifc_node_guid() argument
515 memcpy(node_guid, out_mad->data + 12, 8); in mlx5_query_mad_ifc_node_guid()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c464 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid) in mlx5_query_nic_vport_node_guid() argument
475 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
476 nic_vport_context.node_guid); in mlx5_query_nic_vport_node_guid()
485 u16 vport, u64 node_guid) in mlx5_modify_nic_vport_node_guid() argument
500 field_select.node_guid, 1); in mlx5_modify_nic_vport_node_guid()
506 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
718 rep->node_guid = MLX5_GET64_PR(hca_vport_context, ctx, node_guid); in mlx5_query_hca_vport_context()
768 u64 *node_guid) in mlx5_query_hca_vport_node_guid() argument
779 *node_guid = rep->node_guid; in mlx5_query_hca_vport_node_guid()
1085 MLX5_SET64(hca_vport_context, ctx, node_guid, req->node_guid); in mlx5_core_modify_hca_vport_context()
H A 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()
H A 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 …]
/linux/include/linux/mlx5/
H A Dvport.h76 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid);
78 u16 vport, u64 node_guid);
94 u64 *node_guid);
H A Ddriver.h460 u64 node_guid; member
909 u64 node_guid; member
/linux/include/uapi/rdma/
H A Drdma_user_cm.h160 __aligned_u64 node_guid; member
172 __aligned_u64 node_guid; member
/linux/drivers/infiniband/core/
H A Dsysfs.c1348 __be16 *node_guid = (__be16 *)&dev->node_guid; in node_guid_show() local
1351 be16_to_cpu(node_guid[0]), in node_guid_show()
1352 be16_to_cpu(node_guid[1]), in node_guid_show()
1353 be16_to_cpu(node_guid[2]), in node_guid_show()
1354 be16_to_cpu(node_guid[3])); in node_guid_show()
1356 static DEVICE_ATTR_RO(node_guid);
H A Ducma.c848 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid; in ucma_query_route()
875 resp->node_guid = (__force __u64) cm_id->device->node_guid; in ucma_query_device_addr()
/linux/include/rdma/
H A Dopa_smi.h83 __be64 node_guid; member
H A Dib_smi.h101 __be64 node_guid; member
/linux/drivers/infiniband/hw/qedr/
H A 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()
H A Dqedr.h90 u64 node_guid; member
/linux/Documentation/devicetree/bindings/infiniband/
H A Dhisilicon-hns-roce.txt17 - node_guid: a number that uniquely identifies a device or component
/linux/drivers/infiniband/hw/mana/
H A Ddevice.c96 addrconf_addr_eui48((u8 *)&dev->ib_dev.node_guid, ndev->dev_addr); in mana_ib_probe()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h218 u64 node_guid; member
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c610 if (dev->ib_dev->node_guid == ib_dev->node_guid && in rtrs_ib_dev_find_or_add()
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dswitchdev.rst252 …8: rocep6s0f1: node_type ca fw 16.29.0550 node_guid 248a:0703:00b3:d113 sys_image_guid 248a:0703:0…
253 …13: mlx5_0: node_type ca fw 16.29.0550 node_guid 0000:00ff:fe00:8888 sys_image_guid 248a:0703:00b3…
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.h232 u64 node_guid; member
/linux/drivers/infiniband/ulp/iser/
H A Diser_verbs.c305 if (device->ib_device->node_guid == cma_id->device->node_guid) in iser_device_find_by_ib_device()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c192 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in ocrdma_register_device()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c302 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h214 __be64 node_guid; member
/linux/include/linux/qed/
H A Dqed_rdma_if.h57 u64 node_guid; member

123