From patchwork Mon Jul 17 19:35:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: longli@linuxonhyperv.com X-Patchwork-Id: 12166 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1312575vqt; Mon, 17 Jul 2023 12:51:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlHMabSpLr0EZHODJsIkgUVHBbRrp5tzO9vGpEBE7XkTASlS99h394G+P/8NH6fYBIJzPNt2 X-Received: by 2002:a05:6402:516:b0:521:6305:82e7 with SMTP id m22-20020a056402051600b00521630582e7mr10301567edv.30.1689623504816; Mon, 17 Jul 2023 12:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689623504; cv=none; d=google.com; s=arc-20160816; b=m0dTlbsYz5FZs78PIiGfPiMvZNEIQ2VrkHKhVU2Tul0zwZ3pblA3oC2LMBO9G2Hove DFdmbP9X+Z6AfwB3PJ0uEbMEbGJgLjXRlWjm9duryCFp0Sl3nItNc4A8peURO/rS/7je Z7jFz6ZeO+AMN+Utb8vPzCy5Q2n/f5EhOwm6HgW1QMtLlnzLo/jCF96huhcsxjEQI7QY PaZIK3ZrZjBPgmSXgpN5RQZ218nJY8aEn1E7f4yzqxwbiaUzMW5iW/SoVn6TR7vdiK1Q RS3PqgNz53UIS1eGATsH9pD56Ai2I9pstoldHTCuwW67/Zfh2bNHM61TqWTDIdDitHim MWTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=bRJBnZIyqX5lWmieXAT5ZWBktdQw7iN0MiN86gS1bd0=; fh=Iw0wWU78t34osG7gAXXzP86UfZDMmqmgfBBsQvZNQuQ=; b=rFeMkxUqbYbSmXQbMKlSvk8kB6BjRStejRLyE6UDhuuu9+DIEwqTd8LSFOwF7VnHCl oSkfGFZEexxlDmHNYqu37iPyeDNOOrp4HyomrNlZgNe59OTXQaGfPsoMzI8gNs0BMWiM ynSynN62qQHzVC8E7OhwuxjWfrMed5MPJozLuTqX4kZp+CPRWdT8ToGWUlycac0Z1LRh ceSm0nZ8pRm7/y4kcTb6hDXcUhdr7AvHpT87Xef5eQHvuCHWzjdj8PLI/BPPI0Fv2/3n KZJ0vha1U9CcNy1AU/F8bMW33g217X9lD054J/+1bWX7UsS7k35Il0+ZiEnmCpfWdtvl bToQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=FSes38XL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a50ec97000000b0051d98294f23si64993edr.270.2023.07.17.12.51.21; Mon, 17 Jul 2023 12:51:44 -0700 (PDT) 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; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=FSes38XL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230395AbjGQTfx (ORCPT + 99 others); Mon, 17 Jul 2023 15:35:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjGQTfv (ORCPT ); Mon, 17 Jul 2023 15:35:51 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD3FF94; Mon, 17 Jul 2023 12:35:49 -0700 (PDT) Received: by linux.microsoft.com (Postfix, from userid 1004) id 47DE521C79F7; Mon, 17 Jul 2023 12:35:49 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 47DE521C79F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1689622549; bh=bRJBnZIyqX5lWmieXAT5ZWBktdQw7iN0MiN86gS1bd0=; h=From:To:Cc:Subject:Date:From; b=FSes38XLYRvwpgBOLXqCMKTllE5Fn+meWS17Z7wLy4WuBJ2bJZ3G+l6hAcXCJ3F25 azrdSglq7K4YZOdoKS3vngSVIaD4GS6ZIofZXh254RVWJAibOqPV2C+dLX4bDL6zfB IYQ7LEUPISs1Xzs+/vopNwzUNYYimufW4X8f+q/8= From: longli@linuxonhyperv.com To: "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Leon Romanovsky , Shradha Gupta , Ajay Sharma , Shachar Raindel , Stephen Hemminger , linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-rdma@vger.kernel.org, Long Li Subject: [PATCH net-next v5 0/2] net: mana: Fix doorbell access for receive queues Date: Mon, 17 Jul 2023 12:35:37 -0700 Message-Id: <1689622539-5334-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_SPF_WL autolearn=no 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771698656190230731 X-GMAIL-MSGID: 1771698656190230731 From: Long Li This patchset fixes the issues discovered during 200G physical link tests. It fixes doorbell usage and WQE format for receive queues. Long Li (2): net: mana: Batch ringing RX queue doorbell on receiving packets net: mana: Use the correct WQE count for ringing RQ doorbell drivers/net/ethernet/microsoft/mana/gdma_main.c | 5 ++++- drivers/net/ethernet/microsoft/mana/mana_en.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-)