DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: sothy shan <sothy.e98@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] rte_eth_dev_configure
Date: Thu, 24 Jul 2014 14:44:09 +0200	[thread overview]
Message-ID: <7583940.5R3m6hi2Eh@xps13> (raw)
In-Reply-To: <CAHcF_0brn7OPhvWdb5JDuckkFPk65qhR-r2Kr6uJ9QORtCptNg@mail.gmail.com>

Hello,

2014-07-24 14:34, sothy shan:
> I am trying to use DPDK  ovs (development branch) with DPDK1.7.

Could you try with testpmd?

> Cannot initi NIC port 0 (-22).
> 
> Based on my search within code, rte_eth_dev_configure gives an error with
> code -22.

Which driver are you using?

> My question is that how to debug or print the PMD_DEBUG_TRACE into file or
> terminal when running ovs-dpdk?

The default is to print on stdout.

> Second, any clue why rte_eth_dev_configure give an error with code -22?

It depends of your driver.
Example: #define IXGBE_ERR_NO_SAN_ADDR_PTR -22

-- 
Thomas

  reply	other threads:[~2014-07-24 12:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 12:34 sothy shan
2014-07-24 12:44 ` Thomas Monjalon [this message]
2014-07-24 12:51   ` Thomas Monjalon
2014-07-24 13:00     ` sothy shan
2014-07-24 13:05       ` Thomas Monjalon
2014-07-24 14:15         ` sothy shan

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=7583940.5R3m6hi2Eh@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=sothy.e98@gmail.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).