From patchwork Fri Dec 12 16:50:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 5484191 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 693F69F30B for ; Fri, 12 Dec 2014 16:51:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AD1B20103 for ; Fri, 12 Dec 2014 16:51:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C09820125 for ; Fri, 12 Dec 2014 16:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030615AbaLLQv1 (ORCPT ); Fri, 12 Dec 2014 11:51:27 -0500 Received: from mga09.intel.com ([134.134.136.24]:5864 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030434AbaLLQv0 (ORCPT ); Fri, 12 Dec 2014 11:51:26 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 12 Dec 2014 08:49:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,565,1413270000"; d="scan'208";a="652947842" Received: from cst-linux.jf.intel.com ([10.23.221.72]) by orsmga002.jf.intel.com with ESMTP; 12 Dec 2014 08:50:50 -0800 From: arlin.r.davis@intel.com To: linux-rdma@vger.kernel.org Cc: Arlin Davis Subject: [PATCH 3/4] mpxyd: log warning if running in COMPAT mode Date: Fri, 12 Dec 2014 08:50:42 -0800 Message-Id: <1418403043-2221-4-git-send-email-arlin.r.davis@intel.com> X-Mailer: git-send-email 1.7.3 In-Reply-To: <1418403043-2221-1-git-send-email-arlin.r.davis@intel.com> References: <1418403043-2221-1-git-send-email-arlin.r.davis@intel.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Arlin Davis Signed-off-by: Arlin Davis --- dapl/svc/mcm.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) 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: