From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from COL004-OMC1S9.hotmail.com (col004-omc1s9.hotmail.com [65.55.34.19]) by dpdk.org (Postfix) with ESMTP id 10D8F68AE for ; Wed, 23 Jul 2014 12:19:33 +0200 (CEST) Received: from COL402-EAS266 ([65.55.34.8]) by COL004-OMC1S9.hotmail.com with Microsoft SMTPSVC(7.5.7601.22712); Wed, 23 Jul 2014 03:20:55 -0700 X-TMN: [XmYzVYUqXbG62QtVBQNDvZE5VmCQD/KJ] X-Originating-Email: [jinronggong@hotmail.com] Message-ID: From: GongJinrong To: "'Zhang, Helin'" , References: In-Reply-To: Date: Wed, 23 Jul 2014 18:04:02 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEv3Vp48N5p5HQnDOjV1mZpwB0dD03n0cSMLA= Content-Language: zh-cn X-OriginalArrivalTime: 23 Jul 2014 10:20:55.0803 (UTC) FILETIME=[C9FE64B0:01CFA65F] Subject: Re: [dpdk-dev] How to change the mbuf size 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: Wed, 23 Jul 2014 10:19:34 -0000 Thanks, Helin, I got it. -----Original Message----- From: Zhang, Helin [mailto:helin.zhang@intel.com] Sent: Tuesday, July 22, 2014 10:42 PM To: GongJinrong; dev@dpdk.org Subject: RE: [dpdk-dev] How to change the mbuf size Hi John No, you do not need to change the mbuf size, you just need to configure the maximum packet length and jumbo frame correctly. Of cause, if you want to put the whole packet into a mbuf, you can define size of mbuf you wanted when calling rte_mempool_create() during initialization. Regards, Helin > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of GongJinrong > Sent: Tuesday, July 22, 2014 5:27 PM > To: dev@dpdk.org > Subject: [dpdk-dev] How to change the mbuf size > > Hi, guys > > I am using pmd driver to capture packets, the MTU is 8000, so I > want to change the dpdk memory block size to 8000, how can I do that? > > Best Regards > John Gong