Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3919596rwr; Sun, 7 May 2023 23:21:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6a/s7T8w0pGq2nVgZuMFVUzAF3H+6rYdsfUBHhh9kv1Yezrl2bS2q0NJaGn7g6ajeQX2An X-Received: by 2002:a17:902:d34b:b0:19f:188c:3e34 with SMTP id l11-20020a170902d34b00b0019f188c3e34mr9988041plk.53.1683526888253; Sun, 07 May 2023 23:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683526888; cv=none; d=google.com; s=arc-20160816; b=xquz4qGos0/9iSABzL3zMuW707avZYdlyZwiDjfBW0Z9Ax7WeOjjNFAySfHXQVoSJc UicDM8Yx1h33hE+Q4A+fdv6FSbaylVCqxzNJSWiEQJa6R4PKwTXBEc7+knuOC0jjin2y ypg19sMMxJZWipGw01bkWk/pe85yIaaV/1uogEfkxr0q6z7nVJTG9SFORPS2VSkCEWv3 C/TMYBZa9xh+PwEogIeoWNgDJAM6AYJ4psoDYJSo7E/LnV4GSxO808ZeRVjhNhNSAE5l TPf5cTNh5ML/qhdLDE9iGFYMTsTRMOESr5X2iCe6K3vRqaTf/h0TRrXNGLZBowJjV1Be hxEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nFfLeRfAXYezh/X84ZsH9AXzGhLQ5xdzR5msw4+lpSU=; b=SqSgGozrbCETdvq97IznhP6BX5OJQ2U/VbJSmeECFjMPCkEjnOXmKysMUSTSUoHh7k Qc4VwNY5QGjkas7uVBeEMcpdVpkpCvM6pGKcBIZSmLm33Gyc1x7rwbPWaT7k3n5fQqR7 Ph/PCf1lx/7bIErGUImnTbAVkvubVge34ESar+YhLuo7xdIaXEZGh4rpqrpejSKZ4CCW 70hc1sOWVC2a3Gi004/BW7+cKHHA96Xgoqq+ADQI4jjLLbuJ4zjo6QoLdcP53zxVPYul OJCCRbyKK0feIcI7cq2WT8Z7cQSIPqI3yPaFv5a85X9rQ4wDY371e904JMvxkbS62d6W 9QOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=clpL97EK; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik8-20020a170902ab0800b001a6cf4b4d6dsi6971578plb.289.2023.05.07.23.21.13; Sun, 07 May 2023 23:21:28 -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=@kernel.org header.s=k20201202 header.b=clpL97EK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232747AbjEHGJp (ORCPT + 99 others); Mon, 8 May 2023 02:09:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232571AbjEHGJn (ORCPT ); Mon, 8 May 2023 02:09:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF28413875; Sun, 7 May 2023 23:09:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7C07761ECE; Mon, 8 May 2023 06:09:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EE66C433EF; Mon, 8 May 2023 06:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683526181; bh=DR9ESMaKwm8NsHUBK4z/TFCX3IDQUJxokLl7RszMNZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=clpL97EK1OY4BMwKvAvSWx4MZl136IHuQy/dFELAzOAo1G4EjBD6LZkugfuNKw6Ld IYQheXg0amnlyfWvRZaITSBTUGzWcWIOzEJf8pK9jGdwncgLIOFiPIfeVdlhsXgK4k 0aPV/sRclXYRdqrJUxe84i4Vdy2ERRru8Gd07uQz7MKv5T0sId42mVzu6VeOV/aY7I SScnoxYjSRuKWjXqaRkoTU7lp9iifllM4h6U0G3vwP7r/IiJ+AQS7by6X16iZZ9kgv xex9BGquDw5kFSog46z/srIce7pSx4585PC0lSi7C61/nNX69xka6ekqzwdBPX0x6R W/LSfWBh9i8kw== Date: Mon, 8 May 2023 09:09:38 +0300 From: Leon Romanovsky To: Haiyang Zhang Cc: Long Li , 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 Message-ID: <20230508060938.GA6195@unreal> References: <1683312708-24872-1-git-send-email-longli@linuxonhyperv.com> <20230507081053.GD525452@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Sun, May 07, 2023 at 09:39:27PM +0000, Haiyang Zhang wrote: > > > > -----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 > > > > 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 packets > > > 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(-) > > > > 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. I'm aware of the difference between mana_en and mana_ib. The change you proposed doesn't depend on "support multiple packets / CQE." and works perfectly with one packet/CQE also, does it? Thanks > > Thanks, > - Haiyang >