Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1030961rwd; Thu, 1 Jun 2023 09:31:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fQOR9Tye8xwEsxVL0NBFdqHzX4zE/cj3o4NQoU8Sy1xcX3eyECjT7a70eQZUWblWSV5Gy X-Received: by 2002:a17:903:2444:b0:1ac:63b6:f1ca with SMTP id l4-20020a170903244400b001ac63b6f1camr49001pls.0.1685637110377; Thu, 01 Jun 2023 09:31:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685637110; cv=pass; d=google.com; s=arc-20160816; b=EgiijZu44e/I24+x8OPpgYny+cl7KPbyOcDSGRTYxrtKC8ubheWgWQ5yfEIpxV6GWy mvVMoK8chp8dVai9j6JQTCeGLB+TEMZHqlr5T+7opHITmkO+kIKp/WnJrijem/LxcBrx yRqIvnSGCtjLso3IeniwyvQLo8wE+G+ZWwUqL5BgDhHyoaJK+XQ5SyhU5so/NFLqup14 xBT0c7v6Bti7nDkAWIivrStXL4/puveQEmrJ4ZVt4m3126mWNbXnu27LjMtEAiZL6PKj Ot7RkCSwl7I/6I5FSSoYz834D1yENMH6mJSSSEkxaV6J1uF9TfwGQzDG8Y9mG/cktzn/ aDDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bFT2US2fUZWpWS0YzSw48jA08RZ608+MOvzBvb5Hmbk=; b=ZtGy2Y1CWbDZGa6AASAAmAw3y6vaXCEQ3jcyee/QI8WlN18eEqy83hY1gxX2xIGzb+ 0zyh2vHt4HkmsO7ZOZaQ1fYyWTB+qHoDIAgGQ+07bqSn3MNyT4Or+GuQvIg+6zyYXEWp bVRDmQ7LxhDankbQGZoJ9dPAEVEFUwHBQPnGVqHxz6JrFPbovvZJiPTS7KYfwCDMiENJ nIdKWg3mmFy4ZIaTsBxNgdc1iGOCJ6UdIjmnCTqF1S/5FmNbJmxminz9+F6kQH+NRFAD QcuGWYwLVNvIXovseX90Q5RzJktp/J+hBlivkdGjzZWUECY5be1qJ359u0zS8LnSJBIG AHkg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=T2+ycsdt; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a170902e85000b001a6dfb35f63si3067741plg.385.2023.06.01.09.31.37; Thu, 01 Jun 2023 09:31:50 -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=@Nvidia.com header.s=selector2 header.b=T2+ycsdt; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbjFAQJn (ORCPT + 99 others); Thu, 1 Jun 2023 12:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232311AbjFAQJl (ORCPT ); Thu, 1 Jun 2023 12:09:41 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2043.outbound.protection.outlook.com [40.107.243.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B029EE4; Thu, 1 Jun 2023 09:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hFjHvW2oxtl46RCSEC4hybbQ8rRfLOKkclVqD8W25g6+ZWXlCnceREd2IPRSRVEwJiwo9Lr6QPDzWIms3tM/HKDZZDKjnmX/YJ5dF7RO4hcFUe5/ukJxX1XEa5oqRTNI5gwMTc/ycpjWQODYmKXgB1UgLrk03M8VhBDJbzyTVYQ8wLYImr/LX7o4Ihg00vLwc6vV0UUDttbn80dKrelNiDpdaGyqG+YQOddN4zEn8n8ZkNK5p3aHLfjMMJ6jFVBcwK+2emripBbyWt+Jc8um2NartH/sP5IO9wsLV/3RPuGECxpr+acUR5gH/HyiQUBGoFW7ffnuQO/yfWaR+u/nAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bFT2US2fUZWpWS0YzSw48jA08RZ608+MOvzBvb5Hmbk=; b=T6lUaWQu27aR2KCnmlGZI/5OTh1PSpDtq2meGZ6R12+RHHVTPoc0O5PHku5lydUQG0vkMdzhI6vRY0pGQp0ShE0NIBz/4JwnELHwlxL9vfv/pg11xO3OBzZFZ8RnZJtjDSYLbpFhNUQAWGIdF7i25kDyFt9GewPIAfM3d1rZhhLRJHK7b1T+TTvkgLTYgWKzxmec1qN8CE51fmSdZVEtPgljz4UYPCLoXRGXDZA2ASrnbr3yh+RXyisKyY5XeWZ5EPXNOeXEcxh7ObEmc5uqqX1P26ZIwqgIHQbE/InQm+ZW4xcjNtz3r496NrsbluUEYkmmghOICOuxFcsG2joJcw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bFT2US2fUZWpWS0YzSw48jA08RZ608+MOvzBvb5Hmbk=; b=T2+ycsdtdZ0AiK2LG937GfpR5kgb+p2pwbzi6Wd4h4/bTntrnYfu4G7ER3yUHRCFXjNPDVI7eJqFTR2e3XwZJOV4HDGdbI9jT4ektct/M2DrCjz0oSwp38VVSaUAm+n8W+knnHnS+U8sX9zugSqewlThTwriHEV0ksLmLK9SD3vLLcEgtaEO8h2JsZqV28KN81wy8moZn8xoHg+8/71lhchm1WjJZLRQ1P2ETWv0LHym6BFI76ygi4iLFLv5RAR8toOB+zundYFeUbjDP69u0QCd86i6gs+efyKuoqccJtqJMUcEI3zwNA7XZ48CBMlDYZZ2npwwj1v5csUi2RWb6w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by PH0PR12MB8176.namprd12.prod.outlook.com (2603:10b6:510:290::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Thu, 1 Jun 2023 16:09:37 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::f7a7:a561:87e9:5fab%6]) with mapi id 15.20.6433.024; Thu, 1 Jun 2023 16:09:37 +0000 Date: Thu, 1 Jun 2023 13:09:34 -0300 From: Jason Gunthorpe To: longli@linuxonhyperv.com Cc: Leon Romanovsky , Ajay Sharma , Dexuan Cui , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-rdma@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Long Li Subject: Re: [PATCH v2] RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing Message-ID: References: <1684045095-31228-1-git-send-email-longli@linuxonhyperv.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1684045095-31228-1-git-send-email-longli@linuxonhyperv.com> X-ClientProxiedBy: BYAPR05CA0053.namprd05.prod.outlook.com (2603:10b6:a03:74::30) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|PH0PR12MB8176:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c40e9cb-6822-4ddd-37c4-08db62ba98cb X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: letFdpxI8bdAqE/zpBupEwrxamm0BLgrXVn2vtreRvXdChVhFdcQ8PZXu3ZHgDWxkRlujHHCjiCxklLBn5FnC/3ry+uj1MmNFsaE1epoBbZnfUZA8agmA+Am3p5dAdBXZGdzfDE3OCt3n0jiNkfz38adR8ZCAa+4nBl9mtVrTnZS48nF9xFJ/z5qz7xhL8ZRX4L5T8gu5mURYRBGzhvNo5TY7FkvRfrAEAArDo5pz2ALxEGAdrz713o8OFzZ2rDD3lE74J1EkFofx8/EEf+ySkpT6CorRf7v4iX+vCTkKksNOrXrDE7oHJdV/mbry4LUfjYkNyc9vwSSVlIUa8TSDfaWCwWgeFq+tvFUMk+XGCa/rLwmSAxapq849chsQ+mftmA416pjAbedD/V7mhTwnnT3q9zEuTtCBXi90HVWeDdRY1hZeumAcJFO7G/g08SGcz1g7dAQqSQQcIjnNgrSFM1axmh/TIYOHUfD6HX8t4XEVUw+f/o4aWoMEkPtaYTFJadvIAzBz8yAaou7z9xY0TbR3sNn4KnT4GRm7hhxgd1mRoYiBugKaAWftkdk6E2E X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(376002)(39860400002)(136003)(346002)(396003)(451199021)(186003)(41300700001)(26005)(2616005)(83380400001)(6506007)(6666004)(6512007)(6486002)(38100700002)(478600001)(66946007)(45080400002)(54906003)(36756003)(66556008)(4326008)(6916009)(66476007)(86362001)(316002)(7416002)(5660300002)(4744005)(8936002)(2906002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?S863O/QcevnQEqUuCG7mFDduy1hBeydw0fVw0SAh02fZIBMNYWeLn1zvtvcI?= =?us-ascii?Q?GcvUs7B5cKxpgBId9xBPcLpDwuFyjffyWUzxiS9uUxBNmUP2kS/QhvY4E79/?= =?us-ascii?Q?oE39dZO8Ql27SGpVJIr+XxWDw5tIqpbLSIxxkFo+8sDpka2WmEQLDO1d42ti?= =?us-ascii?Q?eoOvCneylobqJ6HGu9bJ5yrUAOic1l4w5IMRRrKBa9czFDVC5i7gNmV+zCKu?= =?us-ascii?Q?5FIpon8LeqDt/j5oro8TN0Xc7/R1DRTtaRVxg6lTnv2ZGICVkPpoAQPmTi1I?= =?us-ascii?Q?nZTel9e2lLNEmzBaZ7GtI61EOzQtkvnbr3SCdmmMWtTl9wJ0yM99oVyDnRc/?= =?us-ascii?Q?4wMt3S1PsqiaRtYCpRdToUPFDg/lPl6DjTwo738fsp8GO+MtmBI0FvUXFqJL?= =?us-ascii?Q?LzfsGWtpUjqsy+X2a4kEc4BsQk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ascii?Q?uY9ZSh+ytlQdA4VwKpb7rOGgo5eb1cfQAUOOR3K0b8JYxMmZrgP/T+nv0BX3?= =?us-ascii?Q?P+pozWuayQAIfl93Nq8FyAwQCQTh5N/OS4jzcAv3akKKxfWHZGbeEWe+YTt4?= =?us-ascii?Q?vakjRNAlAr8tPBR7jZUQ+slSRbf1HxLH2Om3UBvRYJxqq8SrSoe+gz4klswU?= =?us-ascii?Q?zIAyx8Mc05cC/oMqzYCrYsNbRBeDuwPlX/Fx++f5jpNK8pagzA9/Xy1pGsFX?= =?us-ascii?Q?20I6rb+iNN8ICPb9x8a/2BPvxxwYjov5mfpL6APM?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c40e9cb-6822-4ddd-37c4-08db62ba98cb X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 16:09:37.1987 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6auVrX/HbvJLeClGsFfM8HwdjwrYqgOIAg551OfrVQtds19MNTSTNU7Gpmr9B9UK X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8176 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 On Sat, May 13, 2023 at 11:18:15PM -0700, longli@linuxonhyperv.com wrote: > From: Long Li > > With RX coalescing, one CQE entry can be used to indicate multiple packets > on the receive queue. This saves processing time and PCI bandwidth over > the CQ. > > The MANA Ethernet driver also uses the v2 version of the protocol. It > doesn't use RX coalescing and its behavior is not changed. > > Signed-off-by: Long Li > --- > > Change log > v2: remove the definition of v1 protocol > > drivers/infiniband/hw/mana/qp.c | 5 ++++- > drivers/net/ethernet/microsoft/mana/mana_en.c | 5 ++++- > include/net/mana/mana.h | 4 +++- > 3 files changed, 11 insertions(+), 3 deletions(-) Applied to for-next Thanks, Jason