[ewg] [PATCH] Perftest: Do not attach the sender QP to the MGID in send_bw

orenmeron orenmeron at dev.mellanox.co.il
Mon Nov 17 02:39:31 PST 2008


author Or Gerlitz <ogerlitz at voltaire.com> 

Perftest: Do not attach the sender QP to the MGID in send_bw

Signed-off-by: Oren Meron <orenmeron at dev.mellanox.co.il>



--- a/send_bw.c
+++ b/send_bw.c
@@ -421,7 +421,7 @@ static struct pingpong_context *pp_init_ctx(struct ibv_device *ib_dev,
                        return NULL;
                }
 
-               if ((user_parm->connection_type==UD) && (user_parm->use_mcg)) {
+               if ((user_parm->connection_type==UD) && (user_parm->use_mcg) && !user_parm->servername) {
                        union ibv_gid gid;
                        uint8_t mcg_gid[16] = MCG_GID;



More information about the ewg mailing list