diff mbox

[3/4] mpxyd: log warning if running in COMPAT mode

Message ID 1418403043-2221-4-git-send-email-arlin.r.davis@intel.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Arlin Davis Dec. 12, 2014, 4:50 p.m. UTC
From: Arlin Davis <arlin.r.davis@intel.com>

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---
 dapl/svc/mcm.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/dapl/svc/mcm.c b/dapl/svc/mcm.c
index 6f1cff3..c36948a 100644
--- a/dapl/svc/mcm.c
+++ b/dapl/svc/mcm.c
@@ -283,11 +283,12 @@  int mcm_init_cm_service(mcm_ib_dev_t *md)
 	/* save qp_num as part of ia_address, network order */
 	md->addr.qpn = htonl(md->qp->qp_num);
 
-	mlog(0, " IB LID 0x%x PORT %d GID %s QPN 0x%x: mic%d -> %s - %s, mic_ver %d\n",
+	mlog(0, " IB LID 0x%x PORT %d GID %s QPN 0x%x: mic%d -> %s - %s, mic_ver %d %s\n",
 		ntohs(md->addr.lid), md->port,
 		inet_ntop(AF_INET6, md->addr.gid, gid_str, sizeof(gid_str)),
 		md->qp->qp_num, md->mc->scif_id - 1, md->ibdev->name,
-	        md->addr.ep_map == MIC_SSOCK_DEV ? "MSS":"MXS", md->mc->ver);
+	        md->addr.ep_map == MIC_SSOCK_DEV ? "MSS":"MXS", md->mc->ver,
+	        md->mc->ver == MIX_COMP ? "WARN: OLD MPSS -> RUN COMP MODE":"");
 
 	return 0;
 bail: