-----Original Message-----
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
Sent: Thursday, July 5, 2018 4:02 AM
To: Jerin Jacob <jerin.ja...@caviumnetworks.com>; Lu, Wenzhuo 
<wenzhuo...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Iremonger, 
Bernard <bernard.iremon...@intel.com>; Doherty, Declan 
<declan.dohe...@intel.com>; Chas Williams <ch...@att.com>; Richardson, Bruce 
<bruce.richard...@intel.com>; Hunt, David <david.h...@intel.com>; Van Haaren, 
Harry <harry.van.haa...@intel.com>; Dumitrescu, Cristian 
<cristian.dumitre...@intel.com>; Ananyev, Konstantin 
<konstantin.anan...@intel.com>; Horton, Remy <remy.hor...@intel.com>; Ori Kam 
<or...@mellanox.com>; De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com>; 
Nicolau, Radu <radu.nico...@intel.com>; Akhil Goyal <akhil.go...@nxp.com>; 
Kantecki, Tomasz <tomasz.kante...@intel.com>; Burakov, Anatoly 
<anatoly.bura...@intel.com>; Mcnamara, John <john.mcnam...@intel.com>; Li, 
Xiaoyun <xiaoyun...@intel.com>; Thomas Monjalon <tho...@monjalon.net>; Andrew 
Rybchenko <arybche...@solarflare.com>
Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yi...@intel.com>; Ma, Liang J 
<liang.j...@intel.com>; Xueming Li <xuemi...@mellanox.com>; Pavan Nikhilesh 
<pbhagavat...@caviumnetworks.com>
Subject: [dpdk-dev] [PATCH v6] examples: fix RSS hash function configuration

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 <ferruh.yi...@intel.com>
Tested-by: Zhao meijuan< meijuanx.z...@intel.com >;Han yingya< 
yingyax....@intel.com >

Reply via email to