From patchwork Fri May 22 19:22:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 6467501 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ECB2D9F46A for ; Fri, 22 May 2015 19:22:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43AFA2034E for ; Fri, 22 May 2015 19:22:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A0152045E for ; Fri, 22 May 2015 19:22:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756983AbbEVTWv (ORCPT ); Fri, 22 May 2015 15:22:51 -0400 Received: from mga02.intel.com ([134.134.136.20]:6976 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756607AbbEVTWv (ORCPT ); Fri, 22 May 2015 15:22:51 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 22 May 2015 12:22:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,477,1427785200"; d="scan'208";a="714399571" Received: from cst-linux.jf.intel.com ([10.23.221.40]) by fmsmga001.fm.intel.com with ESMTP; 22 May 2015 12:22:50 -0700 From: arlin.r.davis@intel.com To: linux-rdma@vger.kernel.org Cc: Arlin Davis Subject: [PATCH 2/7] dapl mpxyd: use wr opcode instead of wc opcode to support logging on error cases Date: Fri, 22 May 2015 12:22:42 -0700 Message-Id: <1432322567-9349-2-git-send-email-arlin.r.davis@intel.com> X-Mailer: git-send-email 1.7.3 In-Reply-To: <1432322567-9349-1-git-send-email-arlin.r.davis@intel.com> References: <1432322567-9349-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/mpxy_in.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/svc/mpxy_in.c b/dapl/svc/mpxy_in.c index 0ec6a1c..fb57304 100644 --- a/dapl/svc/mpxy_in.c +++ b/dapl/svc/mpxy_in.c @@ -720,7 +720,7 @@ void m_pi_req_event(struct mcm_qp *m_qp, struct mcm_wr_rx *wr_rx, struct ibv_wc { mlog(4, " WR_rx[%d] %p %s complete po-addr=%p ln=%d, key=%x ctx=%Lx\n", wr_rx->w_idx, wr_rx, - wc->opcode == IBV_WC_RDMA_READ ? "RR":"RW_IMM WC", + wr_rx->wr.opcode == IBV_WR_RDMA_READ ? "RR":"RW_IMM WC", wr_rx->sg[0].addr, wr_rx->sg[0].length, wr_rx->sg[0].lkey, wr_rx->context);