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 98246A04B7; Wed, 16 Sep 2020 17:15:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A6181C2E8; Wed, 16 Sep 2020 17:14:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 07BAE1C2E7 for ; Wed, 16 Sep 2020 17:14:57 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08GF0Yvm008536; Wed, 16 Sep 2020 08:14:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pfpt0220; bh=mzLeF9av+Ody5h629gfWIFPL7FJ09YbqdKgnCv7IU4Y=; b=G6AysIlDpCjqDmJ5gfWl+oTvGwLkwMqe2XAJ60kT6BoeYrEVy3qkEkB8lTna6Em9x7WO RmWIINmkNX6UBpKqqY6nnsQBwj0TBQ3xIj/ombgYNav/f1t5sxPn8inmMY/l5jhmbPMy A7d5eHwDaULPjJokwDma/0OBX/tJVOIZbIdf11Ik7nLqlFIfmVjm5u6Q8gmytynyoDxH bMspACegJlTaPqHusW8lDQOecWyVjFM1aMXhgesiqRanlkvEgs/ExeP6BvNms4V3sinx o3HVS8rweEtkM5NcYBtVN31qKDlSkKA1jM+4j6wSIbYADLZiXHoOygnFalKPuL/b5NBh ag== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 33k5njk781-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 16 Sep 2020 08:14:54 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Sep 2020 08:14:53 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Sep 2020 08:14:53 -0700 Received: from [10.193.39.7] (NN-LT0019.marvell.com [10.193.39.7]) by maili.marvell.com (Postfix) with ESMTP id E52CC3F7043; Wed, 16 Sep 2020 08:14:51 -0700 (PDT) To: Thomas Monjalon , CC: , , Pavel Belous , Anatoly Burakov References: <20200913220711.3768597-1-thomas@monjalon.net> <20200913220711.3768597-5-thomas@monjalon.net> From: Igor Russkikh Message-ID: <170103e8-ba59-8cb1-cd8d-87a1db5c911f@marvell.com> Date: Wed, 16 Sep 2020 18:14:50 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Thunderbird/81.0 MIME-Version: 1.0 In-Reply-To: <20200913220711.3768597-5-thomas@monjalon.net> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-16_10:2020-09-16, 2020-09-16 signatures=0 Subject: Re: [dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close 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 14/09/2020 1:06 am, Thomas Monjalon wrote: > The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources > can be freed by rte_eth_dev_close(). > > Freeing of private port resources is moved > from the ".remove(device)" to the ".dev_close(port)" operation. > > Signed-off-by: Thomas Monjalon Thanks, Acked-by: Igor Russkikh I'll verify this soon on HW. Igor