[IBAL] revert 1574, returning check_av_port. it will work after implementing query_qp...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 5 Oct 2008 19:37:53 +0000 (19:37 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 5 Oct 2008 19:37:53 +0000 (19:37 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1631 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/al_av.c

index fd21688..b94162e 100644 (file)
@@ -153,17 +153,12 @@ 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