[dpdk-dev] [PATCH v6] examples: fix RSS hash function configuration
Zhao, MeijuanX
meijuanx.zhao at intel.com
Thu Jul 5 10:17:23 CEST 2018
-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit
Sent: Thursday, July 5, 2018 4:02 AM
To: Jerin Jacob <jerin.jacob at caviumnetworks.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Iremonger, Bernard <bernard.iremonger at intel.com>; Doherty, Declan <declan.doherty at intel.com>; Chas Williams <chas3 at att.com>; Richardson, Bruce <bruce.richardson at intel.com>; Hunt, David <david.hunt at intel.com>; Van Haaren, Harry <harry.van.haaren at intel.com>; Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Ananyev, Konstantin <konstantin.ananyev at intel.com>; Horton, Remy <remy.horton at intel.com>; Ori Kam <orika at mellanox.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>; Nicolau, Radu <radu.nicolau at intel.com>; Akhil Goyal <akhil.goyal at nxp.com>; Kantecki, Tomasz <tomasz.kantecki at intel.com>; Burakov, Anatoly <anatoly.burakov at intel.com>; Mcnamara, John <john.mcnamara at intel.com>; Li, Xiaoyun <xiaoyun.li at intel.com>; Thomas Monjalon <thomas at monjalon.net>; Andrew Rybchenko <arybchenko at solarflare.com>
Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; Ma, Liang J <liang.j.ma at intel.com>; Xueming Li <xuemingl at mellanox.com>; Pavan Nikhilesh <pbhagavatula at 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.yigit at intel.com>
Tested-by: Zhao meijuan< meijuanx.zhao at intel.com >;Han yingya< yingyax.han at intel.com >
More information about the dev
mailing list