Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1735274rwj; Sat, 24 Dec 2022 02:33:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXgwYa7AFlAGk2PjvTGFQqZC2eMcwkx/lDsENNYYl8AlVuofV4bVQ1il4QXM/ZeV0mdDyu X-Received: by 2002:a05:6a21:78a0:b0:a3:960e:7d0a with SMTP id bf32-20020a056a2178a000b000a3960e7d0amr19925997pzc.58.1671878035743; Sat, 24 Dec 2022 02:33:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671878035; cv=none; d=google.com; s=arc-20160816; b=N7NN+JXZMyX9sAlKRRJodRDWIolT4/T4WagUqLXBTkmIl22FiAwzg3kF7kkbyVYR0+ NAIyAsMY9ySzmWL93QJNb5N8+0KDqNpI2jtlxajN6njvXsGSqxcfv4lk2cDp56cdm1YP Tallw9H+Z5/wLioVjWj7QptkRB1xQ06JUohIiH1H0busj1iFX4wl9b0NY/J/RFBTaRTB m/eoVXHvHfloqQ0GghDhwHoOAy0jId0H24VRS8bcuXbojXbvEHxyTNSnTcpIbaIanE5E 7DdewpV9prn4aazarc445Rws8LA7/a5y/6RJRs0yMKDTIh1KTVdMfaqL9C5bk9Nz3k9/ jlEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6SkpUgPv8DCCmSpALIJKEALccPmlEwMljJ1Jt0P/EQs=; b=rPhUVAPfCaU9UsY/8PaAtJ1ocphED9UE8SPnUxdXmUmum0NOoIZR8l5FoA+l3vUsTn iKssD938lt00KDli5DwEaF5UkI8/CCg5JVXJsT1V8SX5GqW9p1tgqRnkRregXR6YYjj3 Nq95Tw6e9k+fNUe3qm6NoAXZn8I9xfz5XLEYpPHGQlaLxHs+dv6JMhQECT7f6KR2B0nG scqTcc9vU0+mW2/U5cGn2ixcuJwyDvWUS4DPSbaF8C7i7pEJV/qKFCXbxfRr3ztT8GTW 5F8gEduts3QFMCWYqJood0yhXX7bREYkL+bv7/ASSMS+rKjUIrVX6CQT8UZp/vypWko0 brlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a17090a868100b00219fda33b30si5548963pjn.108.2022.12.24.02.33.45; Sat, 24 Dec 2022 02:33:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbiLXKXL (ORCPT + 65 others); Sat, 24 Dec 2022 05:23:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbiLXKXI (ORCPT ); Sat, 24 Dec 2022 05:23:08 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8857CBCBF; Sat, 24 Dec 2022 02:23:07 -0800 (PST) Received: from kwepemm600013.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NfKpj5V79zRq32; Sat, 24 Dec 2022 18:21:49 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Sat, 24 Dec 2022 18:23:05 +0800 From: Haoyue Xu To: , CC: , , , Subject: [PATCH for-next 0/3] Refactor rq inline and add cqe inline Date: Sat, 24 Dec 2022 18:21:58 +0800 Message-ID: <20221224102201.3114536-1-xuhaoyue1@hisilicon.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patchset mainly removes the kernel space rq inline features and supports cqe inline in user space. Luoyouming (3): RDMA/hns: Remove rq inline in kernel RDMA/hns: Add compatibility handling for only support userspace rq inline RDMA/hns: Support cqe inline in user space drivers/infiniband/hw/hns/hns_roce_device.h | 19 +--- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 109 ++++++-------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 3 +- drivers/infiniband/hw/hns/hns_roce_main.c | 12 +++ drivers/infiniband/hw/hns/hns_roce_qp.c | 66 +----------- include/uapi/rdma/hns-abi.h | 4 + 6 files changed, 54 insertions(+), 159 deletions(-) -- 2.30.0