DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wu, Jianyue (NSB - CN/Hangzhou)" <jianyue.wu@nokia-sbell.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] [DPDK memory] mbuf max size is restricted to 65535, how can we buffer bigger than 65535?
Date: Thu, 17 Dec 2020 05:53:49 +0000	[thread overview]
Message-ID: <c672a91dfab04529aa0005dd5944e494@nokia-sbell.com> (raw)

Hi, DPDK experts,

Now mbuf data_len is only uint16_t, can't exceed 65535, we have a scenario which need to use buffer bigger than 65535, how can we use it? Thanks in advance!


#define rte_pktmbuf_data_len<https://grok.pscloud.emea.nsn-net.net/s?refs=rte_pktmbuf_data_len&project=UPHWAPI.master>(m<https://grok.pscloud.emea.nsn-net.net/s?refs=m&project=UPHWAPI.master>) ((m<https://grok.pscloud.emea.nsn-net.net/s?defs=m&project=UPHWAPI.master>)->data_len<https://grok.pscloud.emea.nsn-net.net/xref/UPHWAPI.master/SCI_Interface_XEON/os/sys-root/x86_64-pc-linux-gnu/usr/include/dpdk/rte_mbuf.h#data_len>)
uint16_t data_len<https://doc.dpdk.org/api-2.2/structrte__mbuf.html#ad1a572736a10ff6b282c5f43c4ea1ccf>;
https://doc.dpdk.org/api-2.2/rte__mbuf_8h_source.html

Now mbuf alloc has no problem, can get buffer bigger than 65535.

Best Regards,
Dave(Jianyue)


             reply	other threads:[~2020-12-17  5:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17  5:53 Wu, Jianyue (NSB - CN/Hangzhou) [this message]
2020-12-17  6:25 ` Wu, Jianyue (NSB - CN/Hangzhou)

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=c672a91dfab04529aa0005dd5944e494@nokia-sbell.com \
    --to=jianyue.wu@nokia-sbell.com \
    --cc=users@dpdk.org \
    /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).