DPDK usage discussions
 help / color / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] A question about l2fwd
Date: Wed, 24 Jun 2020 12:28:49 +0100
Message-ID: <CAJK_ieh4dPQGgW2E_U4iGOGOYnK6wM+5bWWUscjSAhMddcNuvA@mail.gmail.com> (raw)


I have a question about the l2fwd example, which concerns a basic question
about how dpdk works.

The main processing loop in l2fwd is *l2fwd_main_loop()* which calls
*rte_eth_rx_burst()* to retrieve packets from the rx_queue.

My question is: what processing loop is responsible for transferring
packets from the ethernet device to the rx_queue?

I ask this because we have written our own application based on l2fwd and
no packets are being returned by our app's call to
*rte_eth_rx_burst(). *However,
packets are returned in the case of l2fwd. I'm trying to identify the
difference between the non-working and working code.

Best regards

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 11:28 David Aldrich [this message]
2020-06-24 11:54 ` Van Haaren, Harry

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJK_ieh4dPQGgW2E_U4iGOGOYnK6wM+5bWWUscjSAhMddcNuvA@mail.gmail.com \
    --to=david.aldrich.ntml@gmail.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/users \
	public-inbox-index users

Newsgroup available over NNTP:

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