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 E43D35A98 for ; Sat, 7 Mar 2015 00:48:47 +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 4C5152B81A; Fri, 6 Mar 2015 15:48:46 -0800 (PST) Received: from EX13-CAS-008.vmware.com (EX13-CAS-008.vmware.com [10.113.191.58]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 486571838A; Fri, 6 Mar 2015 15:48:46 -0800 (PST) Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-016.vmware.com (10.113.191.36) with Microsoft SMTP Server (TLS) id 15.0.913.22; Fri, 6 Mar 2015 15:48:39 -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 15:48:26 -0800 From: Yong Wang To: Stephen Hemminger Thread-Topic: [PATCH v3 09/10] vmxnet3: add check for jumbo segment Thread-Index: AQHQV6IDQj0+Tpf0vkq/5PFcGR7TB50QIMeA Date: Fri, 6 Mar 2015 23:48:26 +0000 Message-ID: References: <1425600635-20628-1-git-send-email-stephen@networkplumber.org> <1425600635-20628-10-git-send-email-stephen@networkplumber.org> In-Reply-To: <1425600635-20628-10-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: <2B0EE9A45F251E4AA80B88429B4D6EB5@pa-exch1.vmware.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" , Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH v3 09/10] vmxnet3: add check for jumbo segment 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 23:48:48 -0000 T24gMy81LzE1LCA0OjEwIFBNLCAiU3RlcGhlbiBIZW1taW5nZXIiIDxzdGVwaGVuQG5ldHdvcmtw bHVtYmVyLm9yZz4gd3JvdGU6DQoNCj5Gcm9tOiBTdGVwaGVuIEhlbW1pbmdlciA8c2hlbW1pbmdA YnJvY2FkZS5jb20+DQo+DQo+SXQgaXMgcG9zc2libGUgdGhhdCBzb21lIHJvZ3VlIGFwcGxpY2F0 aW9uIG1pZ2h0IHBhc3MgYSBzZWdtZW50DQo+bGFyZ2VyIHRoYW4gMTZLIHRvIHRoZSB2bXhuZXQz IHRyYW5zbWl0IHJvdXRpbmUuIEluIHdoaWNoIGNhc2UNCj5qdXN0IGRyb3AgaXQgYW5kIGluY3Jl bWVudCBjb3VudGVyLg0KPg0KPlNpZ25lZC1vZmYtYnk6IFN0ZXBoZW4gSGVtbWluZ2VyIDxzdGVw aGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4NCg0KT25lIG1pbm9yIGNvbW1lbnQgYmVsb3cuIE90aGVy d2lzZSBsb29rcyBnb29kIHRvIG1lLg0KDQoNCkFja2VkLWJ5OiBZb25nIFdhbmcgPHlvbmd3YW5n QHZtd2FyZS5jb20+DQoNCj4tLS0NCj4gbGliL2xpYnJ0ZV9wbWRfdm14bmV0My92bXhuZXQzX3Jp bmcuaCB8ICAxICsNCj4gbGliL2xpYnJ0ZV9wbWRfdm14bmV0My92bXhuZXQzX3J4dHguYyB8IDE4 ICsrKysrKysrKysrKysrKysrKw0KPiAyIGZpbGVzIGNoYW5nZWQsIDE5IGluc2VydGlvbnMoKykN Cj4NCj5kaWZmIC0tZ2l0IGEvbGliL2xpYnJ0ZV9wbWRfdm14bmV0My92bXhuZXQzX3JpbmcuaA0K PmI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