From 8fd39c00a7099b38d8b59e9b332fae81d98424a3 Mon Sep 17 00:00:00 2001 From: leonidk Date: Mon, 20 Oct 2008 12:26:52 +0000 Subject: [PATCH] [IBAL] revert 1574, returning check_av_port. it will work after implementing query_qp in MTHCA. [mlnx: 3136] git-svn-id: svn://openib.tc.cornell.edu/gen1@1667 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- branches/WOF2-0/trunk/core/al/al_av.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/branches/WOF2-0/trunk/core/al/al_av.c b/branches/WOF2-0/trunk/core/al/al_av.c index fd21688a..b94162e4 100644 --- a/branches/WOF2-0/trunk/core/al/al_av.c +++ b/branches/WOF2-0/trunk/core/al/al_av.c @@ -153,17 +153,12 @@ 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(); -- 2.41.0