From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 3714AE5D for ; Mon, 30 Apr 2018 16:43:23 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n10so14600521wmc.1 for ; Mon, 30 Apr 2018 07:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=X8Gw/1dsvFAR+SKTbPUAv9Hau1lakmlYwAlO5Z25qDw=; b=nbt4lQtU0eg0HbkUtjC4y+K6deaHQvIonjmjeAl8fati62Y2lvxEQ8RFFuXnbt5Fjk avUSgU2fuj0RLlNI8ITPB9R1J1bpmZmjNXE2yvKxZjN0xXsMfPULQ8wiTtjc7XsxsSrl FVelaH7PtGj06Im4zhZN3/ckQtxEd1/9MmQeHzTrhjdEY9AohxaHJoKt5tgkSN9MNlbm xyMZR5YSu1vD8uKZ/F+6jd6AKfdO0YmIq6fOdjVgDqGZVUH7PVUOxTgYeNqGgkMVk3CR h5XnEdHiAf/nFWrnzRJC1BGMQz+jSVdpIEcpH2VyQp14Ft1NA2xqdwduEz4F+1wmVN4A +kXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=X8Gw/1dsvFAR+SKTbPUAv9Hau1lakmlYwAlO5Z25qDw=; b=IFPZ22C7KpH7MAL9D8/oGvABiku5j2ZX4Vr5Wkrongb9u30Qfc/DVST615ur7K8HKW euNdRm4Zum9BQtKtaCqNF44PW16I4t0mMcfJ+mQsIMJGr1yG7kok/PKukzud/ClHsRaC 2mo96TS1rLLgxw04Lb3bxBUxmgOq85mfxXLg4fucY92hUDxqw9KWh7wblv81ecbQAHUx IYa69SAz8gdcgJS06kDxDYCJcKG/v+XQfk/BtTUxLll6gHHv/C113PR0k95YA5NJVrPb CnTia+Ry4QcX/kBznWaRkRFSyJodQDTdWsG+wr01OLLMDSaZ1Q/qKU/17hgOctqyAi9X 3OQw== X-Gm-Message-State: ALQs6tAT819GU+853K9eytOPS6NuyqN3KXbS4cvE4r07Fw1OVehHrEPg GHMu1XvyJhZyLhg5rey8SwfbXjbZc1Y= X-Google-Smtp-Source: AB8JxZp9KaFqk/2S1IZDWEVaxmyFF68dNqDMuoMjCFVdNQ4kkoR5eRXZbRbtFYkL56ClgH0ez73v8A== X-Received: by 10.28.106.10 with SMTP id f10mr1115635wmc.1.1525099402875; Mon, 30 Apr 2018 07:43:22 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id i10sm8575821wmf.24.2018.04.30.07.43.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:43:22 -0700 (PDT) From: luca.boccassi@gmail.com To: Wei Zhao Cc: Yuan Peng , Qi Zhang , dpdk stable Date: Mon, 30 Apr 2018 15:40:51 +0100 Message-Id: <20180430144223.18657-36-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/i40e: fix flow RSS queue region' 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: Mon, 30 Apr 2018 14:43:23 -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/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From b295ee97ffc44031cf45eae4ba8fdb358f7c6f11 Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Tue, 3 Apr 2018 14:09:08 +0800 Subject: [PATCH] net/i40e: fix flow RSS queue region [ upstream commit 55bde0b880820104a410bbb324a982f59b59d25a ] Queue region comparison error in configuration parameters. Fixes: ecad87d22383 ("net/i40e: move RSS to flow API") Signed-off-by: Wei Zhao Tested-by: Yuan Peng Acked-by: Qi Zhang --- drivers/net/i40e/i40e_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index 58ae725b1..75bfa4af5 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -4238,7 +4238,7 @@ i40e_flow_parse_rss_action(struct rte_eth_dev *dev, } if (rss_info->num < rss->num || - rss_info->queue[0] < rss->queue[0] || + rss->queue[0] < rss_info->queue[0] || (rss->queue[0] + rss->num > rss_info->num + rss_info->queue[0])) { rte_flow_error_set(error, EINVAL, -- 2.14.2