From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: Re: [PATCH v14 5/6] drivers/net: enable device detach on secondary Date: Sun, 12 Aug 2018 13:50:45 +0300 Message-ID: <780aace9-e241-b81f-dc98-5200be5ecaeb@solarflare.com> References: <20180607123849.14439-1-qi.z.zhang@intel.com> <20180810004213.44497-1-qi.z.zhang@intel.com> <20180810004213.44497-6-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , , , To: Qi Zhang , , , Return-path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 8C2A72BC8 for ; Sun, 12 Aug 2018 12:51:02 +0200 (CEST) In-Reply-To: <20180810004213.44497-6-qi.z.zhang@intel.com> Content-Language: en-US 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.08.2018 03:42, Qi Zhang wrote: > With the enabling for hotplug on multi-process, it is not necessary > to prevent detaching a device from a secondary process. > > Signed-off-by: Qi Zhang From the patch itself including description it is absolutely unclear why detach works and where it actually happens. Why is it OK to return 0 instead of error and that's it. Why is it necessary to call uninit at all in the case of secondary processes?