From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 1FABC1B051 for ; Wed, 1 Aug 2018 10:46:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 01:46:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,431,1526367600"; d="scan'208";a="245060610" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga005.jf.intel.com with ESMTP; 01 Aug 2018 01:46:52 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.193]) by IRSMSX103.ger.corp.intel.com ([169.254.3.208]) with mapi id 14.03.0319.002; Wed, 1 Aug 2018 09:46:47 +0100 From: "Iremonger, Bernard" To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v2] app/testpmd: fix dcb config failure Thread-Index: AQHUKNz0r+02PFbBp069W1dPjxsk/aSqliKg Date: Wed, 1 Aug 2018 08:46:46 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260CD2079@IRSMSX107.ger.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-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjlhN2FhOGEtZTE1OC00MWY5LWE5ODItMGZkYTA4NjdkYzg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMFNta09LWEIrRFhnNk1FUHFjNWZ3ckhIR2hcL1Y1WGJGcllpXC9xRUtJOHB5Ym5HYzFJRHdrTTc0anlYTUtLM2NoIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] 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: Wed, 01 Aug 2018 08:46:54 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Konstantin Ananyev > Sent: Tuesday, July 31, 2018 3:44 PM > To: dev@dpdk.org; dev@dpdk.org > Cc: Ananyev, Konstantin > Subject: [dpdk-dev] [PATCH v2] app/testpmd: fix dcb config failure >=20 > After adding RSS hash offload check, default rss_hf will fail on devices = that do > not support all bits. This will lead to dcb config failure. The patch fix= es this issue > by reading current valid rss_conf from the device. >=20 > Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check") > Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic > class") >=20 > Signed-off-by: Konstantin Ananyev Acked-by: Bernard Iremonger