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 7AD8AA04C7; Mon, 14 Sep 2020 17:21:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 422781C0D1; Mon, 14 Sep 2020 17:21:40 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 683A71C0C2 for ; Mon, 14 Sep 2020 17:21:38 +0200 (CEST) IronPort-SDR: RZgNBu15cJXdU2qc4OpnABc/NCt8fWKmtvFnxdymsxCSZQqhiIO+wTERYAPQwBoRnMcdOjYCxg Z4/MhEDiOiDw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="156533415" X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="156533415" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 08:21:35 -0700 IronPort-SDR: Su4vkowMvlSyoAAtRIEflHGHLO3rWnTmegot+1RTXCfjGrCUusH86gzc82/xO8NM1so2QeHV16 QXfAfxbXW6oA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="287653008" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 14 Sep 2020 08:21:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 14 Sep 2020 08:21:35 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 14 Sep 2020 08:21:35 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.45) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 14 Sep 2020 08:21:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QmYVT9k0fmxaakVvvX+Wv1CTMSy+4tYd0EVZn5AcBes4OFQ9YIrus0uqTvBaV/LE8nrTVmKeYNooBpuTf3olZVGLu9vCvyQKbb9XOWYnqFvrpOqtBHBJz8lZ7i6qnWNbwg2XzsOKxQ7gjh9oOQpvATgbhvMJfzLAiiPe12V2RKjduUcwU99IdowyauXUFrElCr5aX1/NA5CjnbHsyN79vlKORqwvCS9bzEMda8Ge/6O3tWNQz7pZgQp4nkDZvnctf2LV+br0bOz07OyQA2MM3vF/w0BcR3evTmyNADScfVRbu6PYiSSxiO7DXn3ML2ZfXyiZqiihcc9m43P44ZWsTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=utACnXsEE7CgtdRXdw4acJKxfmRqrZz1jyk7tx+Czds=; b=XmCoE2F1Bcp11qULEGQTI6m1oPKMpHfQ2m6Kiko2VUJdBuDitUSHSAn7cK3WTi9RnUkIf50JmESPF742PoCo6vO7MnEb1NaMPJHEyExhil+STX6uL4V45z8vu0VNMME4yC1DWrLSpLrXQ9cAN0m0/Td59aqrbR1EjDyfCD1uV6G50ejI9GjurUzEpvvWvuBxw/TSc0njtPJpqtnL8PAbldl5tpmWf9Q0knzg0ffXjPCqXLrf++pPQfPqDduE+oCaWyarVJBvI58q/USfrpLhHy3ECUXAnRbjz9Fy5P3Os9Pn8YjTB/VPoVEGFxWAplIDytCAq/uPtQr2ORXT3ILOJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=utACnXsEE7CgtdRXdw4acJKxfmRqrZz1jyk7tx+Czds=; b=R3vGFt4i/YOfFVW/fn8t9IO2H6vZHe+zC4PIp2StjMPeY22SVVLAjFdLeqLPiGtD1eUDIJ7PgvTLm313SEub0oYWlqG52dNLv7pc6MxU+7mP1f6MAk2fW6bc3bjqJFktoL9vNdmu+ozrMB4Z6n79NAyQnNJStRg0tUbFkuf2ZEU= Received: from CY4PR11MB1702.namprd11.prod.outlook.com (2603:10b6:903:2e::8) by CY4PR1101MB2085.namprd11.prod.outlook.com (2603:10b6:910:20::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Mon, 14 Sep 2020 15:21:27 +0000 Received: from CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390]) by CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390%4]) with mapi id 15.20.3370.019; Mon, 14 Sep 2020 15:21:27 +0000 From: "Dumitrescu, Cristian" To: Thomas Monjalon , "dev@dpdk.org" CC: "Yigit, Ferruh" , "arybchenko@solarflare.com" , "Singh, Jasvinder" Thread-Topic: [PATCH 14/20] net/softnic: release port upon close Thread-Index: AQHWihprn1rWyEp/+kKI7OTe6FzPD6loQN+g Date: Mon, 14 Sep 2020 15:21:27 +0000 Message-ID: References: <20200913220711.3768597-1-thomas@monjalon.net> <20200913220711.3768597-15-thomas@monjalon.net> In-Reply-To: <20200913220711.3768597-15-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [109.77.223.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 778a4092-3b84-4365-33a9-08d858c1d974 x-ms-traffictypediagnostic: CY4PR1101MB2085: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7T5pGdqKoizVZhkGQKppkn+/nnLuLwvQWziLLuZ33HadyOpB6tr0D1pC85d9HNweGXZtxNpNLotpKJCkPNTqvX348/5eBfoyqVt5pE2Uc89MuRe2MY6sTxBcsgsMt3tfz/QwbI6AhcoSI9ZwsIsCv/NckuZS41xzyz5Izg+PeDcDMKbkV5HNZlKYS3E8l8inyrebHMr1c9BK3LHaiDOrMd6zvfDE9w6ksPLRMHxXzvmDEeSXdUJCbXBYDg8ys9Ej66FjzOmbyeGGATBXssQRJhCFnjuSj4JAa0B/Z9Ck02t1ocexx8WMEaNhGc3vGPpeLapYc/WEtsUxVQ4+1sVHCA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1702.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(4744005)(52536014)(316002)(8676002)(71200400001)(53546011)(8936002)(66476007)(76116006)(6506007)(64756008)(66446008)(5660300002)(186003)(107886003)(66556008)(26005)(4326008)(66946007)(9686003)(7696005)(110136005)(54906003)(2906002)(83380400001)(478600001)(33656002)(86362001)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: jRYY9TC5v7PW3Cktz/7WH8KkTNMDkXQ9H3uZheZTYrrjg78NHIQV+EHOeGIn5FoBA2v6pA17eunTHLh2JCLZxB14aEOUhFx5Okf5Ux3B8jiwChWZpgpwDGqbij6eQ4v+qKYRaCjrMAroDsxNg+l3keGZDN1kPULPU7cd5GnAWeqnhgveQkLnRQ6Ij5tMHC+MgHUyOiINaGsjs37wcXpTl3Zw7E5XlTTq5td21KFd/sTgRXJynlWUiGfPuflC3BcgIKP1kVeSA+5v1mTZQli8ni1Uo4Exbgn51hSG75VEflGSoPOVimG6REpsyPiYLsmRakVjA/n1XF+maEh66QRG0ImatLYnqyXFYYaAZ2uUtDwmhT6qsAryb17nJBLoeL4Ydp5pZXDssEsdcu5I+HUexFFPXj/0CJz32DavExfy6aJpPjxhf+lfCaHl0vazg7eNU2J1FrwLXhpcehEhsW7AF7kUHiIzm3QBY0Xk1XJ1JIGPIr/hCVfufeRtGdwHldYOlZqP0bcJk5IOvBRMS6IL+prPMvoMHLGQOatRbKi9pErphI1zz7rJ8GQlwEWZknsFS5I7vv3PShdAZtHK8Gyj7pPBYxb4ScdvXs4l30YEVhlqb+eE9lZeK8cGXs06lKz8B2D5Zr7iBTGnoc1zRI1F7Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1702.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 778a4092-3b84-4365-33a9-08d858c1d974 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2020 15:21:27.2159 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GGx+HJ/mr/9dTFKiCo2koRWjaYn5+nPrN0+GRB1VAzffSC+kSP1bxsNWy6SQNeTr3m0ofmL+sljD2WlogPCQTQ0oGpzivyGKfAnZKxh3pVY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2085 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 14/20] net/softnic: 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" > -----Original Message----- > From: Thomas Monjalon > Sent: Sunday, September 13, 2020 11:07 PM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; arybchenko@solarflare.com; > Singh, Jasvinder ; Dumitrescu, Cristian > > Subject: [PATCH 14/20] net/softnic: release port upon close >=20 > The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources > can be freed by rte_eth_dev_close(). >=20 > Freeing of private port resources is moved > from the ".remove(device)" to the ".dev_close(port)" operation. >=20 > Signed-off-by: Thomas Monjalon > --- Thanks for doing this work, Thomas! Acked-by: Cristian Dumitrescu