From patchwork Thu Apr 7 13:14:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenpeng Liang X-Patchwork-Id: 12805232 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B99E8C433EF for ; Thu, 7 Apr 2022 13:14:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbiDGNQn (ORCPT ); Thu, 7 Apr 2022 09:16:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236828AbiDGNQn (ORCPT ); Thu, 7 Apr 2022 09:16:43 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CDE8166664 for ; Thu, 7 Apr 2022 06:14:42 -0700 (PDT) Received: from dggpeml500022.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KZ1vm4bL1zBs7m; Thu, 7 Apr 2022 21:10:28 +0800 (CST) Received: from dggpeml500017.china.huawei.com (7.185.36.243) by dggpeml500022.china.huawei.com (7.185.36.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 7 Apr 2022 21:14:40 +0800 Received: from localhost.localdomain (10.69.192.56) by dggpeml500017.china.huawei.com (7.185.36.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 7 Apr 2022 21:14:40 +0800 From: Wenpeng Liang To: , CC: , , Subject: [PATCH for-next 0/2] RDMA/hns: Add NOP operation for sending WR Date: Thu, 7 Apr 2022 21:14:01 +0800 Message-ID: <20220407131403.26040-1-liangwenpeng@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml500017.china.huawei.com (7.185.36.243) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org NOP operation is a private implementation of the HNS driver. The first patch is to distinguish between the opcodes defined by ib core and the private opcodes of the driver. The second patch adds support for NOP operation. Wenpeng Liang (1): RDMA/hns: Modify the name of the macro used to map opcodes Yangyang Li (1): RDMA/hns: Add NOP operation for sending WR drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 71 ++++++++++++---------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 9 +++ 2 files changed, 49 insertions(+), 31 deletions(-) --- 2.33.0