From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 8D831F64 for ; Mon, 30 Apr 2018 16:43:06 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id o2-v6so5376640wrj.13 for ; Mon, 30 Apr 2018 07:43:06 -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=c3v0p7XWfbz/XNFNSG2vpzV+cQyeqzmiY5o5hdbWD4A=; b=iS5z7H8VPl3MkZPIZeEaJb1WZBJQ9nTqczQD7LZAh9pxVRkqIAfszPvXb6vHF3akxm mnber8DlKxhDovP+0OV9vKjSwhH2Lph0JMIb/3qg6gjVMdDRtNBuGj1//Ti4opE2MpZH MQTXI3/WArHii14BvuGLWYetYlSe3o+OLJa9oBcYStaqqTcK7LjhTN3Kx0cg/xuWW+Hh UsSF5skbrIdgnmHcZsvc86xaol1f/YOwSGy8bx6AspYhJBNcMLEp4xqX3yLI6IaARlmL sG8bVUZGwNSfUM6iOmyuQ3820zoZa9EbcA44HsSHAJZJxpcyONkur1/zmlOGpPhfs6kc y8jw== 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=c3v0p7XWfbz/XNFNSG2vpzV+cQyeqzmiY5o5hdbWD4A=; b=h087yawgPs7vw9kp0CC2BTUbh/YSwkfPUIBsbXRz4rb61iwSABHYdi9zuIT4xB4aHO YF/DFes7SkATM3daWlsfsKtMaVmM4yMMbtkviXx0jJ7hLi8qXb4J0x5ES1hEzIIW7WTl m8B5e1SWHm69EUNm8DY2LadmjWXHuwBTh58iOweaUgKVCAQEdRc0mON6FEbHu76Kmx4X ZA2beddyPI2lKU2ojFVTuUW7+j/fPgjRNxDWIr53v6ATvDi7UX64QTx5dEy3CS3QIenE AKcUytBkxicjRp/d6hsjuEoxpbzZvUG+z2G3TSkJpFxKnT/Fa/YtKeiOepXyLEo4nAy0 sjNA== X-Gm-Message-State: ALQs6tBV51OaMNhC5Qdj1Lr+b28lp3j4LybwVIHc2kPHFpJfdL4dqEw9 ue2TKP/MD6IE72ahO3wD0WkVJS8IjkU= X-Google-Smtp-Source: AB8JxZpgr5yhe/QPR21wCB4msrypcnpLYacz2vQxhQOFdnyr4Gq7g6+v/iYCVCFsHgjmvhIueG8zNQ== X-Received: by 2002:adf:c88e:: with SMTP id k14-v6mr8593832wrh.135.1525099386145; Mon, 30 Apr 2018 07:43:06 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id t14-v6sm6783900wrm.82.2018.04.30.07.43.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:43:05 -0700 (PDT) From: luca.boccassi@gmail.com To: Wei Zhao Cc: Yuan Peng , Qi Zhang , dpdk stable Date: Mon, 30 Apr 2018 15:40:41 +0100 Message-Id: <20180430144223.18657-26-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 TCI use' 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:06 -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 c9eb9370b2b141b940eadd0dd48d2e6c9c97d513 Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Tue, 3 Apr 2018 14:09:36 +0800 Subject: [PATCH] net/i40e: fix flow RSS TCI use [ upstream commit 433d9226db2edc9c7a7463e9bb35bf7b3a07dc67 ] Vlan tci configuration from testpmd is stored in big endian, changing it to little endian is needed before using it. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index 69d1ba55e..58ae725b1 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -4150,7 +4150,8 @@ i40e_flow_parse_rss_pattern(__rte_unused struct rte_eth_dev *dev, if (vlan_mask->tci == rte_cpu_to_be_16(I40E_TCI_MASK)) { info->region[0].user_priority[0] = - (vlan_spec->tci >> 13) & 0x7; + (rte_be_to_cpu_16( + vlan_spec->tci) >> 13) & 0x7; info->region[0].user_priority_num = 1; info->queue_region_number = 1; *action_flag = 0; -- 2.14.2