From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ethdev: force RSS offload rules again Date: Wed, 13 Jun 2018 17:19:22 +0200 Message-ID: <19602770.WDo9s5UZfG@xps> References: <20180531132245.19424-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Shahaf Shuler , "Xueming(Steven) Li" , Wei Dai , Qi Zhang , Andrew Rybchenko To: Ferruh Yigit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0CBF71EF84 for ; Wed, 13 Jun 2018 17:19:25 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/06/2018 09:56, Shahaf Shuler: > Sunday, June 3, 2018 5:15 PM, Ferruh Yigit: > > Subject: Re: [PATCH] ethdev: force RSS offload rules again > > > > On 6/3/2018 11:41 AM, Shahaf Shuler wrote: > > > Thursday, May 31, 2018 4:23 PM, Ferruh Yigit: > > >> Subject: [PATCH] ethdev: force RSS offload rules again > > >> > > >> PMDs should provide supported RSS hash functions via > > >> dev_info.flow_type_rss_offloads variable. > > >> > > >> There is a check in ethdev if requested RSS hash function is > > >> supported by PMD or not. > > >> This check has been relaxed in previous release to not return an > > >> error when a non supported has function requested [1], this has been > > >> done to not break the applications. > > >> > > >> Adding the error return back. > > >> PMDs need to provide correct list of supported hash functions and > > >> applications need to take care this information before configuring > > >> the RSS otherwise they will get an error from APIs: > > >> rte_eth_dev_rss_hash_update() > > >> rte_eth_dev_configure() > > > > > > Are the current app/examples in DPDK tree behave accordingly? > > > > I tried a few which were good but I don't know about all. > > > > That is why we should merge this patch early so that we can detect and fix > > ones fails. > > Acked-by: Shahaf Shuler Acked-by: Thomas Monjalon