From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 62400B375 for ; Tue, 22 Jul 2014 16:41:03 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 22 Jul 2014 07:42:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,710,1400050800"; d="scan'208";a="573645884" Received: from fmsmsx108.amr.corp.intel.com ([10.19.9.228]) by fmsmga002.fm.intel.com with ESMTP; 22 Jul 2014 07:42:02 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.19.9.228) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 22 Jul 2014 07:42:02 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 22 Jul 2014 07:42:02 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.204]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.52]) with mapi id 14.03.0123.003; Tue, 22 Jul 2014 22:42:00 +0800 From: "Zhang, Helin" To: GongJinrong , "dev@dpdk.org" Thread-Topic: [dpdk-dev] How to change the mbuf size Thread-Index: Ac+ljxfpPrR5BiG7Tny23n+4fECl6gAK3nOA Date: Tue, 22 Jul 2014 14:41:59 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Tue, 22 Jul 2014 14:41:03 -0000 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 s= ize of mbuf you wanted when calling rte_mempool_create() during initializat= ion. 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 >=20 > Hi, guys >=20 > I am using pmd driver to capture packets, the MTU is 8000, so I want t= o > change the dpdk memory block size to 8000, how can I do that? >=20 > Best Regards > John Gong