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 A47F0489EF for ; Mon, 27 Oct 2025 17:22:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EF374028B; Mon, 27 Oct 2025 17:22:40 +0100 (CET) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id AA19F4028B for ; Mon, 27 Oct 2025 17:22:38 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-4270a0127e1so3867986f8f.3 for ; Mon, 27 Oct 2025 09:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582158; x=1762186958; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ekwPv7dnrMNV56to11O/bEWYlI0gayQaPQgYsJGz8dE=; b=A15OjSdWp33i1k2cfcubNlt7REXTyWlaiWkuKR5XVKutKgBXKpYTY6ufHCATUcvrdw 03IaLKt2513y3TJDaAQDLE61iDN3B6fqy4tegPrKimmscAHMRMuNMMAqMdSphbMq8cbz sxRTtpAy7xb/y9bGrTFn0lwWzUuWiaEZ4dA9uKYwTHRpE94arUX+ztgp6St8e4MGPQ5A Ouw1Fs25ueRlj3E7DNly5ycBo1TzY/uarMENRwzuMwzokgTRCQiwZmvNtre70uUgJ6Hh L/cSKfLj0rZwsbyKhRAL8da3EIbJAkqq7fhi0+w0rSHYtxGOegdSh4igCs/Qv68QMHtE 4V+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582158; x=1762186958; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ekwPv7dnrMNV56to11O/bEWYlI0gayQaPQgYsJGz8dE=; b=v6cjHEk+TRjXKLZsSlE5b8pJYtACkDVZUWA+eD8J86+oJd2Y7l3x7018gvBEw9IGLv UeZ5GgtQWLW6u7UD4E1EWUqpbVZtiO5SudlBuS3VLbp6oIccYU/6pFAhq/yzBmXQwxnS i6JAMD7r228/JW25HrR1NbxeyEXk+Umf9Tbs5V9VLiV8jSaAyil0m+cYTKWonOWXjyd9 HDPOix41Ie6fnjR00JI1L63fbQN37SpzYpnlgd5ykXOmMLDPfWEjn4FmrUEKXniJ63+i PO/vjo/A7Q8H09wO+1VSLkim5Q4BginrZEjoOQY1zWmeuD1dzOUkLTPxLcj9IAAjoKBq 4Ilw== X-Forwarded-Encrypted: i=1; AJvYcCW9MW0zG7QMJEnkjfMqoGrrXb7aNdO1tsKJ7X/LRRsmKf2V5x4yyaQ3xhgowjfeej9ilkKbdJE=@dpdk.org X-Gm-Message-State: AOJu0YzlowSCubWMXHzHR3rwZz8omI3SHiU8nNchZobh5BeG46+EMwEX aUsjf9QqbsrYWrKGWzL12v4sEYPN7CtRyGSG5HlUEnLsia2yTgG98d5h X-Gm-Gg: ASbGncsxEMoKsLTuYdMnsVmHPO4x9nwdjIgGxjLjoa43h6wZnEiGVSHu0Rme+ZCnQzQ 1vcnfEJWTef1/j5DG+3Gt891v7klj0EE/FwOQ4glJZvgf5xf/ZhDBYk9eJZE+afr86JqcsW40/s o6OtE7iHmwJ+5FREYnlcor9z3EFpXo8klHiINIeDGatbCqvz4wnwFiJI3qYSWB5kvq3o8UF4L2R pfDR1Ps8MMRaDPeun8YuVIyj6/bbvsB2hKWf+uYyh/PXVUDFUDnYvN2dx2NUEKYwlQFtHMi41dL 2JzAgvt/li1/4BCtvxxgQKNZCjHx5DJTAxJCXhzTee0kvlFI50DeAMGl+GVZPtVrUQp1/o6lwIu w2juhiamuDxlInse6bt1aYoopokKIBd+jxabXfMngkIG1PqpS5P3650IGVIjZbmey2sKfi3fr7J Im6KOorw== X-Google-Smtp-Source: AGHT+IHVEqWLx62XjDXh8G8tSSRBWRgssYxaDTDvW9tWlcM9URgs72O5OLU1w18sJq2iVzKIGFFp7A== X-Received: by 2002:a05:6000:3108:b0:427:6cb:74a4 with SMTP id ffacd0b85a97d-429a7e7a1b0mr228613f8f.39.1761582158089; Mon, 27 Oct 2025 09:22:38 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:6fc5:c3bc:147e:832c]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-429952df5c9sm15064043f8f.41.2025.10.27.09.22.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Oct 2025 09:22:37 -0700 (PDT) From: luca.boccassi@gmail.com To: Bruce Richardson Cc: Kirill Rybalchenko , dpdk stable Subject: patch 'net/ice: fix initialization with 8 ports' has been queued to stable release 22.11.11 Date: Mon, 27 Oct 2025 16:19:24 +0000 Message-ID: <20251027162001.3710450-46-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251027162001.3710450-1-luca.boccassi@gmail.com> References: <20251027162001.3710450-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/29/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/5f8d3e7763fd6250bb977012cc1b435835e9689a Thanks. Luca Boccassi --- >From 5f8d3e7763fd6250bb977012cc1b435835e9689a Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 30 Sep 2025 15:28:50 +0100 Subject: [PATCH] net/ice: fix initialization with 8 ports [ upstream commit 17a8fc206178c6b354a8fde04c23cf29db044961 ] When initializing an 8-port device, the ACL configuration failed with the adminq returning an ENOMEM status from the sixth port onwards. Fix this issue by halving the depth, and therefore the space required, when using a device with >4 PFs. Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF") Signed-off-by: Bruce Richardson Acked-by: Kirill Rybalchenko --- drivers/net/ice/ice_acl_filter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c index 8fe6f5aeb0..5cbde233e6 100644 --- a/drivers/net/ice/ice_acl_filter.c +++ b/drivers/net/ice/ice_acl_filter.c @@ -115,7 +115,10 @@ ice_acl_setup(struct ice_pf *pf) else params.width = ICE_AQC_ACL_KEY_WIDTH_BYTES * 3; - params.depth = ICE_AQC_ACL_TCAM_DEPTH; + if (pf_num > 4) + params.depth = ICE_AQC_ACL_TCAM_DEPTH / 2; + else + params.depth = ICE_AQC_ACL_TCAM_DEPTH; params.entry_act_pairs = 1; params.concurr = false; -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-10-27 15:54:36.514212498 +0000 +++ 0046-net-ice-fix-initialization-with-8-ports.patch 2025-10-27 15:54:34.815950051 +0000 @@ -1 +1 @@ -From 17a8fc206178c6b354a8fde04c23cf29db044961 Mon Sep 17 00:00:00 2001 +From 5f8d3e7763fd6250bb977012cc1b435835e9689a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 17a8fc206178c6b354a8fde04c23cf29db044961 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ - drivers/net/intel/ice/ice_acl_filter.c | 5 ++++- + drivers/net/ice/ice_acl_filter.c | 5 ++++- @@ -20,5 +21,5 @@ -diff --git a/drivers/net/intel/ice/ice_acl_filter.c b/drivers/net/intel/ice/ice_acl_filter.c -index 83cb3e36f9..38e30a4f62 100644 ---- a/drivers/net/intel/ice/ice_acl_filter.c -+++ b/drivers/net/intel/ice/ice_acl_filter.c -@@ -114,7 +114,10 @@ ice_acl_setup(struct ice_pf *pf) +diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c +index 8fe6f5aeb0..5cbde233e6 100644 +--- a/drivers/net/ice/ice_acl_filter.c ++++ b/drivers/net/ice/ice_acl_filter.c +@@ -115,7 +115,10 @@ ice_acl_setup(struct ice_pf *pf)