DPDK usage discussions
 help / color / mirror / Atom feed
From: Pragash Vijayaragavan <pxv3620@rit.edu>
To: "Hristo.Trifonov" <Hristo.Trifonov@ul.ie>
Cc: "users@dpdk.org" <users@dpdk.org>, Minseok Kwon <mxkvcs@rit.edu>
Subject: Re: [dpdk-users] port 0 not present on board error
Date: Fri, 8 Dec 2017 15:22:12 -0500	[thread overview]
Message-ID: <CANp7S20CiToyQad=hzNkWKJ2nWc1pYy_t7K7eF_7VMPXOf21GQ@mail.gmail.com> (raw)
In-Reply-To: <E6A390FF2129134EB58BFFFFDFFB5A844DFF121D@ExMbx1.ul.campus>

Hi ,

I have attached 2 ports to dpdk, and i tried -p 0x3 as well.

I have noticed that the ports are not showing the "Active" status, is that
an issue?

Below is the output from dpdk-status

pragash@revvit:~/dpdk-stable-17.05.2/usertools$ dpdk-devbind --status

Network devices using DPDK-compatible driver
============================================
0000:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583'
drv=uio_pci_generic unused=
0000:04:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583'
drv=uio_pci_generic unused=

Network devices using kernel driver
===================================
0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth12
drv=i40e unused=uio_pci_generic
0000:04:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth10
drv=i40e unused=uio_pci_generic
0000:08:00.0 'I350 Gigabit Network Connection 1521' if=eth0 drv=igb
unused=uio_pci_generic *Active*
0000:08:00.1 'I350 Gigabit Network Connection 1521' if=eth2 drv=igb
unused=uio_pci_generic


Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620@rit.edu
ph : 585 764 4662


On Fri, Dec 8, 2017 at 7:11 AM, Hristo.Trifonov <Hristo.Trifonov@ul.ie>
wrote:

> Hi Pragash,
>
> How many ports are assigned to dpdk?
> Why is there only 1 port in the portmask (-p 0x1)?
>
> Dpdk would typically use pair(s) of ports.
> First port(0x1) in the portmask(0x3) is usually ingress traffic and the
> second port(0x2) of the pair is the egress traffic.
> Try with -p 0x3 portmask but make sure you have at least 2 ports already
> assigned for use with a dpdk app.
> If you have more than 2 ports adjust the portmask hex number to reflect
> the situation.
>
> Hristo T.
>

  reply	other threads:[~2017-12-08 20:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 12:11 Hristo.Trifonov
2017-12-08 20:22 ` Pragash Vijayaragavan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-12 14:02 Hristo.Trifonov
2017-12-12 14:13 ` Pragash Vijayaragavan
2017-12-12 12:47 Hristo.Trifonov
2017-12-12 13:33 ` Pragash Vijayaragavan
2017-12-12 10:54 Hristo.Trifonov
2017-12-12 12:21 ` Pragash Vijayaragavan
2017-12-11 11:21 Hristo.Trifonov
2017-12-11 21:24 ` Pragash Vijayaragavan
2017-12-12  6:17   ` Pragash Vijayaragavan
2017-12-12  7:17   ` Stephen Hemminger
2017-12-08  4:01 Pragash Vijayaragavan
2017-12-08  4:18 ` Dave Boutcher
2017-12-08  4:21   ` Pragash Vijayaragavan

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='CANp7S20CiToyQad=hzNkWKJ2nWc1pYy_t7K7eF_7VMPXOf21GQ@mail.gmail.com' \
    --to=pxv3620@rit.edu \
    --cc=Hristo.Trifonov@ul.ie \
    --cc=mxkvcs@rit.edu \
    --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).