From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68A8EC3DA66 for ; Thu, 24 Aug 2023 01:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yAZ2JjjAge9ymnqSN5ldsLmjD/hvtVrroUzzGPzxPSA=; b=LMmJTxKtqTmSkn kob4zC/sz12ehKwYctNmSaujV+Dud5BZh+p4P99RkuMiLCx+i+7+X7xGwMTXfqh340hu0vDFORm9J AacSH6pOcPvE2h3NZmaqyCh5CQkCn7tt5Lw9UtPWqN56n5bISFPfzhrGsIUbZ2wk3L7NffP22wbF1 JYX2Q6kCzICJ9GduYhktWxja2EtMmRIeZQMr1YpxBey5Y/wR0upMe+tVGAD4r5qm2Zcy7/k7RHAVK 5UCRiOqMGzrIBqxWH+tn4+7dTBBWDkqGx7+2/yFUQv/C+WfXEnXhUM6K0nbZ7Z+hRJDBtarVhYamd 8rau0uOEB7F0d1xpmuSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYyrb-001rQm-2N; Thu, 24 Aug 2023 01:10:19 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYyrY-001rQ8-2q for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2023 01:10:18 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B1CF063D07; Thu, 24 Aug 2023 01:10:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B590C433C7; Thu, 24 Aug 2023 01:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692839414; bh=ezjID3PxHGUATbcnhrCju3Zulnrv6a9vUszI0YdyQuc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pLbShbiAkSkOfESCpTZgmK5Mx1+fsem5sr6qt2cDT3RC+CO64Ib4Pn1JDd2vivEWo WTRm2/H1B/EYz9faHgdgRixoGQVtg5LJ7Dw7Sv7VA/vujv1dRND1fT0fwUNC8rcyio TdAB5/KvA9B78u28gy0bquEBI385CxD9enBCm4D/GURLmJ38ZN37V3vejgYX68pbYI 8zvIQp++fPxZAaQ7TADUx1oJxUj4tfvargtQHA43GXqxiONwFcCCrmrcZB+bkGjSqx BSIm9LXf8UoFZTt5mlQsegsmjDP7sBT2Bu1Ari5mDJYjxNueyfIvavdTqfZNup6WbK p/cz/GxwlTwAA== Date: Wed, 23 Aug 2023 18:10:12 -0700 From: Jakub Kicinski To: "Pandey, Radhey Shyam" Cc: "vkoul@kernel.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "Simek, Michal" , "davem@davemloft.net" , "edumazet@google.com" , "pabeni@redhat.com" , "linux@armlinux.org.uk" , "dmaengine@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "git (AMD-Xilinx)" Subject: Re: [PATCH net-next v5 10/10] net: axienet: Introduce dmaengine support Message-ID: <20230823181012.0a46d96a@kernel.org> In-Reply-To: References: <1691387509-2113129-1-git-send-email-radhey.shyam.pandey@amd.com> <1691387509-2113129-11-git-send-email-radhey.shyam.pandey@amd.com> <20230808154853.0fafa7fc@kernel.org> <20230814082953.747791ff@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230823_181016_984925_1B6A56E1 X-CRM114-Status: GOOD ( 14.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 23 Aug 2023 17:38:58 +0000 Pandey, Radhey Shyam wrote: > > The kmemcache is not the worst possible option but note that the > > objects you're allocating (with zeroing) are 512+ bytes. That's > > pretty large, when most packets will not have full 16 fragments. > > Ring buffer would allow to better match the allocation size to > > the packets. Not to mention that it can be done fully locklessly. > > I modified the implementation to use a circular ring buffer for TX > and RX. It seems to be working in initial testing and now running > perf tests. > > Just had one question on when to submit v6 ? Wait till dmaengine > patches([01/10-[07/10] is part of net-next? Or can I send it now also. Assuming Linus cuts final this Sunday - after Sept 10th. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel