From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ex1.cas-well.com (unknown [122.147.166.54]) by dpdk.org (Postfix) with ESMTP id 99B4BB348 for ; Thu, 10 Jul 2014 11:27:08 +0200 (CEST) Received: from EX1.cas-well.com ([fe80::f0f5:be15:e925:96c8]) by ex1.cas-well.com ([fe80::f0f5:be15:e925:96c8%18]) with mapi id 14.03.0123.003; Thu, 10 Jul 2014 17:29:05 +0800 From: To: Thread-Topic: [dpdk-dev] DPDK Performance issue with l2fwd Thread-Index: AQHPnBX/3Xv611f1rEG8RLZlxA7HMJuYdt6AgAANK4A= Date: Thu, 10 Jul 2014 09:29:05 +0000 Message-ID: <53BE5C7D.4090707@cas-well.com> References: <53BE495E.2000900@cas-well.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.122.230] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: Alan.Yu@cas-well.com Subject: Re: [dpdk-dev] DPDK Performance issue with l2fwd 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: Thu, 10 Jul 2014 09:27:10 -0000 SGkgQWxleDoNCg0KVGhhbmtzIGZvciB5b3VyIGhlbHAuDQoNCkkgZm9yZ2V0IHRvIGRlc2NyaWJl IHNvbWUgY3JpdGVyaWEgaW4gbXkgb3JpZ2luYWwgcG9zdC4NCg0KQXQgZmlyc3QsIEkgaGFzIGNv bmZpcm1lZCBteSA4MjU5OSBoYXMgY29ubmVjdGVkIGJ5IFBDSWUgR2VuMyAoR2VuMyB4OCkgc3Bl ZWQuIFRoZSB0aGVvcmV0aWNhbCBiYW5kd2lkdGggY2FuIHN1cHBvcnQgb3ZlciAxNjBHIGluIHRv dGFs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