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 9E6C9C318 for ; Wed, 17 Feb 2016 00:42:12 +0100 (CET) Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 00ED4287A5; Tue, 16 Feb 2016 15:42:09 -0800 (PST) Received: from EX13-CAS-001.vmware.com (ex13-cas-001.vmware.com [10.113.191.51]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 0D9E718646; Tue, 16 Feb 2016 15:42:10 -0800 (PST) Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-001.vmware.com (10.113.191.21) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 16 Feb 2016 15:42:09 -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.1156.000; Tue, 16 Feb 2016 15:42:09 -0800 From: Yong Wang To: Remy Horton , "helin.zhang@intel.com" , "huawei.xie@intel.com" Thread-Topic: [PATCH v1 3/3] drivers/net/vmxnet3: Add ethdev functions Thread-Index: AQHRWaimXNbpO1aoyEG85rNYNAQ+eJ8vc/uA Date: Tue, 16 Feb 2016 23:42:09 +0000 Message-ID: <7B3631D5-39A4-4DD2-8E11-9B62CE9B608B@vmware.com> References: <1453970895-2639-1-git-send-email-remy.horton@intel.com> <1453970895-2639-4-git-send-email-remy.horton@intel.com> In-Reply-To: <1453970895-2639-4-git-send-email-remy.horton@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.113.170.11] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v1 3/3] drivers/net/vmxnet3: Add ethdev functions 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: Tue, 16 Feb 2016 23:42:13 -0000 T24gMS8yOC8xNiwgMTI6NDggQU0sICJSZW15IEhvcnRvbiIgPHJlbXkuaG9ydG9uQGludGVsLmNv bT4gd3JvdGU6DQoNCg0KPkltcGxlbWVudHMgZHJpdmVyIHN1cHBvcnQgZm9yIGZldGNoaW5nIFR4 IGFuZCBSeCBxdWV1ZSBpbmZvcm1hdGlvbiwgYW5kDQo+c2V0dGluZyBvZiBNQUMgYWRkcmVzcy4N Cj4NCj5TaWduZWQtb2ZmLWJ5OiBSZW15IEhvcnRvbiA8cmVteS5ob3J0b25AaW50ZWwuY29tPg0K Pi0tLQ0KPiBkb2MvZ3VpZGVzL3JlbF9ub3Rlcy9yZWxlYXNlXzJfMy5yc3QgfCAgNSArKysNCj4g ZHJpdmVycy9uZXQvdm14bmV0My92bXhuZXQzX2V0aGRldi5jIHwgNjAgKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrDQo+IDIgZmlsZXMgY2hhbmdlZCwgNjUgaW5zZXJ0aW9ucygr KQ0KPg0KPmRpZmYgLS1naXQgYS9kb2MvZ3VpZGVzL3JlbF9ub3Rlcy9yZWxlYXNlXzJfMy5yc3Qg Yi9kb2MvZ3VpZGVzL3JlbF9ub3Rlcy9yZWxlYXNlXzJfMy5yc3QNCj5pbmRleCBlNmRhYjk4Li42 YTUwZTI2IDEwMDY0NA0KPi0tLSBhL2RvYy9ndWlkZXMvcmVsX25vdGVzL3JlbGVhc2VfMl8zLnJz dA0KPisrKyBiL2RvYy9ndWlkZXMvcmVsX25vdGVzL3JlbGVhc2VfMl8zLnJzdA0KPkBAIC0xMyw2 ICsxMyw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