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 9C5994569C for ; Wed, 24 Jul 2024 13:33:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 968DD4336B; Wed, 24 Jul 2024 13:33:48 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id 5C912433B2 for ; Wed, 24 Jul 2024 13:33:47 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4277a5ed48bso50398095e9.2 for ; Wed, 24 Jul 2024 04:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721820827; x=1722425627; 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=q692kP5SLn0/qjGVuuvh3b2Ib+TpJUfF1g8HTXhAgpw=; b=AnUd6lh6RZqVWii8o2U4gExBkNxl8kA7Wedw1S2CuUNKfKJK+s/Ff1UrOZLwVof81P MHBrKG11mtlU8k9ggLHLq9ZsZGf8BbhvM3NBAhHXAlj/oifrP19m2YPj6NxIzoKZOGh4 IthsGScy1L48ZhhZYGz3eJ2tcW6rRSCmhPnOnri3xdRfPwE9TBYJz9mFPfzpnhVx2xyo 36VuA3+V3vyuDLB01JTAqU4bYQvLsOPp/dWWzzhDIqAs2cO1Gn71kgyxuGvEHPUUtzNF TuTbv1KEoK/+q0gHwHoB20v0xk9taLjOKdaK0yoBCj1C3JOtKhTy22cR9PlEfUrn7eO0 JdmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721820827; x=1722425627; 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=q692kP5SLn0/qjGVuuvh3b2Ib+TpJUfF1g8HTXhAgpw=; b=UDBT+3cGHpZZq8Xqi8z2HilxrQRXPBlASGUX7ovGRGbVEMt3HM2nYp5O5v9LyWJb7i KDLZDaNoaKUvv0e+CvHRKDGstN84uVe3+3I0E6K3qE+LIG40w+78zBfRAr8VDf7gF2F4 HY1RQbZehvYx8+nHLpaLfUze4mvnwEi2AP4TxuwxSFOgZBEErMixeL4CscE6SOO+d25c ZnDTeghH3zVMHSkTmrt+m+nKicF1u6H7bCgm0/4HQFt571NevnmU/H7TEHZBNbjtVyLr qY1SlCY1pFU8DmSOIoY2YGSBPglydyWDjBfclHnLUbPGVKdncz6aOPB0IdsHIidQ9n8h H9YQ== X-Forwarded-Encrypted: i=1; AJvYcCXgmh5u7Q5wBvJ+qzd4zJFL1YsSagccONfozUTgNJ83jqX1hLlb6AscEjUol425/P+QQyV5DPH3Ekg80tho1Rg= X-Gm-Message-State: AOJu0YwQCxLEILqWdWGok7uJCm/dwczoU6uK3ysJdWSbtiTBGthY7qh/ PfGeX6uhseI/WUkUDGh5dPR/gF/FU4gX5SDffzXI3295ylTeltFnw1hNmGV1 X-Google-Smtp-Source: AGHT+IHjmhQU9P6ROhF7vndeTqF12zzFoGLZNT5C9xuNM22xFPOeyexSXeYpqLATaZ7t8+ctmFTk1g== X-Received: by 2002:a05:600c:4fc6:b0:426:6138:34b3 with SMTP id 5b1f17b1804b1-427f954c547mr13195835e9.5.1721820826886; Wed, 24 Jul 2024 04:33:46 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427f941377csm25691345e9.48.2024.07.24.04.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 04:33:46 -0700 (PDT) From: luca.boccassi@gmail.com To: Vladimir Medvedkin Cc: Bruce Richardson , dpdk stable Subject: patch 'net/ice: fix return value for raw pattern parsing' has been queued to stable release 22.11.6 Date: Wed, 24 Jul 2024 12:32:48 +0100 Message-Id: <20240724113318.616754-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240724113318.616754-1-luca.boccassi@gmail.com> References: <20240715152704.2229503-86-luca.boccassi@gmail.com> <20240724113318.616754-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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/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/e4447279159facfeb7f88155e79fd9210a950134 Thanks. Luca Boccassi --- >From e4447279159facfeb7f88155e79fd9210a950134 Mon Sep 17 00:00:00 2001 From: Vladimir Medvedkin Date: Mon, 22 Jul 2024 13:50:46 +0000 Subject: [PATCH] net/ice: fix return value for raw pattern parsing [ upstream commit 4fe08bab4bc71f1c04854f764bae98927c2b6fe1 ] If the parser was not initialized when calling ice_hash_parse_raw_pattern() -rte_errno was returned. Replace returning rte_errno with ENOTSUP since rte_errno is meaningless in the context of ice_hash_parse_raw_pattern(). Fixes: 1b9c68120a1c ("net/ice: enable protocol agnostic flow offloading in RSS") Signed-off-by: Vladimir Medvedkin Acked-by: Bruce Richardson --- drivers/net/ice/ice_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c index 6fcfc5fc4c..94b104fb36 100644 --- a/drivers/net/ice/ice_hash.c +++ b/drivers/net/ice/ice_hash.c @@ -660,7 +660,7 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad, int i, j, ret = 0; if (ad->psr == NULL) - return -rte_errno; + return -ENOTSUP; raw_spec = item->spec; raw_mask = item->mask; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-24 12:29:21.564495951 +0100 +++ 0010-net-ice-fix-return-value-for-raw-pattern-parsing.patch 2024-07-24 12:29:20.675024200 +0100 @@ -1 +1 @@ -From 4fe08bab4bc71f1c04854f764bae98927c2b6fe1 Mon Sep 17 00:00:00 2001 +From e4447279159facfeb7f88155e79fd9210a950134 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4fe08bab4bc71f1c04854f764bae98927c2b6fe1 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index aa76718313..b720e0f755 100644 +index 6fcfc5fc4c..94b104fb36 100644 @@ -23 +24 @@ -@@ -653,7 +653,7 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad, +@@ -660,7 +660,7 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad,