[HCA] Add client reregister support.
[mirror/winof/.git] / hw / mt23108 / kernel / hca_verbs.c
index 993fdba..63625b2 100644 (file)
@@ -414,6 +414,10 @@ mlnx_modify_ca (
                hca_attr_mask |= HCA_ATTR_IS_VENDOR_CLS_SUP;\r
                hca_attr.is_vendor_cls_sup = (MT_bool)p_port_attr->cap.vend;\r
        }\r
+       if (modca_cmd & IB_CA_MOD_IS_CLIENT_REREGISTER_SUPPORTED) {\r
+               hca_attr_mask |= HCA_ATTR_IS_CLIENT_REREGISTRATION_SUP;\r
+               hca_attr.is_client_reregister_sup= (MT_bool)p_port_attr->cap.client_reregister;\r
+       }\r
        if (modca_cmd & IB_CA_MOD_QKEY_CTR) {\r
                if (p_port_attr->qkey_ctr == 0)\r
                        hca_attr.reset_qkey_counter = TRUE;\r