DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Using preallocated mempool in pipeline
@ 2019-10-23  5:52 Gadre Nayan
  0 siblings, 0 replies; only message in thread
From: Gadre Nayan @ 2019-10-23  5:52 UTC (permalink / raw)
  To: users


My cli config looks like the following:
mempool MEMPOOL0 buffer 16384 pool 32K cache 256 cpu 0

If i wanted to use this MEMPOOL0 in my pipeline I would use the
following config:

pipeline INGRESS port in bsz 32 source mempool MEMPOOL0 file
<file_name> bpp <no of bytes per packet>

I am not clear about the file <file_name> bpp<no of bytes per packet>
options. Please suggest.

I am creating a pipeline which would generate packets instead of using
actual physical ports like LINK RXQ. I can dynamically create a
mempool using

mbuf_pool = rte_pktmbuf_pool_create("MEMPOOL0",
        NUM_MBUFS * nb_ports, MBUF_CACHE_SIZE, 0,
        RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id());

However, I would like to create one at configuration time and
associate it with a pipeline.

How can I achieve this using the configuration file options.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-23  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23  5:52 [dpdk-users] Using preallocated mempool in pipeline Gadre Nayan

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git