Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2819775rdb; Wed, 4 Oct 2023 12:23:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvhFUb8zWisgUYDtiNCmUySFbpdz3NcL8JPEhAqi+kmf3TmYIFPj93vgIkGxyawXnUbzBv X-Received: by 2002:a05:6a20:9695:b0:159:f884:4d72 with SMTP id hp21-20020a056a20969500b00159f8844d72mr2833773pzc.42.1696447435961; Wed, 04 Oct 2023 12:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696447435; cv=none; d=google.com; s=arc-20160816; b=A++qd4XTBpABX/+/j7V9qSHR+LnLIZg+bvnbvr2vIYga0zTeXAzXqxIILBc4/IgQ+g abfsPfDyEQBpOHNq6g+jYCuhiypZAsosAWQnx0p7F476csxxRofhSJ/+EcO3+Ksa34Ah FMHFFqOQs4BjeKd90yQ7huShUfxNP76v52qUX7VVYObWYJcpox6fHY2IEJYjjqEi/f4V 6YVQ/YAzg4tdwK/oh9Ynj82C86bzjzEpyoR6QIzJ/XB/6O4f/GJy5IlRL4NblMvbgWMY DFOT3GySI+90xhS+wrQyHDmmgSILDXBQQd8ybuF0wpRz5p8xafG/cQ8BiNM7fNatFGyB Goig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QohC7afjI20RCDKHOk+m0L8LzEbcpMmnc3XNT0XdZKA=; fh=2R0Uehco0un+5ITXUU4b21mzaoLRT8lsWxwAjWcLOsM=; b=SSY1JYxJyVi+q7Vzxmk5aF3SM5Om06Dnf3INfsKUa6+wwMWBsYPu0z+MWaZbxZ34Io 6bEuPGPhJoVJAteugMAPU16njOeNe9rr1QHTKl8gcHEz2R1g+azH1hGY7MfrInoLfUK8 q0aZI1Ve8UjTx6q6QPKO7cFKrfT+cX0PXI2cDmbkZ4MdGWWhmOmIaJBAVUlpCyEB409U SWApxmOCAhHEL0zeVh9VAoM5TIkCYd8M6h8J9/ZGIfXqPdunhqPeCzHv1bda5CIxzlRd wxvsndq0xgeq0AcWMJ+juccDZsPhwpMbxO4UzHeMlgaSrLS+BrO8cV4Cfv844MFKVJid Kydg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F+CFVr0v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id f1-20020a170902ce8100b001bf1973eafcsi4796807plg.571.2023.10.04.12.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 12:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F+CFVr0v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7DA7683F4276; Wed, 4 Oct 2023 12:23:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244504AbjJDTUY (ORCPT + 99 others); Wed, 4 Oct 2023 15:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243858AbjJDTUV (ORCPT ); Wed, 4 Oct 2023 15:20:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E1DE98 for ; Wed, 4 Oct 2023 12:20:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4041AC433C7; Wed, 4 Oct 2023 19:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696447217; bh=Z6f+ph1QyRpOMr1kPPcopjUoPxOl0nIiVIhrZ8RuMUM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F+CFVr0vgd5vx17Trp5BZsr4W0E05tuw8MXQbIFJKMC/eYOwsExwe1aJMSGpItffo ymd1V8eFZa1plyKPBblOYSuK7IrDNJn53rHRHxD6voYsauAOCz7SvIiBhpuH60hyCf obsTqdBwhTfnMK9oAALcn1zWPuWkEkcQ8fxbkchWuabo4w/Rk2EKBidR0fP0hKzv+c lUKAtery5Yp1Yhywv86wkt52UHyfO8ZjIQBnRmJY93TLlgG3gn6bDgYEey+X9R3PYx dsVewleJRNNSX2F6+xt0V/i/0dcq37Ji9+oBIEitfFFzRAoVv4bEelNVBROe0lM68o OZ5UQs/RK8/8g== Date: Wed, 4 Oct 2023 12:20:16 -0700 From: Jakub Kicinski To: Vishvambar Panth S Cc: , , , , , , , Subject: Re: [PATCH net] net: microchip: lan743x : bidirectional throughuput improvement Message-ID: <20231004122016.76b403f0@kernel.org> In-Reply-To: <20230927111623.9966-1-vishvambarpanth.s@microchip.com> References: <20230927111623.9966-1-vishvambarpanth.s@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 12:23:55 -0700 (PDT) On Wed, 27 Sep 2023 16:46:23 +0530 Vishvambar Panth S wrote: > The LAN743x/PCI11xxx DMA descriptors are always 4 dwords long, but the > device supports placing the descriptors in memory back to back or > reserving space in between them using its DMA_DESCRIPTOR_SPACE (DSPACE) > configurable hardware setting. Currently DSPACE is unnecessarily set to > match the host's L1 cache line size, resulting in space reserved in > between descriptors in most platforms and causing a suboptimal behavior > (single PCIe Mem transaction per descriptor). By changing the setting > to DSPACE=16 many descriptors can be packed in a single PCIe Mem > transaction resulting in a massive performance improvement in > bidirectional tests without any negative effects. > Tested and verified improvements on x64 PC and several ARM platforms > (typical data below) Nobody complained for 5 years, and it's not a regression. Let's not treat this as a fix, please repost without the Fixes tag for net-next. -- pw-bot: cr