From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0FB4445C15; Wed, 30 Oct 2024 14:58:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D99EF4331C; Wed, 30 Oct 2024 14:58:42 +0100 (CET) Received: from office2.cesnet.cz (office2.cesnet.cz [78.128.248.237]) by mails.dpdk.org (Postfix) with ESMTP id 05BDD4028E for ; Wed, 30 Oct 2024 14:58:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1730296720; bh=ObZfHzSZEgRw+UtOHmcCpDGKFY7okVdREpoZdVjCrjA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=AYsfaItPPEFJWgVfc8i2wbXP9Vt+LeOsHu/ZWIE4Z0mnUx5zoV0H3rExBbzfjlqgg hRtQ05C+SD79jd/oSVxvt5R+elej8HFNmFRQtfeVVSxg0YDw78i+orl1G0i35Eqfgu IohK6GM/8Z9oq5Ru+taLhm6kj8Woqw0g4biZkX+9uLcN/5sAyHXxC8+0R69CMhPt/P 7SVGjIToZm190jOW0uFubbiC8OBOREatK3HJQ2m8NQrg0TrUi3Gj4NPIlv2cosDYa9 DazttI/eIjV0HMqH9I1Sqx+pT3t2KR7+sOo7QHWYvNy9C6gzHg6q6KPOqF57RmQLV7 rDoyPW+/MLl/g== Received: from [10.113.170.43] (rt-tmc-kou.liberouter.org [195.113.172.126]) (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 office2.cesnet.cz (Postfix) with ESMTPSA id 7F152118007D; Wed, 30 Oct 2024 14:58:40 +0100 (CET) Message-ID: Date: Wed, 30 Oct 2024 14:58:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net: increase the maximum of RX/TX descriptors To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , anatoly.burakov@intel.com, ian.stokes@intel.com Cc: dev@dpdk.org References: <20241029124832.224112-1-sismis@cesnet.cz> <98CBD80474FA8B44BF855DF32C47DC35E9F845@smartserver.smartshare.dk> Content-Language: en-US From: =?UTF-8?B?THVrw6HFoSDFoGnFoW1pxaE=?= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F845@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 29. 10. 24 15:37, Morten Brørup wrote: >> From: Lukas Sismis [mailto:sismis@cesnet.cz] >> Sent: Tuesday, 29 October 2024 13.49 >> >> Intel PMDs are capped by default to only 4096 RX/TX descriptors. >> This can be limiting for applications requiring a bigger buffer >> capabilities. The cap prevented the applications to configure >> more descriptors. By bufferring more packets with RX/TX >> descriptors, the applications can better handle the processing >> peaks. >> >> Signed-off-by: Lukas Sismis >> --- > Seems like a good idea. > > Have the max number of descriptors been checked with the datasheets for all the affected NIC chips? > I was hoping to get some feedback on this from the Intel folks. But it seems like I can change it only for ixgbe (82599) to 32k (possibly to 64k - 8), others - ice (E810) and i40e (X710) are capped at 8k - 32. I neither have any experience with other drivers nor I have them available to test so I will let it be in the follow-up version of this patch. Lukas