]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[IBAL] Compliance tests
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 7 Nov 2006 06:54:25 +0000 (06:54 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 7 Nov 2006 06:54:25 +0000 (06:54 +0000)
1. pass switch_info to the HCA - compliance test C13-026
2. Not use AL cashe for node_description node_info to force Mkey check -compliance test C14-018

git-svn-id: svn://openib.tc.cornell.edu/gen1@538 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/core/al/kernel/al_smi.c

index 94897371896fb4d24af893e5fb8a6edcb0c75962..d15944c60a693799c1027964e1081d24bbebce6f 100644 (file)
@@ -1387,7 +1387,9 @@ local_mad_send(
                {\r
                case IB_MCLASS_SUBN_DIR:\r
                case IB_MCLASS_SUBN_LID:\r
-                       status = process_subn_mad( p_spl_qp_svc, p_mad_wr );\r
+                       //DO not use the cache in order to force Mkey  check\r
+                       //status = process_subn_mad( p_spl_qp_svc, p_mad_wr );\r
+                       status = IB_NOT_DONE;\r
                        break;\r
 \r
                default:\r
@@ -2405,6 +2407,7 @@ route_recv_smp_attr(
        case IB_MAD_ATTR_VL_ARBITRATION:\r
        case IB_MAD_ATTR_VENDOR_DIAG:\r
        case IB_MAD_ATTR_LED_INFO:\r
+       case IB_MAD_ATTR_SWITCH_INFO:\r
                route = ROUTE_LOCAL;\r
                break;\r
 \r