From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id DC8AEB394 for ; Fri, 11 Jul 2014 16:27:40 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 11 Jul 2014 07:28:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,643,1400050800"; d="scan'208";a="455921011" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by azsmga001.ch.intel.com with ESMTP; 11 Jul 2014 07:28:06 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.62]) by IRSMSX102.ger.corp.intel.com ([169.254.2.76]) with mapi id 14.03.0123.003; Fri, 11 Jul 2014 15:28:05 +0100 From: "Richardson, Bruce" To: "Zachary.Jen@cas-well.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] DPDK Performance issue with l2fwd Thread-Index: AQHPnBrA71H8R6VHnEOM1bxgJbxW+5uY+c+AgAB7bzCAATGpAIAASNhw Date: Fri, 11 Jul 2014 14:28:04 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0343ACD1E@IRSMSX103.ger.corp.intel.com> References: <53BE495E.2000900@cas-well.com> <53BE5C7D.4090707@cas-well.com> <59AF69C657FD0841A61C55336867B5B0343AC6CB@IRSMSX103.ger.corp.intel.com> <53BFC46F.8080307@cas-well.com> In-Reply-To: <53BFC46F.8080307@cas-well.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" 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-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