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 9E280A0352; Thu, 16 Jan 2020 14:29:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 22F2A1D54F; Thu, 16 Jan 2020 14:29:51 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80074.outbound.protection.outlook.com [40.107.8.74]) by dpdk.org (Postfix) with ESMTP id 32B001D44D for ; Thu, 16 Jan 2020 14:29:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1K/mExD1aoCHGbW8IUQkYc51Xl5F5zbLtZ8TYXVixUu3yGf+RyQUJfacl4amDal/OFMdWI9Ykb3Nx03Xk8PMGAkpaVQHSmQiJpWOJXkuCp2nXaOyqBwKfK3kHmebw2fYIiSmwdk1OT75zJQQ1I4C0v7BU+SWVhUtj6RiNJ/bw1ERtQbi1Lx0lFMN7KoGAo382vc/X9mV1r43AbUTW3XQY10QbZQnxBYh+vZBZJFaDegwhOetqk4saop6Zz/cwYud8+XyPVNj2BDHPbzpktpNcXB1uZUZ8ki4/qvgqxX9bNRyDEGunuK/WLVbobnmjVqba6YjmejDXry7DYHU22oIg== 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=0zJ12+j2zf3gGGHE8lY40jhhzAaGT806zO/Y0aqbuZM=; b=QZeRk+sbrpRTbRe0v0DrPmLhTjO6npEGQLnkj+YjRtD4S0c6Oy8RveJ/9PFGdYa64HFd+lIEhY82rgSn3nHlPqrUfk1o7LX3PbwqeakZTbUKjQQW0km+llvVWdwFZ9tCocIp3CC55OFBVbJa3NaciYIWEU8Ec6cNPN6DxfF+9qAOKLcV5s8XZOIVxlEHDrl7dK44PNWMypg+WWCYAGT3H8EM/uURlCfCB0I7vyikxVVr+NoqKPg9acIUdDieL7EmVveHzyU4MLiAXNybE73C2bs0FxzNh8e3wCmK3jQTXbRbXjjh0I6DDJve1sO23uDhL/e9Mlbk43NMo/JMKo4yrQ== 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=0zJ12+j2zf3gGGHE8lY40jhhzAaGT806zO/Y0aqbuZM=; b=PSIUCAi5Ki85WUVR/Q43FlPHdcURm11/4mC9OPxfbzfAwrcygnK0QnKQccu9C1MmLKMc/EBMlH6rSrJHfvvy5gkYz94hE3XJgAiK26/DZWQ5D8LIIYJlkZwlDL2q4aoRDXPgmLNkrlGq2WCw3GxRMS4AKLDBnd3O5fADHEdQYp4= Received: from AM5PR0501MB2579.eurprd05.prod.outlook.com (10.169.150.151) by AM5PR0501MB2594.eurprd05.prod.outlook.com (10.169.152.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19; Thu, 16 Jan 2020 13:29:48 +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 13:29:47 +0000 From: Ori Kam To: Jerin Jacob , Jack Min CC: Slava Ovsiienko , Matan Azrad , Raslan Darawsheh , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Adrien Mazarguil , dpdk-dev Thread-Topic: [PATCH 1/5] ethdev: add API to dump device internal flow info Thread-Index: AQHVzFXqK3Fw1fuy10qhtEgQ4t6ndaftGR6AgAAwDJA= Date: Thu, 16 Jan 2020 13:29:47 +0000 Message-ID: References: In-Reply-To: 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: 868d074d-0263-4295-043b-08d79a882862 x-ms-traffictypediagnostic: AM5PR0501MB2594:|AM5PR0501MB2594: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 02843AA9E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(136003)(366004)(346002)(396003)(189003)(199004)(4326008)(55016002)(9686003)(53546011)(6506007)(71200400001)(86362001)(186003)(33656002)(7696005)(66556008)(64756008)(66476007)(66446008)(26005)(110136005)(8676002)(81166006)(8936002)(66946007)(81156014)(54906003)(6636002)(478600001)(5660300002)(2906002)(76116006)(52536014)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2594; 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: jrZw59xopJsHqgAeZgM2UfoTD4qQOiT3JK5cJ3hnV62pSpPCP4KS0JIWBnNy03Io9ZnHpGaNCLLt3J+kHPC81HEsVoybIWPBW73bgrRmy25uq5c+rt4QB43KgIWHZESxLhuVA6cZ0tdzRBgHDa1CSN6wY5lGH3I2CP/z//WKvEbjRAAu3+PTDRjMkvYNslefh8zqqPPxjwrUQSTlZO2+UYXIRySZcVkMqIBCW98LAhRxnHmkTZM1vNghZNQ/ZAjHl4h6CDmPxwQQAL+glUuyBdDfkZRQMs5Sb3gSKoHMfNVHiH+6eJiUpF2MJ21yuBKOLLlotPuetULDtpwMjWnmd9gxoFzUlkkR4idsTIsknxKThpSS1oTrAdvBQCFW9dxNi21BbT6DFpD4fn7LurnL9JcrGR6RizVZg2pv8AmDSF39yHBpveVCpmmUUynPlVzV 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: 868d074d-0263-4295-043b-08d79a882862 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 13:29:47.8577 (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: Rv3nqXJzk4CmvyHujKsTR5bCkSP7pDX5edVGQo1HQ62N1Xg65JmLNoB5D4D+a1HhyxoEaS4O9qDJ+2jS0+XlEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2594 Subject: Re: [dpdk-dev] [PATCH 1/5] ethdev: add API to dump device internal flow info 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPGFkcmllbi5tYXphcmd1aWxANndp bmQuY29tPjsgZHBkay1kZXYgPGRldkBkcGRrLm9yZz4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCAx LzVdIGV0aGRldjogYWRkIEFQSSB0byBkdW1wIGRldmljZSBpbnRlcm5hbCBmbG93IGluZm8NCj4g DQo+IE9uIFR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