Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3601187rwr; Sun, 7 May 2023 15:57:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/XNo0P1WiJYhaY/FvVN3R94j8yzM6vtyG3bL9wnDU8RhTLftZUKHUl4TJ2gl0Yv5go55f X-Received: by 2002:a17:90b:3881:b0:24e:109a:94e with SMTP id mu1-20020a17090b388100b0024e109a094emr8619323pjb.7.1683500243915; Sun, 07 May 2023 15:57:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683500243; cv=pass; d=google.com; s=arc-20160816; b=IeIJU22/wByV4Q8mZZeVcKpe01StJiuUMQNbuu+LDPKbr+6hfaZCtN4a7S4AuTUsdM wR38usHjni1VpFZgYS5WG8PbesfIAywUwfNXo8pN/QfZv6BwnHSy5+n218PbBBKT9uqh 0Nj06uH0wV8CddxOvYp4QYOAWbq67rSJvtNJo8Rg8Usp4HMulct6kia8LEeB1IxyD2li IzRlkQKp/GPee+YW5oId1FW4kT20c2nXJh8VjrNcKLN2/Cb0IQ/wz2HAVEkYommtr89y 6bhdIWtTQgz+Ixwov3N3Art9rlJjl5TzGi0HH3CG6YKMmz7g+Y4sh2QFz+jIcx5l8HhP L/fQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Y4SgVEuOVztsMKhDvIoMJw7HcjSFAXyVwbzbn3pslGI=; b=FJ5OWEFcdRMa1cITFfCS3VWu6ZU7edy1cW22nVbOVPPIeYT8RCI7UjiuDj9qin+O0V MN8eWsqLM5xFejafBIlT5po+gROdif0pusZRvMAVzLr5ZXxl96cFWBofwBlpYjqWVChv Zp12oYxFrNqJFuLJsSsMK58oJ+toNwEIV6mnRQfAFoZNgNu4CBR2jaGX+laB/yB2cyYn 6mO7ug+rVQpKtNVH7lwV2MMfGOKS2QBLxjuGd/w2PbZP11HQMh7uGBI13iiUbI6sQ5Bc XPbTp5eW6uG15ttxBo5V+ywWRkDbL2M4qM72wW2GLEkEEPIJMdrw4VpuS/LyHrU4fKEl jq9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=KlUD52BE; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q63-20020a17090a1b4500b00233f3034302si11290312pjq.46.2023.05.07.15.57.10; Sun, 07 May 2023 15:57:23 -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=@microsoft.com header.s=selector2 header.b=KlUD52BE; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbjEGVje (ORCPT + 99 others); Sun, 7 May 2023 17:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjEGVjc (ORCPT ); Sun, 7 May 2023 17:39:32 -0400 Received: from DM5PR00CU002.outbound.protection.outlook.com (mail-centralusazon11021027.outbound.protection.outlook.com [52.101.62.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A4957EC8; Sun, 7 May 2023 14:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kf7uxYAaM4xksVNzt85zF/nzWDjyeWa4IkvTZQrOKI2H87imG1Gj3Q0pE+WYuOXT9GiECptiaMmX997+OC7c4VlwK1P3Q7/29IZ7WrL7GSfyFXgb5UB10OzfCX3uD7pDK1Disr8LOc7rAKP9BBC7OtP6hLVAmQ75pkFe0hAFor1Ya0gGV+SBrL8zdhD31cMNTPsErCUbQqhUagM7a8bYTsPtmMf8eHHyI6HzOHxwq/hZV9hDZS1XLnctsqxoIrdmPPzsnoE7OBo8FSaG+BBnZ8wZgUwAI+vfZTv2Al6TodD0Rg6vQAMIvs7GsVeSwZpPEj4e6FiuFfGhuGIafnv0nA== 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=Y4SgVEuOVztsMKhDvIoMJw7HcjSFAXyVwbzbn3pslGI=; b=SQ0VqZishsu6udW0r3yG2+zQgcIG/H1VovWD4/+EjPi0sblIg8HmF7zjPGg5ovJ/cNymsggavh1In+oD7Kgs50X0Pdjvh5Y4r1O1/1DIe4IjhLRNqxFMfj7pRJmG21UOf2XXsrHDgdYdPbIq/BkYp3+CknW/Q5ZzhRClCi4HjIrENYvT+/ksaOc2pk3dhhpBrF2ic0dZEYg8IPT5KwF/Md/EQo2xa13Cc7Mjili93brG7Ipwr34C3goEaBfQvdfGtMHb6af1Vb+y7MW76o1nDRJoM33/QAJkGdiD6rWjdSPJV7gP80DAym5UHbDzmoXUacc/FBd1/IHb7KtErW/QHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y4SgVEuOVztsMKhDvIoMJw7HcjSFAXyVwbzbn3pslGI=; b=KlUD52BELT8HShVlMbtrevYlGreTWG2rsYOZWg0TaygrZ3r3MFHoOuEwf21VISyIWDuBppCMn5Hwz0EUQcL3TZo8sftL1QaKU0rwRm9LM2t5IsFRBC7+0KqIpFf84c5taLv/DHlmVY+xY4/8war3IB8xha48+pBZaHuJZCWc12k= Received: from PH7PR21MB3116.namprd21.prod.outlook.com (2603:10b6:510:1d0::10) by DS7PR21MB3479.namprd21.prod.outlook.com (2603:10b6:8:90::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.2; Sun, 7 May 2023 21:39:27 +0000 Received: from PH7PR21MB3116.namprd21.prod.outlook.com ([fe80::7745:82a2:4a33:65c5]) by PH7PR21MB3116.namprd21.prod.outlook.com ([fe80::7745:82a2:4a33:65c5%6]) with mapi id 15.20.6411.002; Sun, 7 May 2023 21:39:27 +0000 From: Haiyang Zhang To: Leon Romanovsky , Long Li CC: Jason Gunthorpe , Ajay Sharma , Dexuan Cui , KY Srinivasan , 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" Subject: RE: [PATCH] RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing Thread-Topic: [PATCH] RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing Thread-Index: AQHZf4Kxjex9WkNlekCvwwavSM4vhq9Od9yAgADgy0A= Date: Sun, 7 May 2023 21:39:27 +0000 Message-ID: References: <1683312708-24872-1-git-send-email-longli@linuxonhyperv.com> <20230507081053.GD525452@unreal> In-Reply-To: <20230507081053.GD525452@unreal> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=2485ae63-c230-4ad8-96da-010ab44a00da;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-05-07T21:35:26Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR21MB3116:EE_|DS7PR21MB3479:EE_ x-ms-office365-filtering-correlation-id: 0db7e0fe-41ef-4220-57df-08db4f438853 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o9DozYYWcciSyW6r1SQ6uT6MG8Ol/eTBShc19cifIV2Kzp1NT3aWV2yXZ1SEPgyPf+tLKDmri3GjYC7/Q6YEVx083l6uyVIBT8uCaqQJTaaaFnlGqqaFjJhX73oATSw7CBHGqQeZNyOH6tjCFgOzfwZ+9kY78mb79JoX+HPYuPOlSKWkLom3DP1t3AEl1vwWjRYsS5etYGriEWII5pDOCJI5yJ9ew5/lJ2Hh1/WBzmF95hsRIT5EqF8E5QUTx4od17Lxc0I4wqNvSRmWhFppRhwqVlE+5fZWVepzCdUkbyMo8gxmtDbwyhNbWS7G/aDPzZkY5ke/t7VxTL17PoaZCz1FgqrrREq27vc3aVQfuBHZwsCaQEu70dSD6jblp+j4XyBvHGoei6k532uap8dG2QcOqC9+bEktnLRUXng5hHEwisJeqKVrImTdL4pl/VPlkYXpDMVUOZK/1W/jYavieoKjo3adhAMKYDIVXWFuJy8aNFd8QYjzbHvosxi7iL7tOUr3cNAWuuVS4Q6x+XGXSEVnQXM6uj0vG4PllVq3fkntolygXBSSFrdFzXAgo5ZmNhh58PCmwJotBdKGWa8HOALwoyqFqYAZpydzm7q7NI4cUHYY1G2kmDU0ZnFdZDV8tPRVnyNsOde+Ey+J9qVhVUHSyAJ8ViKYyXcoVpgPHBI= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR21MB3116.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(39860400002)(136003)(346002)(376002)(396003)(451199021)(83380400001)(10290500003)(478600001)(7696005)(71200400001)(54906003)(110136005)(9686003)(6506007)(26005)(53546011)(186003)(8990500004)(7416002)(2906002)(33656002)(52536014)(38100700002)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(122000001)(82960400001)(82950400001)(6636002)(4326008)(41300700001)(5660300002)(8676002)(8936002)(786003)(38070700005)(86362001)(55016003)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nEEFc4vZ1GTPhaF7aV6RlzwwwPNwTPW5+DLNcU/vWEkIf/f7ZQMiMGNMlyzm?= =?us-ascii?Q?v/XwrNqLOmIhkz8KRcnBwlioivwjeZbYtn79192ismAMhu0YlMX8L0OMn27b?= =?us-ascii?Q?qtcJlt2yQuynNZ1P9xkkKJaN306pXrdTXfpKjOtsfVDW1y17JOxz2MaXNbEj?= =?us-ascii?Q?axNOIy/ucu7eUV5Vd1qXB+8tvomHR6Udk8kTpMi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nuNf8IUt/URAMHU8cYiBeXJmJAt+pCRBjOp6IzUBc3RQnKI7oEQ4Rbhv?= =?us-ascii?Q?lFYfK9MFCE9SXHS6S4OdHq5MepzZLQw3/AlP113Cv+V36pwSZkRIg44fFo3P?= =?us-ascii?Q?S1BHji7Y0izUAU41q9qWKIiqgPQL6tMLGkehv6JzLncqCVhCJ+5r9zoYU0zA?= =?us-ascii?Q?qn0i2ikqhP8kPXfFRdM2CGuGgPLly+tvoKM/Zhkg/QoTIPIKkMV2focPwNh2?= =?us-ascii?Q?twU0jUKltMS17PW5FppA4Y64aw8KRtPBQlf0hj+1ag2R2afZY/VaVJEoQXnF?= =?us-ascii?Q?f/veKnn816AFRh9Y0YnsIbZBbSjRp38LVradC9yfsr9fCxCTh9+Z8A1m3O1m?= =?us-ascii?Q?q+LQImPiRXIqTSXfsrfRFuwHP+N7B4FC+OjIGOEz4FYWzl6JsR//r5OQV0GS?= =?us-ascii?Q?vBAyEKoFoMYdU+S7wlTLVDqjVYpOYDt7P+SBLJqqu3ZBUYkjefPiTbrbG9lU?= =?us-ascii?Q?rejhch4wMV40Vg1YNBAZJvC8PfOB6h5vz/UhHtg0?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR21MB3116.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0db7e0fe-41ef-4220-57df-08db4f438853 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2023 21:39:27.1230 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wN8UxlHjG57etxcZcHZ57I0RGh569eUJF94PI6/4QwHorBd9xn1ox/QM40hHZewAgbCibwYq9YFYlyyloM8YHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR21MB3479 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 > -----Original Message----- > From: Leon Romanovsky > Sent: Sunday, May 7, 2023 4:11 AM > To: Long Li > Cc: Jason Gunthorpe ; Ajay Sharma > ; Dexuan Cui ; KY > 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 > Subject: Re: [PATCH] RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to > enable RX coalescing >=20 > On Fri, May 05, 2023 at 11:51:48AM -0700, longli@linuxonhyperv.com > wrote: > > From: Long Li > > > > With RX coalescing, one CQE entry can be used to indicate multiple pack= ets > > on the receive queue. This saves processing time and PCI bandwidth over > > the CQ. > > > > Signed-off-by: Long Li > > --- > > drivers/infiniband/hw/mana/qp.c | 5 ++++- > > include/net/mana/mana.h | 17 +++++++++++++++++ > > 2 files changed, 21 insertions(+), 1 deletion(-) >=20 > Why didn't you change mana_cfg_vport_steering() too? The mana_cfg_vport_steering() is for mana_en (Enthernet) driver, not the mana_ib driver. The changes for mana_en will be done in a separate patch together with changes for mana_en RX code patch to support multiple packets / CQE. Thanks, - Haiyang