[dpdk-dev] How to change the mbuf size

GongJinrong jinronggong at hotmail.com
Wed Jul 23 12:04:02 CEST 2014


Thanks, Helin, I got it. 

-----Original Message-----
From: Zhang, Helin [mailto:helin.zhang at intel.com] 
Sent: Tuesday, July 22, 2014 10:42 PM
To: GongJinrong; dev at 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 at dpdk.org] On Behalf Of GongJinrong
> Sent: Tuesday, July 22, 2014 5:27 PM
> To: dev at 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


More information about the dev mailing list