From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0065.outbound.protection.outlook.com [104.47.37.65]) by dpdk.org (Postfix) with ESMTP id 229027D0E; Wed, 18 Apr 2018 18:59:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5IpoMwAbNGemxmTnPYyEhbwaCy8ykr03Axn5hs/80w8=; b=h29OgWI5mwEVuK3zjP+qpEq5SzZtdSczTsAjnboKvI6b9pFbJOA+DiLRuxI66VGsnggRNEv7PhFBtu7sX2nUSAF2mU22aSiyNukdxNsTjoOHogMKV7dIyCk1xjbY1txx0pcY3oCSl9BO+hS+ji4gRWKtUE9qwxh33OKDX3MN83c= Received: from BY2PR05MB2359.namprd05.prod.outlook.com (10.166.113.11) by BY2PR05MB2182.namprd05.prod.outlook.com (10.166.112.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.7; Wed, 18 Apr 2018 16:59:09 +0000 Received: from BY2PR05MB2359.namprd05.prod.outlook.com ([fe80::f145:a80a:cf49:8217]) by BY2PR05MB2359.namprd05.prod.outlook.com ([fe80::f145:a80a:cf49:8217%7]) with mapi id 15.20.0696.013; Wed, 18 Apr 2018 16:59:09 +0000 From: Yong Wang To: Thomas Monjalon , Ferruh Yigit CC: Chas Williams <3chas3@gmail.com>, Chas Williams , "dev@dpdk.org" , "skhare@vmware.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH] net/vmxnet3: keep link state consistent Thread-Index: AQHT1ooVXMr92u6xuUOjWkCbz+Yzc6QGvv6Q Date: Wed, 18 Apr 2018 16:59:09 +0000 Message-ID: References: <20180318014552.16703-1-3chas3@gmail.com> <7001889b-9a98-c353-ad9c-207bffc6869a@intel.com> <4064739.HSmrWIpKYf@xps> In-Reply-To: <4064739.HSmrWIpKYf@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=vmware.com; x-originating-ip: [66.170.99.2] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2PR05MB2182; 7:jjmZ1hg+3gbIhRjZTyJr8V3BRLFf253JH/l+dXJfL9fQ/nXnCAxgiawCLeBnZt2HVe4sMXSfGN2WPtsbL2IQcDsgCtmMOOhLOXebFzw/IzisiEUrqvvc2U1Vvu4kgz1c5X9Uq4sCC1kcwA2aFGS+1CLGOrrmEfxu3NwbVm0VTzlwXXPdEsYDk0/lkRFcYEmLBQQispiCuwA9apdBzl0Rut8lYYhmQK4JwHrL8dwUwkcdY6V1Nx8TrH6NBhO2kjJl; 20:uIpvzTIZLRPDb8Y2BB33qV8eDbE3pJJPRxVjj8AmyTHhbm0RjwCWXJ7XG/26gAWcoQHpCduGc9eiHpkUT/X1gmoKL7w8eqkJ3Fcq/BHk8lIJUME3DPwdZDIZ3qYGyH2HqhGXYPjvY/rhA1Ezb+tN1aQrQ5Xx8xNJaCz3TlSC9WY= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BY2PR05MB2182; x-ms-traffictypediagnostic: BY2PR05MB2182: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(61668805478150)(278428928389397)(85827821059158)(97927398514766)(228905959029699)(10436049006162); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501327)(52105095)(3002001)(10201501046)(93006095)(93001095)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BY2PR05MB2182; BCL:0; PCL:0; RULEID:; SRVR:BY2PR05MB2182; x-forefront-prvs: 06469BCC91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(39380400002)(396003)(376002)(346002)(13464003)(189003)(199004)(102836004)(186003)(26005)(86362001)(3660700001)(3280700002)(25786009)(99286004)(3846002)(7696005)(6116002)(76176011)(59450400001)(53546011)(6506007)(93886005)(5250100002)(446003)(54906003)(110136005)(476003)(11346002)(316002)(6246003)(39060400002)(6436002)(478600001)(53936002)(33656002)(966005)(5660300001)(2900100001)(6306002)(55016002)(229853002)(9686003)(8936002)(74316002)(2906002)(14454004)(81166006)(81156014)(4326008)(7736002)(305945005)(66066001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR05MB2182; H:BY2PR05MB2359.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; MX:1; A:1; x-microsoft-antispam-message-info: Ftm2FpQbCrRxZoNdyrR54w7wvwGAh9sS2Vasw0ae63xMvtX7zmE4a+l5ClC5Qk8pEQ4DxD7r9GTId1dDdeoadVO8ruJ+kMFsaG+on1A2jlVMelsuQBXfDWiWqh8mxgKZaee4AyyKoGRZfvNX2knhbLPmfvr2Zh+QcQrkkfGrGlGmsZFW9XLgDa2dXo3RvRNt 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: b0000f20-ad9a-441a-5c5d-08d5a54db437 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0000f20-ad9a-441a-5c5d-08d5a54db437 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2018 16:59:09.5473 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB2182 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/vmxnet3: keep link state consistent 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: Wed, 18 Apr 2018 16:59:12 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91 bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIFRob21hcyBNb25qYWxvbg0KPiBTZW50OiBUdWVz ZGF5LCBBcHJpbCAxNywgMjAxOCAxOjI0IFBNDQo+IFRvOiBGZXJydWggWWlnaXQgPGZlcnJ1aC55 aWdpdEBpbnRlbC5jb20+DQo+IENjOiBDaGFzIFdpbGxpYW1zIDwzY2hhczNAZ21haWwuY29tPjsg Q2hhcyBXaWxsaWFtcyA8Y2hhczNAYXR0LmNvbT47DQo+IGRldkBkcGRrLm9yZzsgc2toYXJlQHZt d2FyZS5jb207IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbZHBk ay1zdGFibGVdIFtQQVRDSF0gbmV0L3ZteG5ldDM6IGtlZXAgbGluayBzdGF0ZQ0KPiBjb25zaXN0 ZW50DQo+IA0KPiAxNy8wNC8yMDE4IDIxOjI1LCBGZXJydWggWWlnaXQ6DQo+ID4gT24gNC81LzIw MTggNDowMSBQTSwgQ2hhcyBXaWxsaWFtcyB3cm90ZToNCj4gPiA+IE9uIFRodSwgQXByIDUsIDIw MTggYXQgNjowMyBBTSwgVGhvbWFzIE1vbmphbG9uDQo+IDx0aG9tYXNAbW9uamFsb24ubmV0PiB3 cm90ZToNCj4gPiA+PiAyMC8wMy8yMDE4IDE1OjEyLCBGZXJyd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