Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3557968rwb; Mon, 3 Oct 2022 17:33:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Sf3hW4J6lZSQtoC9eTe1iYcscZ0t8xl1fRDRpP25QC8bFomBoV7OFPbPZnEMk9HdRCIjN X-Received: by 2002:a17:907:3e85:b0:73d:60cc:5d06 with SMTP id hs5-20020a1709073e8500b0073d60cc5d06mr17556844ejc.722.1664843588126; Mon, 03 Oct 2022 17:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664843588; cv=none; d=google.com; s=arc-20160816; b=0wKCbB7m4B40sV7fob6Sv8SaOQzfaerXBxhb7CAXssXB+0gH7/FiNwEsJtRZLHl+A0 fn4R8TY9aUHz+EpPp2523SaaRTpYBpiWJfhhmFvUs0HGA7m9PoWqd+assF/iSpN6dAeC uB/0DatHJ7E+j0atEsSNh9iRBlTyFvGntwdXQJgZ6ztRnLNPcV0JqJZSTmK2juRBce7p zyZdjJRnBRxztRUlitZPAOCqR1osnDHOsBfWisu+plLbFjPEGgmmzmFQoKvnTw/fmUQo NG1/Bp37nM2T28DEX5BgqR8jncBMgbHXTItDDO5PczlkD9SYQN4q271E0ZN6LRJqlE37 vjXA== 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=zQgDrYEmO1A4O7v6c6eHX9+QZMgsYW5T833nre2SJ68=; b=Q5iOhzKeSdhVJo9V7T43+WmittQYflSfPcDQxkI6N1W3uqWdHRuueAUnoCjMhzvk0Z yxZ9QLyFYYn/887a3Tbl5IMc/rW+TZXZmjzBqb+K7CnLdGrBNsHmwBcCwnhg3SqHBuYV UV63MNG2cm8gUrzVVDWtA6fVk9kaTGU6G/bnpCRVzgDG9Pt0sBAe4PzAqj8SIAZj6jkT sjk8IRiDCvnxY4ybFiDY4d63qpQOd3Wq2Mgu9QfBV5hmx58BEADezT8/1+/ofkZiyCUG ajxSPNcld67qDldcBxqP0NFIyMZwTnsjG3YatF97nKiPqpgdq4Khn+swBo+auKxFKI/I yAVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fLN7m403; 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 j27-20020a170906279b00b0078d0e45a7e5si435751ejc.172.2022.10.03.17.32.42; Mon, 03 Oct 2022 17:33:08 -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=fLN7m403; 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 S229867AbiJCXwE (ORCPT + 99 others); Mon, 3 Oct 2022 19:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbiJCXwD (ORCPT ); Mon, 3 Oct 2022 19:52:03 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F18922B06; Mon, 3 Oct 2022 16:52:02 -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 sin.source.kernel.org (Postfix) with ESMTPS id B8742CE0F80; Mon, 3 Oct 2022 23:52:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DEFFC433D6; Mon, 3 Oct 2022 23:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664841118; bh=zQgDrYEmO1A4O7v6c6eHX9+QZMgsYW5T833nre2SJ68=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fLN7m403aSrqYAbPYrOGp4NUT21gM4feLXJ6nOsnL6y489Sq6w2HauvSGrXo3PViL MkVE4z6eAnfISP2Oqoz3ZyHQaekFj5gDPA3UVESVb3NVxXY7jcBgg4KctY5vpIjMA3 l39l3MNwHOzjLbhK69PbGlpby/7OMaqK74G3vt+9nkgk2GWFUd7IXozeabgdkObFUo OhQTHgmzPIeqGQ1kvk+GNgWuqksCDK2dkyJXYjvxUMhW/5z0M1dbhXxw2b8Va1JCfM JgeIzKK8oQNc3jZ+CLOLK8WowW0ECF+7BEBhlAaU8e/r2r9DxRWcAEvKaUyvYZxHbf 1F6tbHeOEnSTw== Date: Mon, 3 Oct 2022 16:51:57 -0700 From: Jakub Kicinski To: Shenwei Wang Cc: "David S . Miller" , Eric Dumazet , Paolo Abeni , Andrew Lunn , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Wei Fang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: Re: [PATCH v2 1/1] net: fec: using page pool to manage RX buffers Message-ID: <20221003165157.2bbdae26@kernel.org> In-Reply-To: <20220930204427.1299077-1-shenwei.wang@nxp.com> References: <20220930204427.1299077-1-shenwei.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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 Fri, 30 Sep 2022 15:44:27 -0500 Shenwei Wang wrote: > This patch optimizes the RX buffer management by using the page > pool. The purpose for this change is to prepare for the following > XDP support. The current driver uses one frame per page for easy > management. I believe this has been applied as: commit 95698ff6177b ("net: fec: using page pool to manage RX buffers") to net-next. Thanks!