From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH] ethdev: fix applications failure on configure Date: Tue, 1 May 2018 14:33:43 +0100 Message-ID: <20180501133343.125260-1-ferruh.yigit@intel.com> Cc: dev@dpdk.org, Ferruh Yigit , xuemingl@mellanox.com To: Thomas Monjalon Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6C7551D7 for ; Tue, 1 May 2018 15:34:00 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Many sample applications fail because of dev_info.flow_type_rss_offloads check in rte_eth_dev_configure() The sample applications need to be fixed/updated before returning error on rte_eth_dev_configure() This patch keeps the error log but removes returning error. Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check") Cc: xuemingl@mellanox.com Signed-off-by: Ferruh Yigit --- lib/librte_ethdev/rte_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 59810dde8..5a67e6a7d 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -1148,7 +1148,6 @@ rte_eth_dev_configure(uint16_t port_id, uint16_t nb_rx_q, uint16_t nb_tx_q, port_id, dev_conf->rx_adv_conf.rss_conf.rss_hf, dev_info.flow_type_rss_offloads); - return -EINVAL; } /* -- 2.14.3