From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0048.outbound.protection.outlook.com [104.47.0.48]) by dpdk.org (Postfix) with ESMTP id 173461E9B8 for ; Tue, 12 Jun 2018 16:44:14 +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=DteMln67z8CBQB+Q7PfiA2neJWRRfwpPz+jHe3erSyA=; b=U0DsteT/94+Jyb8HUVJQDmeG3yJ2MvE8P1Dx4gxTa2KFgrl70h4d4TeLe+iJrRL8Ed7A75mw7g1uJJZrtCYvVHsF6nZkpmMEIyfGZO1nDF+HAvOpjaMmsSBo3Z0xA4J7/A24BopgmjnxZ7YAwdYW5RGSTjH1zGKATaHp7r4EWbE= Received: from AM5PR0501MB2420.eurprd05.prod.outlook.com (10.169.149.146) by AM5PR0501MB2435.eurprd05.prod.outlook.com (10.169.149.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.14; Tue, 12 Jun 2018 14:44:12 +0000 Received: from AM5PR0501MB2420.eurprd05.prod.outlook.com ([fe80::e852:af25:231c:79c1]) by AM5PR0501MB2420.eurprd05.prod.outlook.com ([fe80::e852:af25:231c:79c1%10]) with mapi id 15.20.0841.019; Tue, 12 Jun 2018 14:44:12 +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: AQHT9EaZRAvHOqAjikimMnhIRcHFSKRczYlA Date: Tue, 12 Jun 2018 14:44:12 +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: [180.174.142.249] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5PR0501MB2435; 7:duHQdY/4YKcaxFoQrPsBHEAcTPIRoymhXHXYzoJUNPy7uINss6IeX2Fj2yRRUHDURgfmeUc3uQrIVWpKe45OPJ/CmS/klke25+81zcRrwcNYdZw6AZ4SWBLwPPWB7wFDLrb+ko2zLfGYXdgj9/n/tPEudslBZlIAURmHwIjX5CB89MzJ2zwalI1eTYM5XRm0VD/mNpORPOZq2Dvju8O/XslePXQGcLYZ8koLEnI3GOELNWuBVt2ML7TW/rku+Izi 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:AM5PR0501MB2435; x-ms-traffictypediagnostic: AM5PR0501MB2435: 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)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:AM5PR0501MB2435; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0501MB2435; x-forefront-prvs: 07013D7479 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(39860400002)(366004)(396003)(189003)(199004)(13464003)(478600001)(81156014)(5890100001)(5660300001)(8936002)(14454004)(53546011)(316002)(229853002)(9686003)(106356001)(110136005)(105586002)(3846002)(6116002)(6506007)(33656002)(2900100001)(97736004)(5250100002)(186003)(26005)(68736007)(102836004)(59450400001)(76176011)(7696005)(99286004)(8676002)(81166006)(2906002)(11346002)(446003)(3660700001)(575784001)(86362001)(6246003)(53936002)(3280700002)(476003)(6636002)(74316002)(55016002)(66066001)(305945005)(7736002)(486006)(4326008)(25786009)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2435; H:AM5PR0501MB2420.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-microsoft-antispam-message-info: wCOO3pHVcteIEYPjPsYW5Vh+PU6yYRbUuu+KGHQpSxfPgQ/hfUgSd9HHTJbZ6dtHW7fENLLZIHE5HsWg1H1Af0GV2gzAk04nyDCt16peyGteEYyDf9jRRBtDvWy3a6Mq1L7LkV6chw6aBxnpZ5uwImd+pgvi9l7EZbguWpN1zon8Qb89FBKaC4YKdt5YiI9z 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: d4043765-673a-4ed9-ada9-08d5d072f6ac X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4043765-673a-4ed9-ada9-08d5d072f6ac X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 14:44:12.4813 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2435 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 14:44:14 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIEFkcmllbiBNYXphcmd1aWwNCj4gU2VudDogU2F0dXJk YXksIE1heSAyNiwgMjAxOCAxMjozNSBBTQ0KPiBUbzogU2hhaGFmIFNodWxlciA8c2hhaGFmc0Bt ZWxsYW5veC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogW2RwZGstZGV2XSBb UEFUQ0ggNy83XSBuZXQvbWx4NTogYWRkIHBhcmFtZXRlciBmb3IgcG9ydCByZXByZXNlbnRvcnMN Cj4gDQo+IFByaW9yIHRvIHRoaXMgcGF0Y2gsIGFsbCBwb3J0IHJlcHJlc2VudG9ycyBkZXRlY3Rl ZCBvbiBhIGdpdmVuIGRldmljZSB3ZXJlIHByb2JlZCBhbmQgRXRoZXJuZXQgZGV2aWNlcw0KPiBp bnN0YW50aWF0ZWQgZm9yIGVhY2ggb2YgdGhlbS4NCj4gDQo+IFRoaXMgcGF0Y2ggYWRkcyBzdXBw b3J0IGZvciB0aGUgc3RhbmRhcmQgInJlcHJlc2VudG9yIiBwYXJhbWV0ZXIsIHdoaWNoIGltcGxp ZXMgdGhhdCBwb3J0IHJlcHJlc2VudG9ycw0KPiBhcmUgbm90IHByb2JlZCBieSBkZWZhdWx0IGFu eW1vcmUsIGV4Y2VwdCBmb3IgdGhlIGxpc3QgcHJvdmlkZWQgdGhyb3VnaCBkZXZpY2UgYXJndW1l bnRzLg0KPiANCj4gKFBhdGNoIGJhc2VkIG9uIHByaW9yIHdvcmsgZnJvbSBZdWFuaGFuIExpdSkN Cj4gDQo+IFNpZ25lZC1vZmYtYnk6IEFkcmllbiB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