Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1191720rdb; Mon, 2 Oct 2023 01:49:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZgBoVbAXr9tPf8sqn4B0y8IOFkSaognExk9nfzDBa+RGlBLIv4O+545Ea4JunNNipHntQ X-Received: by 2002:a05:6122:2177:b0:49d:d91:8b13 with SMTP id j23-20020a056122217700b0049d0d918b13mr5157957vkr.8.1696236595055; Mon, 02 Oct 2023 01:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696236595; cv=none; d=google.com; s=arc-20160816; b=pHxry+VwqsAOMpTl9QVceJLr3BuREEqIEbje/9OpqkwlvFKMm8/HmXtJb+qWQ8M12c +T7HL0xsNphhmMfMerdKk6FQX/8iQsxCl2L6CZRziREo+LAjp2LZadzHzGC84gR3M+ny R8DU9tpkPcFCBx9tEAKdsF8++5lsJdGT0ApXMwlypljCgVe95Jd+le1tlfhT99TbiKOK fUI0YHSrvGcscvYCG1GB9X/3Nm9d57rnIgRsqjtlgdiS+Zbtj0pkLBvbUZcKD0yP1L09 k7Pnu5Ch0iK7zQj/hLAlD589GFlyO9qG9UxFybyyLklfNsl0XSEUHad9nQUMRGB5m+OH XIAw== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=r7zEzoIqQdl7Bc3D108p9EFX1BZBYSxJv9Bpp7aP/Mk=; fh=Bo7Evh0bjuCfHYv8kZucnQQ4z1eqgJLgefYKC3az4/8=; b=xRIwMqZ2NvrHz48ghfXOOG99/UQrMQMGnLGNxLFsyn0WOaTss1eQrlYmtPvLv2poTw qst/hXYaiFFGxtaCwxoxJzHPoYNA7B8euPtAri8J8uTQbZvxQWhBNkZDzMJw/lzRRV4G EFdunyivNS5rlgyxbYxKqe+2B9856fcfI6RtkfzkfC6M7h5GhXvpD7zxgeAaDPdQCiJ4 1TWgFclGo3g1o3VHIsUepEHDtWWbsnLlmOBhP8SQxoAqCoFdSbJ0pRnGStbFM+KD8xNe 1sfGzuo22zQK6NXtqCiG9WUq/YWTNsR+KKwjd6+z7EkdR14Ke/UFyrI9f4fYqe+8q0rY FdNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JTa6iM3G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q6-20020a17090a2dc600b00274681ee3adsi7042336pjm.8.2023.10.02.01.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 01:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JTa6iM3G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 05F968033DE2; Mon, 2 Oct 2023 01:47:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbjJBIrk (ORCPT + 99 others); Mon, 2 Oct 2023 04:47:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjJBIrj (ORCPT ); Mon, 2 Oct 2023 04:47:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684CAA6; Mon, 2 Oct 2023 01:47:35 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BA23C433C7; Mon, 2 Oct 2023 08:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696236455; bh=dsC9j/QeRMlTpYqPumGgKqkRAr5i6zSh4rRXPPxTiYU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=JTa6iM3G0g6lSQcgiCX8u7pVFRiELIxIGh2xIagSKYGq8mbO4e/f3xC5ESULlTTtY kfifkbqhL/FpUBIUVpVwXFey4+M+GVZbYGsLJZeFfjNN07FrBxnm9YCrY8E0wCAcu2 OQney0bw/LWD31g22j9mQ8mt8Jw8SOLP3A+qVtoYZKn1uxolaquz6tJXVKYsdMvuRw MtSDCpxTRE4Uqfhkpc6LdmoEvYVyg5m/kcK42zAt7oFBBaGE5UYkUVgDVud3Av3SwO CoIWZc1s3tHblgaoEMWu+5VxkxyRvN3xwhtCKh3C5iklmtOuCU9X9Vzk9C6jEtv2SZ 10569c8gz73zw== From: Leon Romanovsky To: jgg@ziepe.ca, Junxian Huang Cc: linux-rdma@vger.kernel.org, linuxarm@huawei.com, linux-kernel@vger.kernel.org In-Reply-To: <20230926130026.583088-1-huangjunxian6@hisilicon.com> References: <20230926130026.583088-1-huangjunxian6@hisilicon.com> Subject: Re: [PATCH v2 for-next] RDMA/hns: Support SRQ record doorbell Message-Id: <169623645142.22236.17417658581879065374.b4-ty@kernel.org> Date: Mon, 02 Oct 2023 11:47:31 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-a055d X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 01:47:50 -0700 (PDT) On Tue, 26 Sep 2023 21:00:26 +0800, Junxian Huang wrote: > Compared with normal doorbell, using record doorbell can shorten the > process of ringing the doorbell and reduce the latency. > > Add a flag HNS_ROCE_CAP_FLAG_SRQ_RECORD_DB to allow FW to > enable/disable SRQ record doorbell. > > If the flag above is set, allocate the dma buffer for SRQ record > doorbell and write the buffer address into SRQC during SRQ creation. > > [...] Applied, thanks! [1/1] RDMA/hns: Support SRQ record doorbell https://git.kernel.org/rdma/rdma/c/c9813b0b9992ea Best regards, -- Leon Romanovsky