From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH] examples: fix RSS hash function configuration Date: Wed, 20 Jun 2018 16:11:50 +0100 Message-ID: References: <20180620150122.45945-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Liang Ma , Xueming Li To: Ferruh Yigit , Declan Doherty , Chas Williams , Bruce Richardson , Harry van Haaren , Cristian Dumitrescu , Konstantin Ananyev , Remy Horton , Ori Kam , Pablo de Lara , Radu Nicolau , Akhil Goyal , Tomasz Kantecki , Anatoly Burakov , John McNamara , Jijiang Liu Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 75EC81B522 for ; Wed, 20 Jun 2018 17:10:21 +0200 (CEST) In-Reply-To: <20180620150122.45945-1-ferruh.yigit@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Ferruh, On 20/6/2018 4:01 PM, Ferruh Yigit wrote: > ethdev layer introduced checks for application requested RSS hash > functions and returns error for ones unsupported by hardware > > This check breaks some sample applications which blindly configures > RSS hash functions without checking underlying hardware support. > > Updated examples to mask out unsupported RSS has functions during device > configuration. > Prints a log if configuration values updated by this check. > > Fixes: aa1a6d87f15d ("ethdev: force RSS offload rules again") > > Signed-off-by: Ferruh Yigit > --- > Return error added in this release, so no need to backport the fix to > previous versions. > > Cc: David Hunt > Cc: Liang Ma > Cc: Xueming Li > --- > examples/bond/main.c | 12 ++++++++++ > examples/distributor/main.c | 11 ++++++++++ > examples/eventdev_pipeline/main.c | 11 ++++++++++ > examples/ip_pipeline/link.c | 8 +++++-- > examples/ip_reassembly/main.c | 12 ++++++++++ > examples/ipsec-secgw/ipsec-secgw.c | 12 ++++++++++ > examples/l3fwd-acl/main.c | 12 ++++++++++ > examples/l3fwd-power/main.c | 14 ++++++++++-- > examples/l3fwd-vf/main.c | 12 ++++++++++ > examples/l3fwd/main.c | 12 ++++++++++ > examples/load_balancer/init.c | 12 ++++++++++ > examples/multi_process/symmetric_mp/main.c | 12 ++++++++++ > .../performance-thread/l3fwd-thread/main.c | 12 ++++++++++ > examples/qos_meter/main.c | 22 +++++++++++++++++++ > examples/vmdq_dcb/main.c | 13 +++++++++++ > 15 files changed, 183 insertions(+), 4 deletions(-) > > --snip-- I tested distributor_app, l3-fwd and l3-fwd-power, they all started OK, giving the additional message that some flags were not available on my hardware. Looks good. Regards, Dave.