From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66E1CA0548; Wed, 1 Jun 2022 12:38:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0294F40689; Wed, 1 Jun 2022 12:38:58 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 8E1524003F for ; Wed, 1 Jun 2022 12:38:56 +0200 (CEST) Received: from [192.168.1.38] (unknown [188.170.81.145]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id D5EFDAB; Wed, 1 Jun 2022 13:38:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru D5EFDAB DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1654079936; bh=O0n4PW755Q3ewC8B71IZ5q02VLQlAFmVGV1YrPXk2gI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=RypicbahuT8Fd4iKLg0S6220xIw2m1FDGzVW2EpcxlHPfqpsyCnvI5nqFdjcWj4xZ NhrOuULX1chtCtTVIp6Wd2dY/n9eYsRaHZ0nnGwiGS13WZwLOIiaxYWLjI8nMyZhc4 ppqPvniY/fgM6SkjXqsUAazNVrQ9ObExBQV14l08= Message-ID: <8e3ddf0f-8977-2749-939f-9c376cb7a842@oktetlabs.ru> Date: Wed, 1 Jun 2022 13:38:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v3] ethdev: fix dev close in secondary process Content-Language: en-US To: "Min Hu (Connor)" , dev@dpdk.org References: <20220527023553.48177-1-humin29@huawei.com> <20220601031513.49108-1-humin29@huawei.com> From: Andrew Rybchenko In-Reply-To: <20220601031513.49108-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 6/1/22 06:15, Min Hu (Connor) wrote: > From: Min Hu > > Secondary process need to close dev to release process private resources. > But secondary process should not be obliged to wait for device stop before > closing ethdev. > > This patch fixed it. > > Fixes: febc855b358e ("ethdev: forbid closing started device") > Cc: stable@dpdk.org > > Signed-off-by: Min Hu Applied to dpdk-next-net/main, thanks.