From: tzachid Date: Tue, 9 Sep 2008 12:41:57 +0000 (+0000) Subject: [AL] disable check_av_port due to mthca proble. When registering mad svc, port num... X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=effce6eefc444ff7ec79286487e6699a81799490;p=~shefty%2Frdma-win.git [AL] disable check_av_port due to mthca proble. When registering mad svc, port num is zero because ibv_query_qp retrun '0' as primary port. (mlnx: 3131) signed off by: Reuven@mellanox.co.il git-svn-id: svn://openib.tc.cornell.edu/gen1@1574 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/trunk/core/al/al_av.c b/trunk/core/al/al_av.c index b94162e4..fd21688a 100644 --- a/trunk/core/al/al_av.c +++ b/trunk/core/al/al_av.c @@ -153,12 +153,17 @@ create_av( return IB_INVALID_PD_HANDLE; } + /* + This check is disabled due to mthca problem. When registering mad svc, port num is zero + because ibv_query_qp retrun '0' as primary port. + status = __check_av_port(h_pd->obj.p_ci_ca, p_av_attr); if( status != IB_SUCCESS ) { AL_PRINT_EXIT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, ("IB_INVALID_PORT\n") ); return status; } + */ /* Get an AV tracking structure. */ h_av = alloc_av();