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 7999545C16; Wed, 30 Oct 2024 17:26:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A84C4343A; Wed, 30 Oct 2024 17:26:16 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 8EA7540299 for ; Wed, 30 Oct 2024 17:26:15 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 5AD9621B11; Wed, 30 Oct 2024 17:26:15 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v3 1/2] net/ixgbe: increase the maximum of RX/TX descriptors Date: Wed, 30 Oct 2024 17:26:12 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F854@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20241030154256.379249-2-sismis@cesnet.cz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 1/2] net/ixgbe: increase the maximum of RX/TX descriptors Thread-Index: Adsq4mufVxYKvOnWTCqxmwTGmSRXzgABXiXQ References: <20241029124832.224112-1-sismis@cesnet.cz> <20241030154256.379249-1-sismis@cesnet.cz> <20241030154256.379249-2-sismis@cesnet.cz> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Lukas Sismis" , Cc: , , , "Bruce Richardson" 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 > From: Lukas Sismis [mailto:sismis@cesnet.cz] > Sent: Wednesday, 30 October 2024 16.43 >=20 > Intel PMDs are capped by default to only 4096 RX/TX descriptors. > This can be limiting for applications requiring a bigger buffer > capabilities. By bufferring more packets with RX/TX > descriptors, the applications can better handle the processing > peaks. >=20 > Setting ixgbe max descriptors to 8192 as per datasheet: > Register name: RDLEN > Description: Descriptor Ring Length. > This register sets the number of bytes > allocated for descriptors in the circular descriptor buffer. > It must be 128B aligned (7 LS bit must be set to zero). > ** Note: validated Lengths up to 128K (8K descriptors). ** >=20 > Signed-off-by: Lukas Sismis > --- Drivers should reflect hardware capabilities; it's not up to the driver = to impose artificial limits on applications. Thank you for fixing this, = Lukas. Acked-by: Morten Br=F8rup