From patchwork Thu Jun 29 22:09:29 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: 11452 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9947278vqr; Thu, 29 Jun 2023 15:17:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAWMWqIZL2osni1cvicQIayCFyjPpMoMTNqzzeVDJFC/df2teOCZWx5CNkdPbpRa4ifq0F X-Received: by 2002:a05:6a00:280a:b0:676:2a5c:7bc5 with SMTP id bl10-20020a056a00280a00b006762a5c7bc5mr1263469pfb.1.1688077046595; Thu, 29 Jun 2023 15:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688077046; cv=none; d=google.com; s=arc-20160816; b=DnPcdwTphFPn4E+p8gK+aj6pPZG0WvGBeYjH7PPQWjdBBGoe5d2How61vvH5d1065h Pa8HC9KUFcxNHu7LTPdzLID3D/FMNYH+MrLBhGc2DpCKq5tzq/AEg1F+Lrgiyg6j1pkr AVHOEFwA2iZTh4fr5P1SDAM1CGb3LZX/QY9THdvVp7S42vxmL7PXX6jhmjJHoC5RvzrQ eVcne8VhOpkA0TlgrDRbDGpZdXKN7XC7ICRyqnVATj2Wt5rOjwS0KW/el9uAz67A6Tfm 8/XvmmAU9qnlXQxbVGMGQzeuARf91QXLzklRGAYQxkSm8E8WSOS2i/Qr9nKnD2i8CFlt vCgQ== 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=oq+64k+gmZo5PRh9VqR8E+CGtp2/embQhzgr0r130SI=; b=dfIXcIBym09BjzTDeudlWLFr5dbCN10zk05tLOuHaq0PXlkv1C5xWkw3jz98pUL0x1 7HDQy4hUF+4rFcmVwzHlMGdChB3cxMpytp8pa36us/GYokc7PksKv1KJE18C2Op5vArR 8OV51KqmtajZzeZRzBMDijLAP9N94Ox7IfbuBhAqsoJBnHGc1l8Zl+a3iiF3uy/1KMYu cJzW8NmWhTNri0MsgL/BGjHn5Y1Goh/I15aH0hYT7bN9yhgVpbX9x1WTGtp0Xtz7nYu8 9oDRLLnXcIid/a3URGA9cbHjBmLSAS18blAb6kO647jMscsVqUI/cuWD6LBsFBCg8U0U 94mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=qy2y55Cf; 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 w191-20020a6382c8000000b00530b3b98fc5si11641035pgd.417.2023.06.29.15.17.13; Thu, 29 Jun 2023 15:17:26 -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=qy2y55Cf; 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 S232201AbjF2WJy (ORCPT + 99 others); Thu, 29 Jun 2023 18:09:54 -0400 Received: from linux.microsoft.com ([13.77.154.182]:41646 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232170AbjF2WJp (ORCPT ); Thu, 29 Jun 2023 18:09:45 -0400 Received: by linux.microsoft.com (Postfix, from userid 1004) id F17ED2083969; Thu, 29 Jun 2023 15:09:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com F17ED2083969 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1688076584; bh=bRJBnZIyqX5lWmieXAT5ZWBktdQw7iN0MiN86gS1bd0=; h=From:To:Cc:Subject:Date:From; b=qy2y55CfMDoH/brlN1bIt1o/wgwyjDECNCRlOQ6OL2ndQITH/NHG9QbFQxQ6FZfVy aDJIc+NoW/q2XUyTS3V/f+FFsDAc9lpZDmEDtcrTWPnEIsgSACCXAnv731fZzdy7nj wTIZWIM9XuPM5a1Yb2gNi1V2G4sZ1olDysSTUyr8= 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 v4 0/2] net: mana: Fix doorbell access for receive queues Date: Thu, 29 Jun 2023 15:09:29 -0700 Message-Id: <1688076571-24938-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770077076878349559?= X-GMAIL-MSGID: =?utf-8?q?1770077076878349559?= 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(-)