From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [208.91.2.12]) by dpdk.org (Postfix) with ESMTP id 5DCED5A76 for ; Fri, 6 Mar 2015 22:59:44 +0100 (CET) Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 488842B25B; Fri, 6 Mar 2015 13:59:43 -0800 (PST) Received: from EX13-CAS-002.vmware.com (EX13-CAS-002.vmware.com [10.113.191.52]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 40BD9B00DF; Fri, 6 Mar 2015 13:59:43 -0800 (PST) Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-004.vmware.com (10.113.191.24) with Microsoft SMTP Server (TLS) id 15.0.913.22; Fri, 6 Mar 2015 13:59:42 -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.0913.011; Fri, 6 Mar 2015 13:59:30 -0800 From: Yong Wang To: Stephen Hemminger Thread-Topic: [PATCH v3 08/10] vmxnet3: get rid of DEBUG ifdefs Thread-Index: AQHQV6IC1tN0ttFssUihnLJsCIgDvp0QAleA Date: Fri, 6 Mar 2015 21:59:30 +0000 Message-ID: References: <1425600635-20628-1-git-send-email-stephen@networkplumber.org> <1425600635-20628-9-git-send-email-stephen@networkplumber.org> In-Reply-To: <1425600635-20628-9-git-send-email-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.113.160.246] Content-Type: text/plain; charset="utf-8" Content-ID: <8A9B0AF68216ED40AAB4EFF530BF83D1@pa-exch1.vmware.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 08/10] vmxnet3: get rid of DEBUG ifdefs 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: Fri, 06 Mar 2015 21:59:44 -0000 T24gMy81LzE1LCA0OjEwIFBNLCAiU3RlcGhlbiBIZW1taW5nZXIiIDxzdGVwaGVuQG5ldHdvcmtw bHVtYmVyLm9yZz4gd3JvdGU6DQoNCj5CeSBkZWZpbmluZyBtYWNybyBhcyBhIHN0dWIgaXQgaXMg cG9zc2libGUgdG8gZ2V0IHJpZCBvZiAjaWZkZWYncw0KPmluIHRoZSBhY3R1YWwgY29kZS4gQWx3 YXlzIGV2YWx1YXRlIHRoZSBhcmd1bWVudCAoZXZlbiBpbiB0aGUgc3R1YikNCj5zbyB0aGF0IHRo ZXJlIGFyZSBubyBleHRyYSB1bnVzZWQgdmFyaWFibGUgZXJyb3JzLg0KPg0KPlNpZ25lZC1vZmYt Ynk6IFN0ZXBoZW4gSGVtbWluZ2VyIDxzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4NCg0KQWNr ZWQtYnk6IFlvbmcgV2FuZyA8eW9uZ3dhbmdAdm13YXJlLmNvbT4NCg0KPi0tLQ0KPiBsaWIvbGli cnRlX3BtZF92bXhuZXQzL3ZteG5ldDNfZXRoZGV2LmggfCAgNiArKysrLS0NCj4gbGliL2xpYnJ0 ZV9wbWRfdm14bmV0My92bXhuZXQzX3J4dHguYyAgIHwgMTMgKystLS0tLS0tLS0tLQ0KPiAyIGZp bGVzIGNoYW5nZWQsIDYgaW5zZXJ0aW9ucygrKSwgMTMgZGVsZXRpb25zKC0pDQo+DQo+ZGlmZiAt LWdpdCBhL2xpYi9saWJydGVfcG1kX3ZteG5ldDMvdm14bmV0M19ldGhkZXYuaA0KPmIvbGliL2xp YnJ0ZV9wbWRfdm14bmV0My92bXhuZXQzX2V0aGRldi5oDQo+aW5kZXggODMxODJlMi4uMWMwZDk1 Zi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