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 2A77FA04F1; Thu, 18 Jun 2020 20:28:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6398F1BFE8; Thu, 18 Jun 2020 20:28:34 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130051.outbound.protection.outlook.com [40.107.13.51]) by dpdk.org (Postfix) with ESMTP id 11AD51BFC1 for ; Thu, 18 Jun 2020 20:28:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ULpwGeVzyo6SaA4IEbUbeUXibLmZI+Ifvb7ariCdu+hjMhPO8WQMPB/i+25Gp/9mpgdgI0KqJdCi+4qMTzCVaauiwzKFHB96ozxLnnk4ab6A+Mr4sa9yL8DrUGmpCge8UsCNLe0/PUIfpKvBMJRp0zkdTXA3NuKGYYUFWefOXbOXZNeCUtVHHhZJg8V2M0gO+Ry6XKeEmuDlOgEXTY4MreN+gPlr7dlWwbOmHwZn2qhtK/cFBNSy7a6zIoKig0s1AwxahuvA8w0iQHkhHb3cOhbaiTnaZwPj5MGLRGH6dFe2RlcXALKXQsrlpX/YHDeLudVF/5gZtRo6PgWe2UKEMA== 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=dbUDdgBF2r2o7YBZgUNFhsPE4Jc3sIwfawUxMAV/eZM=; b=ZViYy9VH36Lh+3IGlaqw0FWMkOp9PssBuABzuTKxl9dy2Qgct3K6B9XFyLDmRMa9m3TwztzvppQTyEkTnSGnvW9LOcD93viyKgmM4gKjJ/dOB7nm/GFSwwaMO5QHQgF2X3j4+mE0Q8ujBT5F6SYlHuzBuSZP8cnbh6wzPCdQkDDVWPyByvGlC9VRd7yCioeylT9aiBe12VhLmlKSFfjWDIKR5DZisH4zctWfxGhG7gS9w5r4JXB57l2I8uNc005tzOnK24JFDlMK7AUASgtyFsjEtIRU2emlZ+2i2stu2XoiMC9TcDd25k2QuIW2KRFih1m6CpwOlPQ+E+4PV52Eyg== 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=dbUDdgBF2r2o7YBZgUNFhsPE4Jc3sIwfawUxMAV/eZM=; b=FySc8liH2G2j84uFNecrUJi1XHZhEUFFdgPYzw+TaX4C5sdLGSf+5Lh8aGcp+5nabMiDlAmYmZzwomjmpd7F8bhAAdl50HyqvNBeCmicwrOs65Vfvba8gnpQvKUMOJwm30RIPsmEIJAoNHRJeHflw51+dy+lUaA7elxdqWPrL0g= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3745.eurprd05.prod.outlook.com (2603:10a6:208:24::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.22; Thu, 18 Jun 2020 18:28:31 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998%7]) with mapi id 15.20.3109.021; Thu, 18 Jun 2020 18:28:31 +0000 From: Matan Azrad To: Maxime Coquelin , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [PATCH 1/2] common/mlx5: share kernel interface name getter Thread-Index: AQHWRYqVqOi+J5HHt0StdkjrsTdeoajesOtQ Date: Thu, 18 Jun 2020 18:28:31 +0000 Message-ID: References: <1591113208-79169-1-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: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [77.124.38.174] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1bc2dc11-4b39-4357-3f28-08d813b56775 x-ms-traffictypediagnostic: AM0PR0502MB3745: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:288; x-forefront-prvs: 0438F90F17 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 66JajCsszOAwAiUk//BDilLfSVHelDM0FBqhkmjGJRLrKNoGc9sG33YwqXw82PnzkVJ9mhgYe1RlUEMKvMGpMQLQ1SZGvcGaEZ0sdR6VhixZvUIpv3XwKJbNKpSJfWlIcpWfgvkYTeDsi/cyZXcEz/z8ZcsejoTrfwdu+kRvSFEejexsanuOd8YPuu9YyoljyNsmVpzgZOTL2/4W58uj5MswF5djvqD3X5RW0aSgSBRUqo1EYQZQShFtPJET8PBhrAqutD5B9NEr4LrNl1LabEc1xx9if4Jf2e77Yr0S3rSHk2Og9JURdGFU4qQlFOsy x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(376002)(136003)(366004)(396003)(346002)(478600001)(186003)(9686003)(71200400001)(26005)(66446008)(55016002)(64756008)(66476007)(33656002)(5660300002)(110136005)(66556008)(66946007)(6636002)(7696005)(53546011)(6506007)(52536014)(8936002)(76116006)(316002)(4326008)(8676002)(83380400001)(86362001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: uDF8cnaTSXLgSiaUCRkbsMT/CWF/+mJNjOlDjJFxS82MIgLObwFbSbU+ReY4tPKlWWoxVuSuW1BRnDuUHIG+I662T/1oXMh1GNTtM4tSytqA3bS8Z4MD3Q5DhQhF8wEP94VHeZ8x6e60GeAmUXLWBj4duY6cUUdQV4Xec9Ks8eV6ZyDMWnyK5qMfcwYmm4GFSaNamEdxlZRyfxMOX1IfAwTH+J5X4HqcUWF2WHhROn3eMQVHiIvz6SrX89/23Ltrg+E/FkoAAxMsFaRX7Jr70L0uXAagNuCJmAKGoXcZ+kT9kO/UHRz6Bb7yOQ35uhI6vRVOGB941wJIFDd2OxVuUtT9v1q62ptqGrEp8vxpeLUHqT230+HMMQ+Q1matI4LDfznInR6A/HZLmOIWwyC3Ffma+HRJg9aAiQ6aSD07obTv8ndSJFWHajeL9TFOoJokNh1ctOxz7+MgvTR5g4HMbX8VCGjY8mHeUEJVM1BLSCE= 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: 1bc2dc11-4b39-4357-3f28-08d813b56775 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 18:28:31.7791 (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: 7o+C46anCnaomAFL5coXwZu4reLUQgfKxTv5FQukKNLVfPibJHreBtwDSxZs6tS4RNUkWAiSB3Wn5PM3ztT/Fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3745 Subject: Re: [dpdk-dev] [PATCH 1/2] common/mlx5: share kernel interface name getter 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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