From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0049.outbound.protection.outlook.com [104.47.0.49]) by dpdk.org (Postfix) with ESMTP id C5FAF1D939 for ; Tue, 12 Jun 2018 10:02:20 +0200 (CEST) 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=EyXsrfQzZAmUcZXmHqG2aGO6bWYpAyQ1VCxRB1bbQoQ=; b=Jnp0LWT3zivxQUclTqXAi8ame9oUK48CcrBrFj4mEM5U7RYjr+8jHAg10b+Kr88SlqhixZThiVSk2YP41M9o5kKjqH57n/GT6nlyR9x/JJUIS5YmshzCvBS4jqGYeFLsfFWdvUGoMlspI2IikZp95/19m1x3J/RS9m+bvsa8BJ4= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB4222.eurprd05.prod.outlook.com (52.133.12.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.17; Tue, 12 Jun 2018 08:02:18 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::e06e:5570:1949:413d]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::e06e:5570:1949:413d%6]) with mapi id 15.20.0841.019; Tue, 12 Jun 2018 08:02:17 +0000 From: "Xueming(Steven) Li" To: Adrien Mazarguil , Shahaf Shuler CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 7/7] net/mlx5: add parameter for port representors Thread-Index: AQHT9EaZRAvHOqAjikimMnhIRcHFSKRcXTiA Date: Tue, 12 Jun 2018 08:02:17 +0000 Message-ID: References: <20180525161814.13873-1-adrien.mazarguil@6wind.com> <20180525161814.13873-8-adrien.mazarguil@6wind.com> In-Reply-To: <20180525161814.13873-8-adrien.mazarguil@6wind.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [103.250.195.188] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB4222; 7:1zYOaMp4Hyq/r4KZZ9FlJqZDIXnoZ6tFto3PQ1v5FGYaClqiY+lum1F5RG/j0LKFpg8yK6TzI6n7ZavQf1ImPGG3Gr6IcHfH6CTxF7xnfa10eXsqixbstHvUmeac/He4S6KXTxsyNZ2GyY9CfJV0LgjgyYKgu1aoBJaHmQKeDOoZBrUHfxJgShnwSq1+OIiQ4a0XAQe/e8oHsq9hZHNuigeknpyl00Jg/50V2/kOOSa+PFF0V92xR44IPkOx3w0Q x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB4222; x-ms-traffictypediagnostic: VI1PR05MB4222: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB4222; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB4222; x-forefront-prvs: 07013D7479 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(39380400002)(346002)(376002)(13464003)(199004)(189003)(68736007)(74316002)(53936002)(102836004)(4326008)(25786009)(6246003)(26005)(105586002)(97736004)(106356001)(305945005)(33656002)(6636002)(55016002)(7696005)(2906002)(7736002)(53546011)(3280700002)(5660300001)(8936002)(9686003)(3660700001)(6436002)(8676002)(59450400001)(76176011)(478600001)(66066001)(6506007)(3846002)(6116002)(186003)(81166006)(81156014)(575784001)(229853002)(2900100001)(86362001)(316002)(5250100002)(110136005)(14454004)(99286004)(486006)(476003)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4222; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: INYo0dIOg2sDYvwtJ1zovKS6hlyv73C0SIARt2Wiaq0f93gpJcswhaoXIJE0uJ40JopLxt1nx+s52W2nbGNVhBHv8HaZGWROGwYg4snNY98B3b0RYXpPatM26R9OmR+4vBT6bHWXAOmlrUvqvWjbBaeSNobQVD4HgeBNwdjd61g+MCp6bESrDd0tOox1fOXb spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 7e3d6a4a-d163-43cc-8e29-08d5d03ad133 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e3d6a4a-d163-43cc-8e29-08d5d03ad133 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 08:02:17.7609 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4222 Subject: Re: [dpdk-dev] [PATCH 7/7] net/mlx5: add parameter for port representors 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: , X-List-Received-Date: Tue, 12 Jun 2018 08:02:21 -0000 SGkgQWRyaWVuLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiA8 ZGV2LWJvdW5jZXNAZHBkay5vcmc+IE9uIEJlaGFsZiBPZiBBZHJpZW4gTWF6YXJndWlsDQo+IFNl bnQ6IFNhdHVyZGF5LCBNYXkgMjYsIDIwMTggMTI6MzUgQU0NCj4gVG86IFNoYWhhZiBTaHVsZXIg PHNoYWhhZnNAbWVsbGFub3guY29tPg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFtk cGRrLWRldl0gW1BBVENIIDcvN10gbmV0L21seDU6IGFkZCBwYXJhbWV0ZXIgZm9yIHBvcnQgcmVw cmVzZW50b3JzDQo+IA0KPiBQcmlvciB0byB0aGlzIHBhdGNoLCBhbGwgcG9ydCByZXByZXNlbnRv cnMgZGV0ZWN0ZWQgb24gYSBnaXZlbiBkZXZpY2Ugd2VyZSBwcm9iZWQgYW5kIEV0aGVybmV0IGRl dmljZXMNCj4gaW5zdGFudGlhdGVkIGZvciBlYWNoIG9mIHRoZW0uDQo+IA0KPiBUaGlzIHBhdGNo IGFkZHMgc3VwcG9ydCBmb3IgdGhlIHN0YW5kYXJkICJyZXByZXNlbnRvciIgcGFyYW1ldGVyLCB3 aGljaCBpbXBsaWVzIHRoYXQgcG9ydCByZXByZXNlbnRvcnMNCj4gYXJlIG5vdCBwcm9iZWQgYnkg ZGVmYXVsdCBhbnltb3JlLCBleGNlcHQgZm9yIHRoZSBsaXN0IHByb3ZpZGVkIHRocm91Z2ggZGV2 aWNlIGFyZ3VtZW50cy4NCj4gDQo+IChQYXRjaCBiYXNlZCBvbiBwcmlvciB3b3JrIGZyb20gWXVh bmhhbiBMaXUpDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBBZHJpZW4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