From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5464B98; Tue, 24 Jul 2018 18:16:19 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 09:16:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,398,1526367600"; d="scan'208";a="242926794" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga005.jf.intel.com with ESMTP; 24 Jul 2018 09:16:17 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.193]) by IRSMSX154.ger.corp.intel.com ([169.254.12.32]) with mapi id 14.03.0319.002; Tue, 24 Jul 2018 17:16:16 +0100 From: "Iremonger, Bernard" To: "Li, Xiaoyun" , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" , "Li, Xiaoyun" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: fix dcb config failure Thread-Index: AQHUI0L+d/dGWKkwUUCM3rBKEe63HaSejHnw Date: Tue, 24 Jul 2018 16:16:15 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260CCF024@IRSMSX107.ger.corp.intel.com> References: <1532431954-123708-1-git-send-email-xiaoyun.li@intel.com> In-Reply-To: <1532431954-123708-1-git-send-email-xiaoyun.li@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2M2NmJiY2ItMDU5ZS00ZDNkLTkwNDYtZGM0N2ZjY2MwYTg2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicVNoTGFTXC94Znhvc2JqY3dNUnErR3FYNjJKSGs5M1VGajdVOU85T2J4eFwvNytISFNFWmxlYWdSbjdQM0M2WHhNIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] 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: Tue, 24 Jul 2018 16:16:21 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xiaoyun Li > Sent: Tuesday, July 24, 2018 12:33 PM > To: Lu, Wenzhuo ; Wu, Jingjing > > Cc: dev@dpdk.org; Li, Xiaoyun ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] 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 taking rss_hf as a suggested value and only setting bits that th= e > device supports based on rte_eth_dev_get_info. >=20 > Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check") > Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic > class") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyun Li Acked-by: Bernard Iremonger