/drivers/infiniband/hw/mlx5/ |
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()
|
D | mad.c | 450 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()
|
D | mlx5_ib.h | 1367 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/ |
D | vport.c | 443 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()
|
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()
|
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 …]
|
D | eswitch.h | 159 u64 node_guid; member
|
/drivers/infiniband/core/ |
D | sysfs.c | 1344 __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);
|
D | ucma.c | 849 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/ |
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()
|
D | qedr.h | 90 u64 node_guid; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.h | 218 u64 node_guid; member
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs.c | 610 if (dev->ib_dev->node_guid == ib_dev->node_guid && in rtrs_ib_dev_find_or_add()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.h | 232 u64 node_guid; member
|
/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 305 if (device->ib_device->node_guid == cma_id->device->node_guid) in iser_device_find_by_ib_device()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 192 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in ocrdma_register_device()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_dev_api.h | 214 __be64 node_guid; member
|
D | pvrdma_main.c | 205 dev->ib_dev.node_guid = dev->dsr->caps.node_guid; in pvrdma_register_device()
|
/drivers/infiniband/sw/siw/ |
D | siw_main.c | 304 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
|
/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 104 addrconf_addr_eui48((u8 *)&ibdev->node_guid, dev->netdev->dev_addr); in erdma_device_register()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 533 addrconf_addr_eui48((u8 *)&dev->ibdev.node_guid, in c4iw_register_device()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 431 memcpy(&us_ibdev->ib_dev.node_guid, &gid.global.interface_id, in usnic_ib_device_add()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 572 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()
|
D | verbs.c | 1774 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/ |
D | rdma.c | 1194 if (ndev->device->node_guid == cm_id->device->node_guid && in nvmet_rdma_find_get_device()
|