From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 172B6CD8C9D for ; Mon, 8 Jun 2026 16:14:13 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 602AE4067A; Mon, 8 Jun 2026 18:14:12 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id 2584240670 for ; Mon, 8 Jun 2026 18:14:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1780935251; x=1812471251; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xuTj4QQzbrOZq2mZ0Y2UkJnr88maTZ80amjizqR2M98=; b=dfD5rr8+7ZMD9a7n2yrPtVC0N3COkp0gsfNqGwtuscUciMSN4cKI9d9+ rgI+kBUpcIElGdyDRdXI4XuXM9NeLJRxQlQ5uNwTPhlXJYvwd7tnDkkFr YlteHh73+uzwISK2gpqTpr5vmatLYadWRiqySj7ZT+/7ML22Bj+Q87Fbx +y63hVm/0leLcXECuHJc4CtT2OH+xHYa0Vn4pLJDAxBowg6mgS1YngDm0 5gsWApOsANvb/PgwFxvh2gpwOv8SoDdxtIlNqScha1SgXAdf9p1Gu9LX0 43HbBSPgM3+7YBEW0tBv4fjECiT739wgbhBc6BQ2Rej3U5VGzmTdAm0Qd Q==; X-CSE-ConnectionGUID: L8hTzhP5RsSTr3XHBHkJ5g== X-CSE-MsgGUID: 3aPhkO4FQ7+7p64Cly1BsA== X-IronPort-AV: E=McAfee;i="6800,10657,11811"; a="80809533" X-IronPort-AV: E=Sophos;i="6.24,194,1774335600"; d="scan'208";a="80809533" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2026 09:14:10 -0700 X-CSE-ConnectionGUID: YlAsG/omQfS+EU0vYBI1ig== X-CSE-MsgGUID: zcdAcW9YTDSWZreQ+zUMIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,194,1774335600"; d="scan'208";a="245457427" Received: from unknown (HELO localhost.igk.intel.com) ([10.123.235.20]) by orviesa008.jf.intel.com with ESMTP; 08 Jun 2026 09:14:08 -0700 From: Dawid Wesierski To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, vladimir.medvedkin@intel.com, bruce.richardson@intel.com, anatoly.burakov@intel.com, reshma.pattan@intel.com, stephen@networkplumber.org, Marek Kasiewicz , Dawid Wesierski Subject: [PATCH 1/7] net/iavf: increase max ring descriptors to hardware limit Date: Mon, 8 Jun 2026 12:40:53 -0400 Message-ID: <20260608164059.65420-2-dawid.wesierski@intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260608164059.65420-1-dawid.wesierski@intel.com> References: <20260608164059.65420-1-dawid.wesierski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: Marek Kasiewicz The Intel E810 hardware supports up to 8160 (8K - 32) descriptors per TX/RX ring, but IAVF_MAX_RING_DESC caps it at 4096. Applications that need deep descriptor rings for hardware rate-limited pacing (e.g., ST2110 video with thousands of packets per frame) cannot queue enough packets before the pacing epoch begins. Increase IAVF_MAX_RING_DESC to the hardware maximum of 8160 to allow full utilization of the ring depth on E810 VFs. Signed-off-by: Marek Kasiewicz Signed-off-by: Dawid Wesierski --- drivers/net/intel/iavf/iavf_rxtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/intel/iavf/iavf_rxtx.h b/drivers/net/intel/iavf/iavf_rxtx.h index 8449236d4d..22ea415f44 100644 --- a/drivers/net/intel/iavf/iavf_rxtx.h +++ b/drivers/net/intel/iavf/iavf_rxtx.h @@ -16,7 +16,7 @@ /* In QLEN must be whole number of 32 descriptors. */ #define IAVF_ALIGN_RING_DESC 32 #define IAVF_MIN_RING_DESC 64 -#define IAVF_MAX_RING_DESC 4096 +#define IAVF_MAX_RING_DESC (8192 - 32) #define IAVF_DMA_MEM_ALIGN 4096 /* Base address of the HW descriptor ring should be 128B aligned. */ #define IAVF_RING_BASE_ALIGN 128 -- 2.47.3 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.