From: Adrien Mazarguil <adrien.mazarguil-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Raghav Sethi <raghavs-Mr68eyIdVKO79RPNQ/giaA@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: Testpmd with Mellanox ConnectX-3
Date: Thu, 2 Apr 2015 14:24:05 +0200 [thread overview]
Message-ID: <20150402122405.GV32147@6wind.com> (raw)
In-Reply-To: <CAC2O_6q6LaOT4hEv3a08q--4bvXmr6rzeEBfnGMcWYCkf3CLxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi,
On Wed, Apr 01, 2015 at 08:18:30PM +0000, Raghav Sethi wrote:
> Hi folks,
>
> Hopefully this is the right place to ask questions. I'm trying to run
> testpmd (and then develop my own applications) with DPDK 1.8 and the
> Mellanox ConnectX-3. The setup script/quickstart/Getting Started guide
> don't have too much information about what to do if you have a
> Mellanox. I've installed libibverbs and libmlx4 system-wide. This is the
> closest I found to a guide for the Mellanox:
> https://dpdk.readthedocs.org/en/stable/prog_guide/mlx4_poll_mode_drv.html .
> When I run testpmd as described by this article, I get "Cause: No probed
> ethernet device".
First, the ConnectX-3 (mlx4) driver is not included in DPDK 1.8, the
documentation you refer to is from a DPDK 2.0 release candidate.
DPDK 2.0 will support it.
> Here are my questions:
> 1. Is this how I should set the PMD flag for DPDK? "make install T=<arch>
> CONFIG_RTE_LIBRTE_MLX4_PMD=y"
No, see below.
> 2. If not, how should I do it?
You should either create a specific configuration file in configs/ with that
option and use make config T=<whatever>, or update your .config file after
you've run make config T=<arch>.
> 3. Does using the Mellanox mean that I shouldn't use igb_uio at all?
Indeed. Loading it is harmless though.
> 4. Do I need to bind the Mellanox to mlx4_core before using testpmd?
The kernel module (mlx4_core) must remain bound to its devices, the PMD
relies on it.
> I would be happy to contribute to the help page with end-to-end
> instructions for using the Mellanox with testpmd.
I've just submitted a patch to provide more details about the installation
process, you should have a look.
--
Adrien Mazarguil
6WIND
prev parent reply other threads:[~2015-04-02 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 20:18 Testpmd with Mellanox ConnectX-3 Raghav Sethi
[not found] ` <CAC2O_6q6LaOT4hEv3a08q--4bvXmr6rzeEBfnGMcWYCkf3CLxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-02 12:24 ` Adrien Mazarguil [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=20150402122405.GV32147@6wind.com \
--to=adrien.mazarguil-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=raghavs-Mr68eyIdVKO79RPNQ/giaA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.