From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 90D04A04B5; Wed, 30 Sep 2020 15:18:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E23611DACE; Wed, 30 Sep 2020 15:18:11 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id CBB701DA10 for ; Wed, 30 Sep 2020 15:18:08 +0200 (CEST) IronPort-SDR: iC7wjRqP2brTh/OLPSNMcq+VtMGid3p/fBOGlEuE0C4+ZD3d2uhLIvJv8BSP1oBF6TQP/B3438 /qudl67Qb81g== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="142456981" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="142456981" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 06:18:06 -0700 IronPort-SDR: ysLEMYzl6Nx6440yK11U6Hr8MutX9cGfKjm7VZiB9UuWMSlz4D1h1QkvHFG68vVkuJQ9xV+BR2 UByaVmHKbY3g== X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="312589891" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.229.39]) ([10.213.229.39]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 06:18:03 -0700 To: Lijun Ou , wenzhuo.lu@intel.com, beilei.xing@intel.com, adrien.mazarguil@6wind.com Cc: dev@dpdk.org, linuxarm@huawei.com References: <1599702678-11142-1-git-send-email-oulijun@huawei.com> <1600955105-53176-1-git-send-email-oulijun@huawei.com> From: Ferruh Yigit Message-ID: <4d629d1e-1b62-31e1-dc8b-7e4cc69859e1@intel.com> Date: Wed, 30 Sep 2020 14:17:59 +0100 MIME-Version: 1.0 In-Reply-To: <1600955105-53176-1-git-send-email-oulijun@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v4] RSS key use with testpmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/24/2020 2:45 PM, Lijun Ou wrote: > Consider the follow usage with testpmd: > 1. first, startup testpmd: > testpmd> show port 0 rss-hash key > RSS functions: > all ipv4-frag ipv4-other ipv6-frag ipv6-other ip > RSS key: > 6D5A56DA255B0EC24167253D43A38FB0D0CA2BCBAE7B30B477CB2DA38030F > 20C6A42B73BBEAC01FA > 2. create a rss rule > testpmd> flow create 0 ingress pattern eth / ipv4 / udp / end actions rss \ > types ipv4-udp end queues end / end > > 3. show rss-hash key > testpmd> show port 0 rss-hash key > RSS functions: > all ipv4-udp udp > RSS key: > 74657374706D6427732064656661756C74205253532068617368206B65792C206F > 76657272696465 > > As a result, the step 3 with RSS key and the step 1 RSS key > is not the same. The patch[1] to solve the above problems. > This is interesting, can you please provide above information in the commit log too? Also can you please provide the details on why this happens, callstack can help? Thanks, ferruh > Lijun Ou (1): > app/testpmd: fix the default RSS key configuration > > app/test-pmd/cmdline_flow.c | 8 ++++++++ > 1 file changed, 8 insertions(+) >