[AL] disable check_av_port due to mthca proble. When registering mad svc, port num...
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 9 Sep 2008 12:41:57 +0000 (12:41 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 9 Sep 2008 12:41:57 +0000 (12:41 +0000)
signed off by: Reuven@mellanox.co.il

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

core/al/al_av.c

index b94162e..fd21688 100644 (file)
@@ -153,12 +153,17 @@ create_av(
                return IB_INVALID_PD_HANDLE;\r
        }\r
 \r
+       /*\r
+       This check is disabled due to mthca problem. When registering mad svc, port num is zero\r
+       because ibv_query_qp retrun '0' as primary port.\r
+       \r
        status = __check_av_port(h_pd->obj.p_ci_ca, p_av_attr);\r
        if( status != IB_SUCCESS )\r
        {\r
                AL_PRINT_EXIT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, ("IB_INVALID_PORT\n") );\r
                return status;\r
        }\r
+       */\r
        \r
        /* Get an AV tracking structure. */\r
        h_av = alloc_av();\r