From: GongJinrong <jinronggong@hotmail.com>
To: "'Zhang, Helin'" <helin.zhang@intel.com>, <dev@dpdk.org>
Subject: Re: [dpdk-dev] How to change the mbuf size
Date: Wed, 23 Jul 2014 18:04:02 +0800 [thread overview]
Message-ID: <COL402-EAS266A29AF1B3ACBEE3F3D809B7FE0@phx.gbl> (raw)
In-Reply-To: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A761BC9@SHSMSX104.ccr.corp.intel.com>
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
prev parent reply other threads:[~2014-07-23 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 9:27 GongJinrong
2014-07-22 14:41 ` Zhang, Helin
2014-07-23 10:04 ` GongJinrong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=COL402-EAS266A29AF1B3ACBEE3F3D809B7FE0@phx.gbl \
--to=jinronggong@hotmail.com \
--cc=dev@dpdk.org \
--cc=helin.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).