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 424D3A0093; Mon, 18 May 2020 16:57:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6531A1D177; Mon, 18 May 2020 16:57:06 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2043.outbound.protection.outlook.com [40.107.21.43]) by dpdk.org (Postfix) with ESMTP id 5BB431D172; Mon, 18 May 2020 16:57:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ImSkwN/B7e52LcPoXA4x6CindRxgLEINDu+TmYYu7A5BgLBd5WFPJ860FmqkdT8xZsWiQ2lCsVkP6RzM3/s3qBzdbyZCvK201Kur8DKgiWDXn6jEDqcoiD8W6heSYOpA0zYDZ0kyzhtVYjX2sVFsvxhMPyqtqUpELAoX6gvzks6Ol9gonyp5zBytJJf4w/DKl6x6Y3UZoET/ebJPePx8UbmprPs/7bDtx57d2broBMY5sTwMRph2kGFALDZW0aqu5FXuEG23pH3DxcWJ0tIwq8mWfpYUICABFEBFonFte9DNJHCBILoVu0wlG/rXdIXWhEBEPganbdp1TRyo652V/g== 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=18R8Z8o7oQcLTH00zEq1nEMxBohYGz0hqCYXj2joTeY=; b=i/Ovq4oulMnu/8qGbzubyHKs52rAJ9hGLiA/kdAEgmbFNCqmF616pr14oAoQ5CTd3kM5vtNsFX+aP3YO3RCdIQuKAohQFPB2Kl4jrj/Vixr6u89WHJIQ3UeCOgdk5e6HyP3pLKVHpzRNW6vQNNJylqNzQR2ydo2GP1O0J6ZtEfX9p16EVweNO7Q7wDDWVZ3/K1cnnFD2MidWNVr3AH+FK0sky1WcxlRzDKIPDHqWfRmYcFXYCsZQCpXQhFtIiOg1pt4Io+WR0qqz7FD1A6pyZkJLYtg7n+yrMnFLB4C3MfYpIjezvlDGoEEVW7QcSq9kkmPNLhqeQB28arm/gLO0WQ== 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=18R8Z8o7oQcLTH00zEq1nEMxBohYGz0hqCYXj2joTeY=; b=YCIjwYY0bkxcdUmgzybKER4CdcaPd8fKsEjK/NSW/0X+NYSwd4lzEqvpKocKb02wuEOmLQQRi4z/k3FjcsDCiCMZzzXZHORHhmpZanEq+zh0GY2bZa7JIMbMVL3qvmkWhYuYlx1IrNBhSI0V1i6sMEh9g149CJRamV0dq4QlPhs= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3953.eurprd05.prod.outlook.com (2603:10a6:208:2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.26; Mon, 18 May 2020 14:57:03 +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.3000.022; Mon, 18 May 2020 14:57:03 +0000 From: Matan Azrad To: Andrew Rybchenko , Ting Xu , "dev@dpdk.org" CC: Thomas Monjalon , "ferruh.yigit@intel.com" , Heinrich Kuhn , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure Thread-Index: AQHWKQdv0UDvn11W9ESutAU3VxnDVait34YAgAAXG5A= Date: Mon, 18 May 2020 14:57:02 +0000 Message-ID: References: <20200511102504.23936-1-ting.xu@intel.com> <20200513171627.80657-1-ting.xu@intel.com> <13617e23-5b0a-5fe8-1c5e-06f59faf2951@solarflare.com> In-Reply-To: <13617e23-5b0a-5fe8-1c5e-06f59faf2951@solarflare.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: solarflare.com; dkim=none (message not signed) header.d=none;solarflare.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [77.126.88.104] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 81b360d4-2caf-48d2-94d3-08d7fb3bb9a2 x-ms-traffictypediagnostic: AM0PR0502MB3953: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 04073E895A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QqE8Qpqe/kwRsSHg9T/Hc4S+6yLwIsEMX0g13eTKOlJjyAcyx7QR0X0o+juLF1TYrwQ1Hlewkn1YDuvD8ynoUqCmaqhrbaQ6HJvC2W6REzvAD/JNCCZ/jzKrA2m1Wa6X8oc2kFGnfWjHbKHvWaC94lK/LZTbDAI/wE687iViCt3Bgbdzp8So0Hg0wsGZ3GTMZMxOG2TIRJnAC7YnkomrPnV9R/7BjGy4OXsC42gVTCEf1WYzTwYR+kwpOzWSpyGUEzUuI1LMDokHhasFzlVORRLTYlq+vIQPwKsJs6cFtJ1AGrFPAgw6Xl5yZ1tXRyrEsNVmsdB39a8uzlCiI/f5wnRktYJz/ot4pUnuhB3Gu2xVoZ+dFvlP7/D7D8wzrXcmIkZK7IHWz3BTqtg1Dde5BaXuj5mPlFuvrwKh2qQRXUUMr31YolemjctbFzzQCrCk 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)(396003)(136003)(39860400002)(376002)(366004)(346002)(55016002)(26005)(5660300002)(6506007)(316002)(478600001)(33656002)(53546011)(71200400001)(4326008)(186003)(54906003)(110136005)(2906002)(86362001)(9686003)(7696005)(66446008)(8676002)(66556008)(8936002)(52536014)(66476007)(76116006)(66946007)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: n73Q77+PhlR5/BHFtcWCrLLT22DU/l9RJTakYc/mrlgbAM6hnqHH8wX/Y6aRmjzMYM5kg8DK0T5N2vadfSLDhDVkrtmpvVTxgFBdgyd6ZKv8HAJew963PRs5yF7KRnbtL1JBPBOrr64PCdJmnRDkorJHTzi1HhTygZn4ey7o1PNAwkp/v/m8BsO+kTkr+oWh4up+l49aID3tmX7FLfjM4mtTKWuagHTtTJ2xq/hJVvCzdWO8QQfatxZyVEroarm7Lyq81vvnqlN/B61/HGMKE6+BsbgwzldD6wqZLWunULryTYz9993iC1jRQI+sdydIniL3HrLRhE1Q/8kpRz51QHAXWcF/e7Uqr4hgM38F5OF7xvHqSS/kGqFmwCX9tmdjwg51403o/Iv1j2HEk7ZBZ8JP2TrUNNYgTDOLdsyOo4sBwULDIRASjR7JSq685PfIxmGrI/Fjku0xmYZPU0UGotSelPE8sUNgOhtuKIca2CI= x-ms-exchange-transport-forked: True 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: 81b360d4-2caf-48d2-94d3-08d7fb3bb9a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2020 14:57:03.0817 (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: YduklXWnlo36EPfd+wp+GYqEmROLbB+6zAMet5XXiXyaucFAXEf55GnwiZVPDzpjr6OwmOBeqwIuvQdA6XfPvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3953 Subject: Re: [dpdk-dev] [PATCH v5] ethdev: fix DCB set failure 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" DQpIaQ0KDQogRnJvbTogQW5kcmV3IFJ5YmNoZW5rbw0KPiBDQyBuZXQvbmZwIG1haW50YWluZXIN Cj4gDQo+IE9uIDUvMTMvMjAgODoxNiBQTSwgVGluZyBYdSB3cm90ZToNCj4gPiBXaGVuIHJ0ZV9l dGhfZGV2X3Jzc19oYXNoX2NvbmZfZ2V0KCkgaXMgY2FsbGVkLCBpZiB0aGUgdmFyaWFibGUNCj4g PiByc3NfY29uZiBpcyBub3QgaW5pdGlhbGl6ZWQsIHRoZSBwb2ludGVyIG1lbWJlciB2YXJpYWJs ZSByc3Nfa2V5IG1heQ0KPiA+IGhhdmUgYSByYW5kb20gYWRkcmVzcywgd2hpY2ggbGVhZHMgdG8g YW4gZXJyb3IgaW4gdGhlIGZvbGxvd2luZw0KPiA+IHByb2Nlc3NpbmcuIFRoaXMgcGF0Y2ggaW5p dGlhbGl6ZWQgdGhlIHZhcmlhYmxlIHJzc19jb25mIHRvIGF2b2lkIHRoaXMNCj4gPiBzaXR1YXRp b24uDQo+ID4NCj4gPiBGaXhlczogMTYzMjFkZTA5Mzk2ICgiZXRoZGV2OiBhbGxvdyB0byBnZXQg UlNTIGhhc2ggZnVuY3Rpb25zIGFuZA0KPiA+IGtleSIpDQo+ID4gQ2M6IHN0YWJsZUBkcGRrLm9y Zw0KPiA+DQo+ID4gU2lnbmVkLW9mZi1ieTogVGluZyBYdSA8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