[HW, TOOLS] return system_image_guid
[mirror/winof/.git] / hw / mlx4 / kernel / hca / data.c
index ae97df3..46e8d17 100644 (file)
@@ -245,6 +245,7 @@ from_hca_cap(
        ca_attr_p->max_srq = hca_info_p->max_srq;\r
        ca_attr_p->max_srq_wrs = hca_info_p->max_srq_wr;\r
        ca_attr_p->max_srq_sges = hca_info_p->max_srq_sge;\r
+       ca_attr_p->system_image_guid = hca_info_p->sys_image_guid;\r
 \r
        ca_attr_p->local_ack_delay = hca_info_p->local_ca_ack_delay;\r
        ca_attr_p->bad_pkey_ctr_support = hca_info_p->device_cap_flags & IB_DEVICE_BAD_PKEY_CNTR;\r
@@ -255,6 +256,7 @@ from_hca_cap(
        ca_attr_p->change_primary_port  = hca_info_p->device_cap_flags & IB_DEVICE_CHANGE_PHY_PORT;\r
        ca_attr_p->modify_wr_depth      = hca_info_p->device_cap_flags & IB_DEVICE_RESIZE_MAX_WR;\r
        ca_attr_p->modify_srq_depth      = hca_info_p->device_cap_flags & IB_DEVICE_SRQ_RESIZE;\r
+       ca_attr_p->system_image_guid_support = hca_info_p->device_cap_flags & IB_DEVICE_SYS_IMAGE_GUID;\r
        ca_attr_p->hw_agents            = FALSE; // in the context of IBAL then agent is implemented on the host\r
 \r
        ca_attr_p->num_page_sizes = 1;\r