Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2711580rwb; Mon, 7 Aug 2023 02:04:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwtZL+OkXpuyxKbt5tQDETW0eJKesd5iM1Eer/fsWWxRm5i5tE4dBXUIGj18LoceBP2apK X-Received: by 2002:a05:6a21:498a:b0:13b:a1eb:79e6 with SMTP id ax10-20020a056a21498a00b0013ba1eb79e6mr7667553pzc.53.1691399059105; Mon, 07 Aug 2023 02:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691399059; cv=none; d=google.com; s=arc-20160816; b=JolZk3qjzKIe8JFDxvQVDiTmSFquHxrOlMiLXfDgGdPW6cj+qjhSTyNi5PZlFx1wVr A7SnR7bKdNCIRDd5MsURlcKPv0YneqyDXcZInmm8mZUPAw6IH/ifbm22rabG40TYKMgt mgTaUjZczgCPUu6Y/Ucq4+dp8PW/+7jJX/AIN9xvhGLLRcP75KrGYk+s4ePUCeotM6KK rCdYidnq4GRFEB8MlIYY+FCi5UmAiBkCpg9bIyhOKiikUQJVZF7ybIcZLnnJwIBYztsV irfOrP/oy/cczF2iCJv74oD/LRIjNUuQWJAQumOMjGhTY33vbX19xDtPOpjRF5au12at vQoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=IZOfB5YnPKnQVU7jA1WDNuZEx4U8oQjKM+nxcb0XWAE=; fh=QiPcRIg5MTMgqwdDI0tHDawiw1sHEyMU53k8opXP2WM=; b=ppQkUNcRXBJ1z7N6zHKt4QvzSFqz0yNkXWl/77PpGlvNc9Zvi2GNESjzMLa7oiORh7 CC7DYS3CBNIHtdYNk6CGIjpTNGxoxzGQp9REcwsIVKLflA0SL0x7zGTV0lmvLBKf/lHi SKm3pTSbTVnAqM9oLNTMqYdrJGZ3Dbf/+dUtc67ozR2gCPV/nbf6MlZkTniy5lq6YMI8 n3uek3GTLD/GglmxJdn+YMw/w6SvPIONBfbxzbFc3guivkpou7b0NL+8+cT3M/d58akF OrzyONoZR2aFUHeeLc8aUZBnY8i93kkh4iKn9KGkdaugU6I2z3Eh/wRWRsJIZ6B0OeY6 5syg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AHBpwm2y; 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 t6-20020a63b246000000b0053f265b0eecsi1018891pgo.133.2023.08.07.02.04.06; Mon, 07 Aug 2023 02:04:19 -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=AHBpwm2y; 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 S230115AbjHGIfP (ORCPT + 99 others); Mon, 7 Aug 2023 04:35:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjHGIfO (ORCPT ); Mon, 7 Aug 2023 04:35:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3688A10EF; Mon, 7 Aug 2023 01:35:13 -0700 (PDT) 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) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BEF8861666; Mon, 7 Aug 2023 08:35:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E921C433CC; Mon, 7 Aug 2023 08:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691397312; bh=dQQYVCV202V1fkp+H9UYGcqK9NudKTkhkMb/AaQNtto=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=AHBpwm2yXk/zDdi/IuT5WptLqTuta3FroC6SuurxaOy3UnmeMYJzT2/FD+N7S1K99 VhT+tOE4K5IzfA7Fc+lS6dkK72uTWhw9BtgS+9LVnJRUeUxGgPNTMpySIt0JLqlEkV CdHA10dcbgLn97pcYK+cxXKYzI2Ymw5wpMempKkf5GT8ZwG7JJ1iZDVlsBHVt011k1 Gy6JhhtpXZkdXr6F+4I6nCoRusAMES8rB2YZYQp3nVyWmkEoEDitjcx+MASrmXOVgu g5mtLIEZOKj9z38imh4oKyzKDQdX+O5vjGrnlWeDICBFLN2uxAMHMj17h9WWWIHlJn q//0thIlNzCyA== Message-ID: <6f69bd92-a063-1934-2bd8-42a5950254a7@kernel.org> Date: Mon, 7 Aug 2023 10:35:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: decui@microsoft.com, kys@microsoft.com, paulros@microsoft.com, olaf@aepfle.de, vkuznets@redhat.com, davem@davemloft.net, wei.liu@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, leon@kernel.org, longli@microsoft.com, ssengar@linux.microsoft.com, linux-rdma@vger.kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, bpf@vger.kernel.org, ast@kernel.org, sharmaajay@microsoft.com, hawk@kernel.org, tglx@linutronix.de, shradhagupta@linux.microsoft.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH V6,net-next] net: mana: Add page pool for RX buffers Content-Language: en-US To: Haiyang Zhang , linux-hyperv@vger.kernel.org, netdev@vger.kernel.org References: <1691181233-25286-1-git-send-email-haiyangz@microsoft.com> From: Jesper Dangaard Brouer In-Reply-To: <1691181233-25286-1-git-send-email-haiyangz@microsoft.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 On 04/08/2023 22.33, Haiyang Zhang wrote: > Add page pool for RX buffers for faster buffer cycle and reduce CPU > usage. > > The standard page pool API is used. > > With iperf and 128 threads test, this patch improved the throughput > by 12-15%, and decreased the IRQ associated CPU's usage from 99-100% to > 10-50%. > > Signed-off-by: Haiyang Zhang > Reviewed-by: Jesse Brandeburg For the record I want to provide my ACK as page_pool maintainer: Acked-by: Jesper Dangaard Brouer As patch was applied Sunday, my ACK will not reach the git tree https://git.kernel.org/netdev/net-next/c/b1d13f7a3b53 --Jesper