From patchwork Thu Nov 1 13:18:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Boyer X-Patchwork-Id: 10663961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07EEE157A for ; Thu, 1 Nov 2018 13:19:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0D5F2B463 for ; Thu, 1 Nov 2018 13:19:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E494C2B661; Thu, 1 Nov 2018 13:19:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AF8D2B463 for ; Thu, 1 Nov 2018 13:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728450AbeKAWWx (ORCPT ); Thu, 1 Nov 2018 18:22:53 -0400 Received: from esa4.dell-outbound.iphmx.com ([68.232.149.214]:29789 "EHLO esa4.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727644AbeKAWWx (ORCPT ); Thu, 1 Nov 2018 18:22:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1541078397; x=1572614397; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=+82H+K4Q1RzjLz9Ilm9rr/Lm2197WuWrDgxkmyy93CA=; b=eVCVo5p9ogfYQRBEK5kG5BYQRywgaKNpkKQ5n1SeGgFKNlUMTtpYRdUx FKgRXksxRr6CXUmShOE3cJFEnpAtKJRJdPXDhC+kpCwdVCyI8Lo3BUpoF fIiL+1eqDXpQtkje2kgq6FAAU8wrFsLTIkV65jNolrd35L2OoKeiU0MCl s=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2E2AAAl/dpbhyWd50NkHQEBBQEHBQGBUwYBCwGDaY0VpG+BegsBAYRsAoM6IjYLDQEDAQECAQECAQECEAEBAQoLCQgpL4I2IoJkAgEDEmEGEFFXBzSCf4ICnEgCgRCJWAEBAYIbihyHRoQmgVg/gRGNawKfIgcCghIEjmkLGIFUjn+JP41RAgQCBAUCFIFKCYF+Mxojgz2CM44/jBoBAQ X-IPAS-Result: A2E2AAAl/dpbhyWd50NkHQEBBQEHBQGBUwYBCwGDaY0VpG+BegsBAYRsAoM6IjYLDQEDAQECAQECAQECEAEBAQoLCQgpL4I2IoJkAgEDEmEGEFFXBzSCf4ICnEgCgRCJWAEBAYIbihyHRoQmgVg/gRGNawKfIgcCghIEjmkLGIFUjn+JP41RAgQCBAUCFIFKCYF+Mxojgz2CM44/jBoBAQ Received: from mx0b-00154901.pphosted.com ([67.231.157.37]) by esa4.dell-outbound.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Nov 2018 08:19:41 -0500 Received: from pps.filterd (m0144104.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA1DHmh9052537 for ; Thu, 1 Nov 2018 09:19:41 -0400 Received: from esa2.dell-outbound2.iphmx.com (esa2.dell-outbound2.iphmx.com [68.232.153.202]) by mx0b-00154901.pphosted.com with ESMTP id 2ng1p707hc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 01 Nov 2018 09:19:40 -0400 Received: from mailuogwhop.emc.com ([168.159.213.141]) by esa2.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA256; 01 Nov 2018 19:19:38 +0600 Received: from maildlpprd03.lss.emc.com (maildlpprd03.lss.emc.com [10.253.24.35]) by mailuogwprd04.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id wA1DJW44002770 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 1 Nov 2018 09:19:36 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd04.lss.emc.com wA1DJW44002770 Received: from mailsyshubprd53.lss.emc.com (mailsyshubprd53.lss.emc.com [10.106.48.28]) by maildlpprd03.lss.emc.com (RSA Interceptor); Thu, 1 Nov 2018 09:19:01 -0400 Received: from hopcyc-boyera-1-00.cec.lab.emc.com (hopcyc-boyera-1-00.cec.lab.emc.com [10.244.196.91]) by mailsyshubprd53.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id wA1DJCwA013224; Thu, 1 Nov 2018 09:19:12 -0400 From: Andrew Boyer To: majd@mellanox.com, yanjun.zhu@oracle.com, monis@mellanox.com, yonatanc@mellanox.com, linux-rdma@vger.kernel.org Cc: Andrew Boyer Subject: [PATCH v2 0/2] RDMA/rxe: link state and statistics Date: Thu, 1 Nov 2018 09:18:44 -0400 Message-Id: <20181101131846.7441-1-andrew.boyer@dell.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20181030135427.19036-1-andrew.boyer@dell.com> References: <20181030135427.19036-1-andrew.boyer@dell.com> X-RSA-Classifications: public X-Sentrion-Hostname: mailuogwprd04.lss.emc.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-01_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=852 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811010118 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a set of two fit-and-finish patches for the rxe driver. Changes from V1: * Rebase. * Drop skb handling patches which were already fixed upstream. My sincere apologies for the noise. * Update commit messages based on review feedback. Andrew Boyer (2): RDMA/rxe: Distinguish between down links and disabled links RDMA/rxe: Add link_down, rdma_sends, rdma_recvs stats counters drivers/infiniband/sw/rxe/rxe.h | 5 +++-- drivers/infiniband/sw/rxe/rxe_comp.c | 6 ++++++ drivers/infiniband/sw/rxe/rxe_hw_counters.c | 7 +++++-- drivers/infiniband/sw/rxe/rxe_hw_counters.h | 3 +++ drivers/infiniband/sw/rxe/rxe_net.c | 3 +-- drivers/infiniband/sw/rxe/rxe_resp.c | 3 ++- drivers/infiniband/sw/rxe/rxe_verbs.c | 8 ++++++++ 7 files changed, 28 insertions(+), 7 deletions(-)