/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 165 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 D | mad.c | 497 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 D | vport.c | 464 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 D | sriov.c | 47 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 D | eswitch.c | 772 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 D | vport.h | 76 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 D | driver.h | 460 u64 node_guid; member 909 u64 node_guid; member
|
/linux/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 160 __aligned_u64 node_guid; member 172 __aligned_u64 node_guid; member
|
/linux/drivers/infiniband/core/ |
H A D | sysfs.c | 1348 __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 D | ucma.c | 848 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 D | opa_smi.h | 83 __be64 node_guid; member
|
H A D | ib_smi.h | 101 __be64 node_guid; member
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | main.c | 245 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 D | qedr.h | 90 u64 node_guid; member
|
/linux/Documentation/devicetree/bindings/infiniband/ |
H A D | hisilicon-hns-roce.txt | 17 - node_guid: a number that uniquely identifies a device or component
|
/linux/drivers/infiniband/hw/mana/ |
H A D | device.c | 96 addrconf_addr_eui48((u8 *)&dev->ib_dev.node_guid, ndev->dev_addr); in mana_ib_probe()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.h | 218 u64 node_guid; member
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs.c | 610 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 D | switchdev.rst | 252 …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 D | mthca_cmd.h | 232 u64 node_guid; member
|
/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 305 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 D | ocrdma_main.c | 192 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in ocrdma_register_device()
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 302 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_dev_api.h | 214 __be64 node_guid; member
|
/linux/include/linux/qed/ |
H A D | qed_rdma_if.h | 57 u64 node_guid; member
|