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 EE431B386 for ; Fri, 11 Jul 2014 13:02:50 +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; Fri, 11 Jul 2014 19:04:54 +0800 From: To: Thread-Topic: [dpdk-dev] DPDK Performance issue with l2fwd Thread-Index: AQHPnBX/3Xv611f1rEG8RLZlxA7HMJuYdt6AgAANK4CAAGvggIABQTaA Date: Fri, 11 Jul 2014 11:04:52 +0000 Message-ID: <53BFC46F.8080307@cas-well.com> References: <53BE495E.2000900@cas-well.com> <53BE5C7D.4090707@cas-well.com> <59AF69C657FD0841A61C55336867B5B0343AC6CB@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B0343AC6CB@IRSMSX103.ger.corp.intel.com> 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] Content-Type: text/plain; charset="utf-8" Content-ID: <9942E7DB2A07DB4FB4F20640823FF879@cas-well.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 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: Fri, 11 Jul 2014 11:02:52 -0000 SGkgQnJ1Y2U6DQoNClRoYW5rcyBmb3IgeW91ciBzdWdnZXN0aW9uLg0KSSBoYXZlIHRyaWVkIHRv IHVzZSB0ZXN0cG1kIHRvIHRlc3QgMTYgcG9ydHMgdG9kYXkuDQpUaGUgcmVzdWx0IGlzIHNvIElu dGVyZXN0ZWQuIEl0IGNhbiB3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