From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id D6DF328F3 for ; Wed, 23 May 2018 14:10:29 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id w3-v6so18337110wrl.12 for ; Wed, 23 May 2018 05:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kJ5eQn7bfM3bWhttz4sc/iRo2uQp0U0Y9nsL1rRo2yE=; b=e2MOrJ9Pv5uIhYVo0Y6CM9/PCN/mPlc0tUVwzpSb5sWMrtKxdTlR7spleqQMDK2vub vfyoPgZbzVGA+S6fstOVJ1a0Qx4pe8Pu7cvDOj0yFw2Mjg0vYwARJqOe/JYk5Jm607l7 aEqyoEEjsYa0rgC8joSJzbpHJepMxnmc4Z7OghfX/HimfmPm6zlUJhRWsQ4YKcB1jCLc I7+WoAl7oozJfEsO8C9O2MltrJ2iQB1T8g6m999GVmBw4+KpxtC5wt8URUij7fkn4tof iUnetda+OIVX+KEoC8a2DZL8lnJlm4PU3WuK8A6+AvJuVRhqzQc9DNtjwempME0flWA1 cFLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kJ5eQn7bfM3bWhttz4sc/iRo2uQp0U0Y9nsL1rRo2yE=; b=OlKvj/l7ajqNv+SIil4fckH0ZQ9M0LB1/zZZSDEPkBPH9SQsMNTHIsWldQd2pZ6b59 JPHgzHJOh0PbYLzoIZmw+WylX17VdZ5kKhoHaj7fqz8CX4zV7siALzTFtUSUiyLd5ixt oinHSzsikTlGyfYis5IKi3ZzwdbAH8mRRWkfLisNg3ybU8KFS748TSP6tk4hHo2AYDcq GzkpI1k2gJNxae2SJJPM8Xoj+ZLUH91fUxo9LQothRlDGkijczaMOLkXUuRXiAJ0Aj+i 1Wz8+52WMHe9oLE2b2lxoCy6DCtxKN8GXBsEgVMn86nJXFy6ZWyVPb6moDoRLk9GdxFk SiZA== X-Gm-Message-State: ALKqPwelbDVHOgak7wgl9PA/gyGYR7zw9M9F3KoSZ7E4ZW/nhDwtsNKk SjswGz/n555dDrvVZDim5Nyx0gaySxE= X-Google-Smtp-Source: AB8JxZo+F5Oi6cPJGhen+3JBn89ptf2/gY9do11kIm2SZxJRaGLcu/fsUWAv9FMaU5OSehUvUoxkeA== X-Received: by 2002:adf:e104:: with SMTP id d4-v6mr2026772wri.271.1527077429520; Wed, 23 May 2018 05:10:29 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id u37-v6sm18879760wrb.53.2018.05.23.05.10.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:10:28 -0700 (PDT) From: luca.boccassi@gmail.com To: Roman Zhukov Cc: Andrew Rybchenko , dpdk stable Date: Wed, 23 May 2018 13:09:19 +0100 Message-Id: <20180523121010.8385-8-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/sfc: fix errno if flow API RSS action parse fails' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 12:10:30 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From e4657d56b6af3084d312f58ec1a86d467e936f09 Mon Sep 17 00:00:00 2001 From: Roman Zhukov Date: Wed, 16 May 2018 15:21:23 +0100 Subject: [PATCH] net/sfc: fix errno if flow API RSS action parse fails [ upstream commit 1613848c2cd109d525d60cb6e84c9b893ef0ccce ] The value of rte_errno must be positive in case of an error. Fixes: d77d07391d4d ("net/sfc: support flow API RSS action") Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flow.c index 58adcbca3..1902e04e9 100644 --- a/drivers/net/sfc/sfc_flow.c +++ b/drivers/net/sfc/sfc_flow.c @@ -1063,7 +1063,7 @@ sfc_flow_parse_actions(struct sfc_adapter *sa, case RTE_FLOW_ACTION_TYPE_RSS: rc = sfc_flow_parse_rss(sa, actions->conf, flow); if (rc != 0) { - rte_flow_error_set(error, rc, + rte_flow_error_set(error, -rc, RTE_FLOW_ERROR_TYPE_ACTION, actions, "Bad RSS action"); return -rte_errno; -- 2.14.2