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 9A050A0352; Thu, 16 Jan 2020 09:07:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5B301C00D; Thu, 16 Jan 2020 09:07:22 +0100 (CET) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20042.outbound.protection.outlook.com [40.107.2.42]) by dpdk.org (Postfix) with ESMTP id CA1481BFFF for ; Thu, 16 Jan 2020 09:07:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YcRmL68YOmV9ZDWf80VFr+Z3nZPPQUiRd6WdApaqFWvUTBLPvK2OoHuTm6E85RR/kgKXAQjGS7wDApWf3GkTuZD9eadkg6PIcm/jBllOf62FlTMFL7mp5UjeXyy+Fx869nEIyhi0iwUB9SkSCtmD/sYfaNkzUfVoOAWJoIFASmeQOGudhqBUszdsSry5b32YrNycfwbIN9UlxbheMTCyRke61P59OGscOZBnS8vYU0PD4ri9G8RRa07IkiHXTLD+DfOxa/rwtWffpKc+SWSCJ86Mb4qhspQ+bnCx3ZRcBHsbDFwVd6ZHC8hVcf3VxGYaQR9GTgjIcehSjj3+LsEWDQ== 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=bWaJ5eAdlzZ7uO/BSeUWNCxP7nIYZb1jQ/zCIeIR4WI=; b=lFoo/QJLj2Gum5dSTEpkagv/gTz36aJwitdLFLPaivBA2o7y92FHS6PL8BE7bJmdpizYRJb2VtYKITn04/CgtDIaqYtlueKYne7qORGDwdRHRzZgOObECvRIXsQVz0SmVsM/goWfQapK+4HjKReGHOykcBv4dXddMQH2JNS1gvQ3/mYZve0QkCfNjcCR09vFyPEwNiXkt0aWA8GleHsOAZUcOxA/zScVY9dqNUY0do5P0ytWLK376vRV36gqc4I3i/Nih6MqTA39rBOKiMlyeNmJ+7GDe8lDaXzo+eFKTW+ps5ZWp7pPCmQR1g8U3JcYO8Vcb9yLlUrnUjkQNSOtSQ== 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=bWaJ5eAdlzZ7uO/BSeUWNCxP7nIYZb1jQ/zCIeIR4WI=; b=kFzEm++ljhNk/ib4TJunccBrGMzS30WFiLjswgmQlA15iMgCfkyQugLcidJdFVIEcILDYCVxoMSpoYC/07k8UTSvjhbfMU3vYp4g0N8+RNygbw8/rlCqe+pUnflt/nfRYCc6Yk02NZUitLiQ323mudLPlHTzLhzxp34x1LY019M= Received: from AM5PR0501MB2579.eurprd05.prod.outlook.com (10.169.150.151) by AM5PR0501MB2498.eurprd05.prod.outlook.com (10.169.150.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.8; Thu, 16 Jan 2020 08:07:20 +0000 Received: from AM5PR0501MB2579.eurprd05.prod.outlook.com ([fe80::189a:c6d4:a60d:9a19]) by AM5PR0501MB2579.eurprd05.prod.outlook.com ([fe80::189a:c6d4:a60d:9a19%8]) with mapi id 15.20.2644.015; Thu, 16 Jan 2020 08:07:19 +0000 From: Ori Kam To: Ferruh Yigit , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , Marko Kovacevic CC: "dev@dpdk.org" , Slava Ovsiienko , Matan Azrad Thread-Topic: [PATCH 1/2] app/testpmd: add dynamic flag support Thread-Index: AQHVy6geKEU1Bd7TfEG7Y2UkxTo6f6fs7+Qw Date: Thu, 16 Jan 2020 08:07:19 +0000 Message-ID: References: <1578907777-194921-1-git-send-email-orika@mellanox.com> <1578907777-194921-2-git-send-email-orika@mellanox.com> <59d472f3-261c-f110-b613-a65adb7c614c@intel.com> In-Reply-To: <59d472f3-261c-f110-b613-a65adb7c614c@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@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: fd26ae73-3dca-4acc-9519-08d79a5b1c0c x-ms-traffictypediagnostic: AM5PR0501MB2498:|AM5PR0501MB2498: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 02843AA9E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(396003)(39860400002)(346002)(136003)(189003)(199004)(107886003)(316002)(110136005)(7696005)(54906003)(478600001)(33656002)(71200400001)(6506007)(53546011)(26005)(5660300002)(8676002)(55016002)(52536014)(86362001)(76116006)(66556008)(66446008)(64756008)(8936002)(66476007)(81156014)(81166006)(66946007)(2906002)(186003)(9686003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2498; H:AM5PR0501MB2579.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: thd6RGzjWuX5QjFF3DDG/Kpcm9JYRp3JXQ284UoV1mjRJmqjW9wodPHPtuLfao06MyF6BrmpK2BWgOrm5w3nE5Mbs/4zMinsibQ7+ADXU6bBHgtqWnZX2NlJRvX7W+dxTn350f6N/MCfY4kAp4x9ALAR3st+kYY9SXKd7LqSX8ndpGj4txBjTzeR5T/Lrlk337eQYyVPgg6x0qPn5GaN0b3OQdXUBuKDU+kUXnUgHijyCeP9jbqulL5BAoYybgZHDvOLouI68HZ7n9pFU2M1Swo8fuie5KKyDyMlR+K6cO9tSxCTIbAGaBlcCuPxUZlXwyIG0pADVVK7nn1L438xuwa4SXhZ+SVYdPori2jqtg1+rZU9CnWWkPHYid7WPHRwkJTuAWVb2wMMoTtWPTMV+kJePdASlpAZffbataOgICihuCYuZx6Nsumpe02PX/2r 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: fd26ae73-3dca-4acc-9519-08d79a5b1c0c X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 08:07:19.8253 (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: ph8GhuVucBTW+OlqmgRDEOBT5LWH9Rf0UFcbhctHNZ25HKOp61pNrYBiw6cFbBUHhYAihf3xuBNjtRK/oK8W+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2498 Subject: Re: [dpdk-dev] [PATCH 1/2] app/testpmd: add dynamic flag support 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" SGkgRmVycnVoLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1 aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKYW51 YXJ5IDE1LCAyMDIwIDM6MzIgUE0NC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