Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp261649rdb; Thu, 30 Nov 2023 04:21:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7VawEyU79R77xaGZ1GHNn0fmfXZ0VPFCTgVMOQhah4SqH9GUsw2xWgvlMFZ/EanHVohLd X-Received: by 2002:a17:902:d4d1:b0:1cf:aeca:8a28 with SMTP id o17-20020a170902d4d100b001cfaeca8a28mr20769093plg.60.1701346893061; Thu, 30 Nov 2023 04:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701346893; cv=none; d=google.com; s=arc-20160816; b=tEp3pU7MAjr1bXb59k+hhbIysbTi7vQx2Mn/Eta29jtBVfXSAS1LhisbSDG/d8Kn5e 2ck3pbO6RBboA7oGLORfd8/eFDqxfUWsyp1o37/viWCb9J6FZ7lfHPdaWLaOoHmWyhzW OaVkm471PAnmtC8nS02ZkzXbpW0iVO7cJbNwUHCvA4EGFxDVMeFhGGAPvlzsXswP51Ql 5ceX+LJ1uAELjnOKUuF4F1ks4ylGiVpEIIHZimMFOFPNcvWXV+PPe4YFuOLR28UlnwHQ G072NkRKEC5z1lmm+WB5J8wosilaxRwEXZmPH//SvfWitKrlnx58eT1c9PgUowuf9xUh F9ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=yomR8Zz56t7bq9MDQAtHoDSh8+Fy7vmZOoUdB6XpVUc=; fh=ZkW/PgsM33u29+04MtI7a5+vKWbQVoqBJ6JlvLYDyzo=; b=ZUEf4m+9FDef7/bXYYNsCqq07bcDuB7fXrYOFRZvdBf2OfKysOipnkamnxgto2jSb6 p3FXC7x5MD6ugW8kPPe/4PMeA39bv/zXNzZSTzk3a+0TV7WxGDuRUcqnpuM3LT1GUgPW QEJtGH2NPNvGrPfL40A8DVFVSrA6fHWwdl/IZ/fLN/wKfnxgnggBvTq0PSWFV/sdoLKo 3Ba9K0h+EfYlDLvOGMcJZPLtCPR7rOx+OvW4HTRv/y0ELrBtDOvmTrpgUxcnS1pzTrNk ZXsNIhoPkz0OBZIpCnOcor2u6zSo169hURNJqeLH+LnWuX+LnlEIBP1rop6AicvoEOCz 4bpw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u17-20020a170902e81100b001d00a56b03asi1134236plg.337.2023.11.30.04.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 04:21:33 -0800 (PST) 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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E5EEA807595A; Thu, 30 Nov 2023 04:20:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235177AbjK3MUo (ORCPT + 99 others); Thu, 30 Nov 2023 07:20:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231966AbjK3MUm (ORCPT ); Thu, 30 Nov 2023 07:20:42 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D54610DE; Thu, 30 Nov 2023 04:20:47 -0800 (PST) Received: from dggpemm500005.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4SgwDK5kSSz1P91Y; Thu, 30 Nov 2023 20:17:05 +0800 (CST) Received: from [10.69.30.204] (10.69.30.204) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 30 Nov 2023 20:20:44 +0800 Subject: Re: [Intel-wired-lan] [PATCH net-next v5 03/14] page_pool: avoid calling no-op externals when possible To: Alexander Lobakin CC: Christoph Hellwig , Paul Menzel , Maciej Fijalkowski , Jesper Dangaard Brouer , Larysa Zaremba , , Alexander Duyck , Ilias Apalodimas , , Eric Dumazet , Michal Kubiak , , David Christensen , Jakub Kicinski , Paolo Abeni , "David S. Miller" References: <20231124154732.1623518-1-aleksander.lobakin@intel.com> <20231124154732.1623518-4-aleksander.lobakin@intel.com> <6bd14aa9-fa65-e4f6-579c-3a1064b2a382@huawei.com> <534e7752-38a9-3e7e-cb04-65789712fb66@huawei.com> <8c6d09be-78d0-436e-a5a6-b94fb094b0b3@intel.com> <4814a337-454b-d476-dabe-5035dd6dc51f@huawei.com> From: Yunsheng Lin Message-ID: <6c234df1-d20a-812e-3c58-7e3941d8309b@huawei.com> Date: Thu, 30 Nov 2023 20:20:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.30.204] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500005.china.huawei.com (7.185.36.74) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.9 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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]); Thu, 30 Nov 2023 04:21:00 -0800 (PST) On 2023/11/30 19:58, Alexander Lobakin wrote: > From: Yunsheng Lin > Date: Thu, 30 Nov 2023 16:46:11 +0800 > >> On 2023/11/29 21:17, Alexander Lobakin wrote: >>> From: Yunsheng Lin >>> Date: Wed, 29 Nov 2023 11:17:50 +0800 >>> >>>> On 2023/11/27 22:32, Alexander Lobakin wrote: >>>>> >>>>> Chris, any thoughts on a global flag for skipping DMA syncs ladder? >>>> >>>> It seems there was one already in the past: >>>> >>>> https://lore.kernel.org/netdev/7c55a4d7-b4aa-25d4-1917-f6f355bd722e@arm.com/T/ >>> >>> It addresses a different problem, meaningless indirect calls, while this >>> one addresses meaningless direct calls :> >>> When the above gets merged, we could combine these two into one global, >>> but Eric wasn't active with his patch and I remember there were some >>> problems, so I wouldn't count on that it will arrive soon. >> >> I went through the above patch, It seems to me that there was no >> fundamental problem that stopping us from implementing it in the dma >> layer basing on Eric' patch if Eric is no longer interested in working >> on a newer version? > > I'm somewhat interested in continuing working on Eric's patch, but not > now. Have some urgent projects to work on, I could take this in January > I guess... > This PP-specific shortcut was done earlier and gives good boosts. It > would be trivial to remove it together with the XSk shortcut once a > generic both indirect and direct call DMA shortcut lands. > Does this sounds good / justified enough? Or you and other > reviewers/maintainers would prefer to wait for the generic one without > taking this patch? > I would prefer we could wait for the generic one as there is only about one month between now and january:)