Index: core/al/al_av.c
===================================================================
--- core/al/al_av.c	(revision 1545)
+++ core/al/al_av.c	(working copy)
@@ -153,12 +153,17 @@
 		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();
