From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9CB371B3AD for ; Thu, 2 Aug 2018 04:31:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 19:31:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,434,1526367600"; d="scan'208";a="78001513" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 01 Aug 2018 19:31:25 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Aug 2018 19:31:25 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Aug 2018 19:31:24 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.173]) with mapi id 14.03.0319.002; Thu, 2 Aug 2018 10:31:24 +0800 From: "Zhao, MeijuanX" To: "Ananyev, Konstantin" , "dev@dpdk.org" , "dev@dpdk.org" CC: "Ananyev, Konstantin" , "Han, YingyaX" Thread-Topic: [dpdk-dev] [PATCH v2] app/testpmd: fix dcb config failure Thread-Index: AQHUKNz0xLTTUPGsuU6JczitJ49l2qSrv0og Date: Thu, 2 Aug 2018 02:31:24 +0000 Message-ID: <9866F1E5CE768A45B24F6603C6EF54DE014147D0@shsmsx102.ccr.corp.intel.com> References: <1532431954-123708-1-git-send-email-xiaoyun.li@intel.com> <1533048214-19978-1-git-send-email-konstantin.ananyev@intel.com> In-Reply-To: <1533048214-19978-1-git-send-email-konstantin.ananyev@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: fix dcb config failure 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: , X-List-Received-Date: Thu, 02 Aug 2018 02:31:48 -0000 -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Konstantin Ananyev Sent: Tuesday, July 31, 2018 10:44 PM To: dev@dpdk.org; dev@dpdk.org Cc: Ananyev, Konstantin Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix dcb config failure After adding RSS hash offload check, default rss_hf will fail on devices th= at do not support all bits. This will lead to dcb config failure. The patch= fixes this issue by reading current valid rss_conf from the device. Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check") Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic cl= ass") Signed-off-by: Konstantin Ananyev Tested-by: Han, YingyaX