signed off by: Reuven@mellanox.co.il
git-svn-id: svn://openib.tc.cornell.edu/gen1@1575
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
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