From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3F17A04DB; Fri, 16 Oct 2020 18:51:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 32B57BA96; Fri, 16 Oct 2020 18:51:40 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 798475323 for ; Fri, 16 Oct 2020 18:51:37 +0200 (CEST) IronPort-SDR: nk/oiN+xAifPSH9R9ZNdRUZd7AamW16dOibGiCF3JUYsoJ0t3gL+mWrAM5JHSVv3qGsbZ4P+cj YpcoeTtkuv2Q== X-IronPort-AV: E=McAfee;i="6000,8403,9776"; a="163163939" X-IronPort-AV: E=Sophos;i="5.77,383,1596524400"; d="scan'208";a="163163939" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 09:20:19 -0700 IronPort-SDR: wMXt8MsQpqSTHvjCVp8y6mt4W2K1y49BZJPzoHqXvwFeNE+UmPV87LIIwEAD1ckWBVKaePfx56 9+G1W7/jgW1w== X-IronPort-AV: E=Sophos;i="5.77,383,1596524400"; d="scan'208";a="531781288" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.19.66]) ([10.252.19.66]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 09:20:17 -0700 To: Andrew Rybchenko , Ray Kinsella , Neil Horman , Thomas Monjalon , Andrew Rybchenko Cc: dev@dpdk.org, Ivan Ilchenko References: <1602682146-4722-1-git-send-email-arybchenko@solarflare.com> <1602768646-13142-1-git-send-email-arybchenko@solarflare.com> <1602768646-13142-2-git-send-email-arybchenko@solarflare.com> From: Ferruh Yigit Message-ID: <33ecc8a6-e440-d6b8-681d-f79e1b3e2eef@intel.com> Date: Fri, 16 Oct 2020 17:20:13 +0100 MIME-Version: 1.0 In-Reply-To: <1602768646-13142-2-git-send-email-arybchenko@solarflare.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 01/11] ethdev: change eth dev stop function to return int X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/15/2020 2:30 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Change rte_eth_dev_stop() return value from void to int > and return negative errno values in case of error conditions. > Also update the usage of the function in ethdev according to > the new return type. > > Signed-off-by: Ivan Ilchenko > Signed-off-by: Andrew Rybchenko > Acked-by: Thomas Monjalon Reviewed-by: Ferruh Yigit