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 69608A04FA; Tue, 9 Jun 2020 10:40:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FB8728EE; Tue, 9 Jun 2020 10:40:12 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80083.outbound.protection.outlook.com [40.107.8.83]) by dpdk.org (Postfix) with ESMTP id D196E262E for ; Tue, 9 Jun 2020 10:40:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hdoTilr8sZoTBh3+1PdbaP24zLph6AnBRG0imtSJNA5rUcjLIyR8VTUuq09YVnHeHHnhat3rL9eddF6fYBJ/I1CWokTk9Q8kO0tO4uagS+YMIQFopv5xExBeXXIs7e68z5jTRG68QaZHPk0dc3FBRnctZ9/IC0/6iDAqDMXE1/tltLJ0VIIi7zlF7YWh8A1qG4GIP71qF6z5HscZwfCXDD85hfJ3alL7vcLvNTwsk38T1k66jqF/pKbyoHyqWku9NTmbuqaBu1mUXF9uam6zXbIpSF1mDgXMcvQq2hYVaf/reVQDNonyOGmQVAx/EXH+raAook84T7Y6vg/FYc+sqQ== 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=Ygd1IQ4gBGN5ywnL0CVbm55NMkGPyszgQYpIBRY6GJw=; b=TNhxZsU+xpm4it1/mr7YuFt8+mwQF70ZFDim9783sco+dP6oS8bxkBUox8KOgRpkiMLxLr64kOT2OE+wTtA+u5Nz7tIG39EN4gkHFzozF2+44w+iSOI8C1LUCmhBox099AiTRsQgl/DkQ5Gu+5Dxe3LsWANDBiFDsOoTzYNxR/DJs7tlERJTLUUV2Ubaj6ynPqQ6d5fbHhbZ93dPJgAFa5CekWNNeGja5u5Qh4goLYNsAk7bpzoMimypI2Qf/b5ph/vP0aqkn3wtTNJaFR/ZR6H92Ggnkep2B45a+abDEtJENKykfqQbxk5IWXJU5CUmKrzkQfDGdC2LyZfKqmNNYA== 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=Ygd1IQ4gBGN5ywnL0CVbm55NMkGPyszgQYpIBRY6GJw=; b=Tn8fK4+3P0Dz1k82M6qx04TyrK0un7mYj3JpNVYFR+q5Ser1Wd0LF3G38UIKXC3DiQR657AtHyY42Fc38jvEodlpCCyTdhv9pm0F5D92xbQgKMJTej5o1n5VxElks6vEbKGVZpXzHOdbEUQHOWeezkmp8a4pOd59lRdi/TDk7RQ= Received: from AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) by AM0PR05MB4340.eurprd05.prod.outlook.com (2603:10a6:208:62::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.20; Tue, 9 Jun 2020 08:40:09 +0000 Received: from AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::1068:89a9:41d3:b14a]) by AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::1068:89a9:41d3:b14a%3]) with mapi id 15.20.3066.023; Tue, 9 Jun 2020 08:40:09 +0000 From: Ophir Munk To: Ferruh Yigit , "dev@dpdk.org" , Matan Azrad , Raslan Darawsheh Thread-Topic: [dpdk-dev] [PATCH v1 2/8] net/mlx5: add mlx5 Linux specific file with getter functions Thread-Index: AQHWObiDqAEa6KFodk2ZS8OITEEKr6jOmhQAgAFfVoA= Date: Tue, 9 Jun 2020 08:40:08 +0000 Message-ID: References: <20200603150602.4686-1-ophirmu@mellanox.com> <20200603150602.4686-3-ophirmu@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.229.96.229] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 12e8f9f5-5435-4df4-fd73-08d80c50b7a9 x-ms-traffictypediagnostic: AM0PR05MB4340: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 042957ACD7 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4lzwP2WzYcPUXYfWtNaTYqPjWbDy3vyDFMnjelu5vGQ0fcGuoKCGrrW7HSWSGt4b8OWC92IfW1qPTNphgEZvTajSiFh3mETMnpV6T6Gqdo4umlyamHvlkUAJYCL/JkjkMiAASg9YgaOq1gHtmBBKZNpzqKw7bUSzj6CefhhkwpDOwfxhC/rrqjTw6e8233AQum9TTzE3dek6CYNl1r+sgfB9EY1PxD6jnq0TLs5LFPKPhGy/XVeXWGf5Z19kxVTI54JKfh9czVU3+GPXBPslcXuH7yw9H1xzaCebrbU10dHluDhH10fy5YNkihF4FjhKKxAzHZ0mpy6fRCy0kMGYrg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4209.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(2906002)(66476007)(478600001)(8676002)(76116006)(8936002)(26005)(316002)(64756008)(83380400001)(33656002)(71200400001)(186003)(66556008)(5660300002)(66946007)(86362001)(55016002)(6636002)(7696005)(53546011)(6506007)(110136005)(66446008)(52536014)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: pI/+XBcYn63tsM9GIcu+fJkKjsYEPuUgAvjI9mnB2gHaInS4zQZDW21ZOJNFCB9pFE48xcXaYgWHATXXzu/h4p/HaOmNzbdwrgHCP2YzGq5UCaUAymMdLyllutCOTDWda+w1/rdf3g0cQ/aY4T3E5cw3LmXBq7lCG5yfxop91Yo7AHw0CNG0LUuqF2EY+Z6+6IxCTd7WyQcklnlR/TNnVtF0nF5UhVT03Ek4/UkcUf09vx5iJ9aXzTBHbRSq6I5wBlE+AJUvp37ILMDqs+xfjT03qhcxnRnrWCxxSkhs7U9N4m/UVLifeK3WM2UYfkUS11Y5qbHJ9pFzeK+OD0+6QaYVOvHIXzVbItW+LEJCINAJoDE2XPWsKQ5mf5tqGSzPMMkQtIcvihfT8ua765d0BgXxMVNSXPa1Ldis3VM6FL2BK1t8151hL+EP60ID7ul/Bm1UxP8ULOYNUp1NQtsi42kXPJKOGG0RkrVBnBi3NDE= 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: 12e8f9f5-5435-4df4-fd73-08d80c50b7a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2020 08:40:08.9534 (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: S6XkaaXUGPLNafMyIHpzQt8eIvzE/88wnRqKhCfK13GLXpMpYSKzjqHXGtWVpBfAL/KXi5lC7jUExjOOhqakPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4340 Subject: Re: [dpdk-dev] [PATCH v1 2/8] net/mlx5: add mlx5 Linux specific file with getter functions 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" SGkgRmVycnVoLA0KUGxlYXNlIHNlZSBpbmxpbmUNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiBGcm9tOiBGZXJydWggWWlnaXQgPGZlcnJ1aC55aWdpdEBpbnRlbC5jb20+DQo+IFNl bnQ6IE1vbmRheSwgSnVuZSA4LCAyMDIwIDI6MjAgUE0NCj4gVG86IE9waGlyIE11bmsgPG9waGly bXVAbWVsbGFub3guY29tPjsgZGV2QGRwZGsub3JnOyBNYXRhbiBBenJhZA0KPiA8bWF0YW5AbWVs bGFub3guY29tPjsgUmFzbGFuIERhcmF3c2hlaCA8cmFzbGFuZEBtZWxsYW5veC5jb20+DQo+IFN1 YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2MSAyLzhdIG5ldC9tbHg1OiBhZGQgbWx4NSBM aW51eCBzcGVjaWZpYyBmaWxlDQo+IHdpdGggZ2V0dGVyIGZ1bmN0aW9ucw0KPiANCj4gT24gNi8z LzIwMjAgNDowNSBQTSwgT3BoaXIgTXVuayB3cm90ZToNCj4gPiAnY3R4JyB0eXBlIChmaWVsZCBp biAnc3RydWN0IG1seDVfY3R4X3NoYXJlZCcpIGlzIGNoYW5nZWQgZnJvbSAnc3RydWN0DQo+ID4g aWJ2X2NvbnRleHQgKicgdG8gJ3ZvaWQgKicuICAnY3R4JyBtZW1iZXJzIHdoaWNoIGFyZSB2ZXJi cyBkZXBlbmRlbnQNCj4gPiAoZS5nLiBkZXZpY2VfbmFtZSkgd2lsbCBiZSBhY2Nlc3NlZCB0aHJv dWdoIGdldHRlciBmdW5jdGlvbnMgd2hpY2ggYXJlDQo+ID4gYWRkZWQgdG8gYSBuZXcgZmlsZSB1 bmRlciBMaW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