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 9658645C16; Wed, 30 Oct 2024 17:26:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87E4043440; Wed, 30 Oct 2024 17:26:45 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id C8B6540299 for ; Wed, 30 Oct 2024 17:26:44 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id AA89921B11; Wed, 30 Oct 2024 17:26:44 +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 2/2] net/ice: increase the maximum of RX/TX descriptors Date: Wed, 30 Oct 2024 17:26:42 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F855@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20241030154256.379249-3-sismis@cesnet.cz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 2/2] net/ice: increase the maximum of RX/TX descriptors Thread-Index: Adsq4mxjye3GuKmKQga/CD7q2Yku0gABgdHA References: <20241029124832.224112-1-sismis@cesnet.cz> <20241030154256.379249-1-sismis@cesnet.cz> <20241030154256.379249-3-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 ice max descriptors to 8192 - 32 as per datasheet: > Register name: QLEN (Rx-Queue) > Description: Receive Queue Length > Defines the size of the descriptor queue in descriptors units > from eight descriptors (QLEN=3D0x8) up to 8K descriptors minus > 32 (QLEN=3D0x1FE0). > QLEN Restrictions: When the PXE_MODE flag in the > GLLAN_RCTL_0 register is cleared, the QLEN must be whole > number of 32 descriptors. When the PXE_MODE flag is set, the > QLEN can be one of the following options: > Up to 4 PFs, QLEN can be set to: 8, 16, 24 or 32 descriptors. > Up to 8 PFs, QLEN can be set to: 8 or 16 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