DPDK usage discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Rohan Gandhi <rohangandhigen@gmail.com>
Cc: users@dpdk.org, ophirmu@mellanox.com
Subject: Re: [dpdk-users] Using Mellanox ConnectX-3 for DPDK
Date: Tue, 06 Feb 2018 00:08:10 +0100	[thread overview]
Message-ID: <12368344.hZFpxdNRUn@xps> (raw)
In-Reply-To: <CAG+J4UXxyxAurpcM1oU_rMVbKOvO2o0EX_fqO1+3R3r0NpJScg@mail.gmail.com>

Hi,

06/02/2018 00:01, Rohan Gandhi:
> Hello All,
> 
> 1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server
> (Ubuntu 16.04 kernel 4.13.0-32-generic).
> 
> 2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox
> interface is dpdk compatible.
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:01:00.0 'MT27520 Family [ConnectX-3 Pro] 1007' drv=vfio-pci unused=igb_uio

Mellanox drivers do not use neither UIO nor VFIO.


> 3) When I try to use Moongen to use this interface, it returned an
> error that it cannot detect the device.
> 
> [INFO]  Found 0 usable devices:
> [FATAL] Lua error in task master
> ...ace/dpdk/moongen/MoonGen/build/../libmoon/lua/device.lua:100: there
> are only 0 ports, tried to configure port id 1
> 
> 
> The same setup works with my other Intel NIC. I am not sure what I am
> doing wrong. Can you please help?

Please read the documentation:
	http://dpdk.org/doc/guides/nics/mlx4.html#usage-example

      parent reply	other threads:[~2018-02-05 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 23:01 Rohan Gandhi
2018-02-05 23:07 ` Olga Shern
2018-02-05 23:08 ` Thomas Monjalon [this message]

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=12368344.hZFpxdNRUn@xps \
    --to=thomas@monjalon.net \
    --cc=ophirmu@mellanox.com \
    --cc=rohangandhigen@gmail.com \
    --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).