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 7853845BB6 for ; Wed, 23 Oct 2024 23:21:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 732B540261; Wed, 23 Oct 2024 23:21:35 +0200 (CEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mails.dpdk.org (Postfix) with ESMTP id 8EBEF40261 for ; Wed, 23 Oct 2024 23:21:33 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315e62afe0so2257105e9.1 for ; Wed, 23 Oct 2024 14:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729718493; x=1730323293; 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=qdurdV6dL2vCq/j1p6X4i2iMk+dQZhdKPz6EPui8DiM=; b=W7oROwSDB18qmjzIeCPetG5F+hSpvN0nqWEyDQl9u4VjznCnyaqNJzwDsfmApu+rY8 Tm/AOiElAwfLmrOh4SSRP4lac09RIia218zr89OEMLPrUGdu/gH6udpWQFnJgJAJBhkw RCZd5PrFJOv+pOaXncs4oF/BoDvTzKHKqAneY+2HwIycFz2DyV1FnnEISXeFXiwLlIan InN/fouy+zquWUVxN1fvVxF+Dkrqq2yQmrlOMq4rLbgJ1fzpIV/YJzFpPWfOEo900wVp ei9Ea3kpr8kmMVASa5hZVgfiv8jp96Pl6Abj7Von7f0Kai2+CpHF703iXCkC+Sg5JXa7 G56Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729718493; x=1730323293; 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=qdurdV6dL2vCq/j1p6X4i2iMk+dQZhdKPz6EPui8DiM=; b=X73bUfSpY4qoW7m3pMuTO253oMHADneXR9VvE/maBP34FhXPsfTFBK+GV8+nAMr7IG PHfVz5eou+ptXLvLAhaMMxC0+sQ4+7lMkO86OZdeDPuadNNhW3SNlLnAErbYe6QI8tVd CnSLsjod3zIcePXFocjaqliRKsidaPZ3uY3FaRjtYgXQjo6QlySCVUZHYVAYtqFZIRID qLlm6cWsrFlrZN9YPw3Nw8HN/Apj74+M/hRgPVYOfMghXIh/NkmZUsojtdJcetHi0OHx ah9yFZbpa+RRlK+YrxZxg0NDF7V3OipV3eYyw9LJikb3GnYGzRz5kNp67KbJYwxYw+rP 5+vA== X-Forwarded-Encrypted: i=1; AJvYcCVlbBua8ydRUW/87ax04FA08cxwNHh62ojcivS/JUn3qbPEsjrkTLDuWy6p9Bl/6en+WIDj2q8=@dpdk.org X-Gm-Message-State: AOJu0YzFU5lE+lkZAQUXziWbpenCgC65s0UnCR1uU+rcvytILhLSC090 TJk7fMHHba4znsxF1mkAOY5EcjkzHKeh/qRto6A8OAJarYjh5zXxwkah3LV8 X-Google-Smtp-Source: AGHT+IFMdlXdbLiwC8x3luigSP9r8ShyvzFJCmjFFCX2jvp2nL2dmsYdF1YnW3rkA9N1hj+Fjjls/Q== X-Received: by 2002:a05:600c:468f:b0:42e:75a6:bb60 with SMTP id 5b1f17b1804b1-4318415ba0dmr32644005e9.19.1729718493073; Wed, 23 Oct 2024 14:21:33 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:21cd:def0:a01d:d2aa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43186becd5bsm26795085e9.21.2024.10.23.14.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 14:21:32 -0700 (PDT) From: luca.boccassi@gmail.com To: Viacheslav Ovsiienko Cc: Dariusz Sosnowski , dpdk stable Subject: patch 'net/mlx5: fix number of supported flex parsers' has been queued to stable release 22.11.7 Date: Wed, 23 Oct 2024 22:16:51 +0100 Message-ID: <20241023211704.1216956-71-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241023211704.1216956-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-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.7 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/25/24. 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/f12c8f789d533d874b674f3d43a945aa1965e37e Thanks. Luca Boccassi --- >From f12c8f789d533d874b674f3d43a945aa1965e37e Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Wed, 18 Sep 2024 16:46:19 +0300 Subject: [PATCH] net/mlx5: fix number of supported flex parsers [ upstream commit 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f ] The hardware supports up to 8 flex parser configurations. Some of them can be utilized internally by firmware, depending on the configured profile ("FLEX_PARSER_PROFILE_ENABLE" in NV-setting). The firmware does not report in capabilities how many flex parser configuration is remaining available (this is device-wide resource and can be allocated runtime by other agents - kernel, DPDK applications, etc.), and once there is no more available parsers on the parse object creation moment firmware just returns an error. Fixes: db25cadc0887 ("net/mlx5: add flex item operations") Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index 5d826527b2..56b482a16e 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/mlx5.h @@ -60,7 +60,7 @@ #define MLX5_ROOT_TBL_MODIFY_NUM 16 /* Maximal number of flex items created on the port.*/ -#define MLX5_PORT_FLEX_ITEM_NUM 4 +#define MLX5_PORT_FLEX_ITEM_NUM 8 /* Maximal number of field/field parts to map into sample registers .*/ #define MLX5_FLEX_ITEM_MAPPING_NUM 32 -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-10-23 22:16:43.205519528 +0100 +++ 0071-net-mlx5-fix-number-of-supported-flex-parsers.patch 2024-10-23 22:16:40.539944297 +0100 @@ -1 +1 @@ -From 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f Mon Sep 17 00:00:00 2001 +From f12c8f789d533d874b674f3d43a945aa1965e37e Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f ] + @@ -16 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index 5f7bfcd613..399923b443 100644 +index 5d826527b2..56b482a16e 100644 @@ -28 +29 @@ -@@ -69,7 +69,7 @@ +@@ -60,7 +60,7 @@