DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Helin" <helin.zhang@intel.com>
To: GongJinrong <jinronggong@hotmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] How to change the mbuf size
Date: Tue, 22 Jul 2014 14:41:59 +0000	[thread overview]
Message-ID: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A761BC9@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <COL402-EAS29352B6531CA6AAE92F2A5EB7F10@phx.gbl>

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

  reply	other threads:[~2014-07-22 14:41 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 [this message]
2014-07-23 10:04   ` GongJinrong

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=F35DEAC7BCE34641BA9FAC6BCA4A12E70A761BC9@SHSMSX104.ccr.corp.intel.com \
    --to=helin.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=jinronggong@hotmail.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).