From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [208.91.2.13]) by dpdk.org (Postfix) with ESMTP id 51DAB5A4D for ; Wed, 9 Dec 2015 21:35:48 +0100 (CET) Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id AD3F128DCF; Wed, 9 Dec 2015 12:35:45 -0800 (PST) Received: from EX13-CAS-003.vmware.com (ex13-cas-003.vmware.com [10.113.191.53]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 96B75405E2; Wed, 9 Dec 2015 12:35:46 -0800 (PST) Received: from EX13-MBX-TERM.vmware.com (10.113.191.143) by EX13-MBX-006.vmware.com (10.113.191.26) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Wed, 9 Dec 2015 12:35:46 -0800 Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-TERM.vmware.com (10.113.191.143) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Wed, 9 Dec 2015 12:35:45 -0800 Received: from EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d]) by EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d%17]) with mapi id 15.00.1076.010; Wed, 9 Dec 2015 12:35:44 -0800 From: Yong Wang To: Stephen Hemminger Thread-Topic: [PATCH 2/3] vmxnet3: don't clear vf_table on restart Thread-Index: AQHRLi/O2hVbISFq7EqLL3Sq0lTlk57DJfmA Date: Wed, 9 Dec 2015 20:35:44 +0000 Message-ID: <2A356900-08B7-4FCF-8847-77543B8140B7@vmware.com> References: <1449191107-14222-1-git-send-email-stephen@networkplumber.org> <1449191107-14222-3-git-send-email-stephen@networkplumber.org> In-Reply-To: <1449191107-14222-3-git-send-email-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.113.170.11] Content-Type: text/plain; charset="utf-8" Content-ID: <3699E289D49FD244A0E82469EA8E3AF2@pa-exch1.vmware.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" , "Charles \(Chas\) Williams" Subject: Re: [dpdk-dev] [PATCH 2/3] vmxnet3: don't clear vf_table on restart X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 20:35:48 -0000 T24gMTIvMy8xNSwgNTowNSBQTSwgIlN0ZXBoZW4gSGVtbWluZ2VyIiA8c3RlcGhlbkBuZXR3b3Jr cGx1bWJlci5vcmc+IHdyb3RlOg0KDQoNCg0KPkZyb206ICJDaGFybGVzIChDaGFzKSBXaWxsaWFt cyIgPGNpd2lsbGlhQGJyb2NhZGUuY29tPg0KPg0KPkZyb206IENoYXJsZXMgKENoYXMpIFdpbGxp YW1zIDxjaXdpbGxpYUBicm9jYWRlLmNvbT4NCj4NCj5EdXJpbmcgYW4gTVRVIGNoYW5nZSwgdGhl IGFkYXB0ZXIgaXMgcmVzdGFydGVkLiBJZiBoYXJkd2FyZSBWTEFOIG9mZmxvYWQNCj5pcyBpbiB1 c2UsIHRoaXMgZXhpc3RpbmcgZmlsdGVyIHRhYmxlIHdvdWxkIGFsc28gYmUgY2xlYXJlZC4gSW5z dGVhZCwNCj5zZXR1cCB0aGUgc2hhZG93IHRhYmxlIG9uY2UgZHVyaW5nIGRldmljZSBpbml0aWFs aXphdGlvbiBhbmQganVzdCB1cGRhdGUNCj5kdXJpbmcgcmVzdGFydC4NCj4NCj5TaWduZWQtb2Zm LWJ5OiBDaGFybGVzIChDaGFzKSBXaWxsaWFtcyA8Y2l3aWxsaWFAYnJvY2FkZS5jb20+DQo+U2ln bmVkLW9mZi1ieTogU3RlcGhlbiBIZW1taW5nZXIgPHN0ZXBoZW5AbmV0d29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