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 A2802A053A; Thu, 23 Jan 2020 15:05:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B892397D; Thu, 23 Jan 2020 15:05:23 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2086.outbound.protection.outlook.com [40.107.21.86]) by dpdk.org (Postfix) with ESMTP id C0FD62956; Thu, 23 Jan 2020 15:05:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=azxnZkohdDI3SgyRv9z3xXvqKhGVkhRh+Q1lL0eZf0lcILSg/flueFiAeiYXGp3JFnVAu/toYDx+A6z0aefORao5P1Fo/wSADV4S3JjhNiumlSLUxSaB8FjMK40V28bXY+UWO8mk7Oi1F9sfzDdBxEKdjBbEa0QpuTs1OLsZ33KMaQuG1zBHLoWA8CcM5aTAiBF49Hyv6Frtbi6q8zyoRnXqBjwA05S8UOrSR/ZnqLR4oqvwL9+am2D0/5z6hGn4ePdrYFwjHrGtbNHxHeOrLNj/m6yCNsa4FXYWDqK00YVPeB4jTYu+fBaboYeIR5dH68qaQYSCtoNWMybyKCl31Q== 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=0uVwDy2NuwWbSTyUWYG1kurU0wz/VIl6WHf5Zu6M+vY=; b=BPqTQqZnP20nlvGH1Jg46ZP6ywzHWxaopg/HlSl1rr4yPByDneJ9tkbW60RIwDTqMx1euJknkTtoQAgiurocRUjOmhw5cffURmUbZrpfHS2RC3Q6/lTIkk912Cqlp8pbzCQXyObxLa6jKp2rMB2NpZz/wqSb7nLBkC7iGEZNlhLLDikkaeB8Ea8nyOyhsVioAW/TcGBuDLIIwmnXu5YwkPrfogSwLwcRp9BwvXkBzo38Zaor/TI7Gv0umcmbSIym7ocp85yyJwzp0JEZEWb2xDUJoywRMETZmRsp+XLP/mvHsyFwMR6Omb/Xh3bfZSUzsI3/DrX9cAnR8J0dKPPHEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0uVwDy2NuwWbSTyUWYG1kurU0wz/VIl6WHf5Zu6M+vY=; b=QW/avhZargf93nbA3WsE0oOofAeLwXqIyQg1dbx8b1MATJd2HD2P4LbihNZohbeYZnAyErl3Kxog8eMfclfa9Yd+pCStDYLyOe8VofI+cV2nGm/0KbBAZXMh0P7LLO//DfZJT0pxVcQfm7oC9kjBS22QvXDagUxUsaXxVqkn+fA= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3729.eurprd05.prod.outlook.com (52.133.48.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.22; Thu, 23 Jan 2020 14:05:20 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2644.027; Thu, 23 Jan 2020 14:05:20 +0000 From: Matan Azrad To: "Yigit, Ferruh" , "dev@dpdk.org" , Bernard Iremonger CC: Gaetan Rivet , Thomas Monjalon , "stable@dpdk.org" , David Marchand , Jeff Guo , Qi Zhang Thread-Topic: [dpdk-dev] [PATCH 2/2] app/testpmd: fix invalid port detaching Thread-Index: AQHVmTXi86tTdzAeWkqyvnlr7fOHC6f4rRKAgAAHfBA= Date: Thu, 23 Jan 2020 14:05:20 +0000 Message-ID: References: <1573548459-6931-1-git-send-email-matan@mellanox.com> <1573548459-6931-2-git-send-email-matan@mellanox.com> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e3aef62e-d4a5-4c17-1aac-08d7a00d4836 x-ms-traffictypediagnostic: AM0PR0502MB3729: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-forefront-prvs: 029174C036 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(189003)(199004)(76116006)(33656002)(26005)(66946007)(9686003)(45080400002)(186003)(478600001)(5660300002)(6506007)(966005)(71200400001)(53546011)(4326008)(55016002)(54906003)(66446008)(64756008)(66556008)(66476007)(8936002)(7696005)(52536014)(8676002)(110136005)(81156014)(81166006)(316002)(86362001)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3729; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 85X2Y21YPd5MbdJ5ofcItQygLijIPI6dURhiHmI9znE/NNh/VzaDpQxAGiVauTG3y9I+7g7a6V0m/BW33m9LDaLFwrLjraxkhbKrjY928oPyAbmt6mwlE0pytaGYMwPrqamQkTMsUIUGxuvYL5QemP50xFijKrRj5AH2GS6Z/Kh4jxg7U6Cx4N2xrvWrN78bvhaGomiwrulF1syyDX5/MRwvb7Q1o792JDTivzJoV59ZBIP46rcC2P8hEtHeSRP6IAjYALygzZcx9z/VGF/tvBFGlH2YBIlaC7ieTpGr79rVTTblrxj67BlejIOZEZA/X858GdYOEoCvF+iMAPU7EhoDILE/ZK4GrDFipKfPJ0aH2pX/grIAR2iQNUkqm9ek2XugmyQQVkXIdlYP6usI459rSS8Rx3VobozY819Q83ZyWDZTCVRcGtkiC9DdiCjp2S6oLvXKHlO0DbjCo6IuvWB5bxuEQiMPTHCgvxBlPAA= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3aef62e-d4a5-4c17-1aac-08d7a00d4836 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2020 14:05:20.1369 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lb647ZCOp9EMr1NV7mu9c/Cbno+QIEK3VUvjnxHPf5z+qJLz25dY4UcgHc+ryLiZxNU2Si8AG6jbjq/XhyYdwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3729 Subject: Re: [dpdk-dev] [PATCH 2/2] app/testpmd: fix invalid port detaching 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" SGkNCg0KRnJvbTogWWlnaXQsIEZlcnJ1aA0KPiBPbiAxMS8xMi8yMDE5IDg6NDcgQU0sIE1hdGFu IEF6cmFkIHdyb3RlOg0KPiA+IFRoZSBwb3J0IHdhcyBub3QgdmFsaWRhdGVkIGJlZm9yZSBkZ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