DPDK patches and discussions
 help / color / mirror / Atom feed
From: Malveeka Tewari <malveeka@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] rte_pmd_init_all() with DPDK 1.7.0
Date: Fri, 5 Dec 2014 11:30:41 -0800	[thread overview]
Message-ID: <CAFpzwwMJxmjMjeRdPGss46TPejPD9aKOqNZrgf21tZrfrWL93w@mail.gmail.com> (raw)

Hi all

I have a very basic DPDK app that runs in two modes: sender and sniffer.

In the sender mode, the app just reads data from a shared memory buffer and
sends packets out on a port using rte_eth_tx_burst.
In the sniffer mode, the app polls for incoming packets on a port using
rte_eth_rx_burst and writes them to a shared memory buffer.

I was using DPDK-1.6.0 initially and everything worked fine. However, I
recently upgraded to DPDK 1.7.0.For that, I had to comment out the
rte_pmd_init_all() method for the app to compile successfully.
Now, the sender mode still works fine, but in the sniffer mode, the app is
not able to receive any packet.

Am I missing any step in moving from DPDK 1.6.0 to DPDK 1.7.0?
Is there a way to debug why the app is not receiving packets with the DPDK
1.7.0 library?

Thanks!
Malveeka

             reply	other threads:[~2014-12-05 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 19:30 Malveeka Tewari [this message]
2014-12-05 19:49 ` Neil Horman

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=CAFpzwwMJxmjMjeRdPGss46TPejPD9aKOqNZrgf21tZrfrWL93w@mail.gmail.com \
    --to=malveeka@gmail.com \
    --cc=dev@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).