DPDK usage discussions
 help / color / mirror / Atom feed
From: Gerry Wan <gerryw@stanford.edu>
To: users@dpdk.org
Subject: [dpdk-users] Enable MLX5 driver v20.11
Date: Sat, 12 Dec 2020 15:22:09 -0800
Message-ID: <CAAcwi38fEK-JS2OQy6MLVgBp7tP7W5SjPGqs9RbymK+OzUP5qQ@mail.gmail.com> (raw)

Hello,
I am trying to update my DPDK version from 20.08 to 20.11. I am using the
mlx5 driver, and previously to enable it I had to set
CONFIG_RTE_LIBRTE_MLX5_PMD=y in config/common_base. In 20.11, I see no
option to do so. I was able to build my application (and the sample
applications), but running rte_eth_dev_count_avail() returns 0 and cannot
find any ports.

The steps I did to build DPDK from source were:

$ meson build

$ cd build

$ sudo ninja install

$ sudo ldconfig


Normally I would edit dpdk-20.xx/config/common_base before meson build, but
that file is gone.

What are the steps I need to take to enable mlx5 driver? I also recall that
I don't need to bind the mlx5 driver, is that still the case?

Thanks

             reply	other threads:[~2020-12-12 23:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12 23:22 Gerry Wan [this message]
2020-12-13  8:35 ` Raslan Darawsheh
2020-12-13 11:25   ` Gerry Wan
2020-12-13 11:31     ` Raslan Darawsheh
2020-12-13 21:04       ` Gerry Wan
2020-12-14  5:32         ` Gerry Wan
2020-12-14  8:27           ` Raslan Darawsheh
2020-12-14  8:40             ` Raslan Darawsheh

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=CAAcwi38fEK-JS2OQy6MLVgBp7tP7W5SjPGqs9RbymK+OzUP5qQ@mail.gmail.com \
    --to=gerryw@stanford.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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git