From: fwefew 4t4tg <7532yahoo@gmail.com>
To: users@dpdk.org
Subject: solved: dpdk-devbind.py fail on AWS c5n.metal instance running 'Amazon Linux 2 Kernel 5.10
Date: Fri, 17 Dec 2021 18:13:35 -0500 [thread overview]
Message-ID: <CA+Tq66W8ysM9zhW7VEN55bZX7wziL209x3SVvd8Cpy3xh2Rxfw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
An earlier email sent today to this distribution incorrectly claimed
that dpdk-devbind.py was not working on Amazon Linux 2 Kernel 5.10.
This was my error. IOMMU was not turned on. I thought it default ON; it
does not even for c5n.metal instances.
The correct steps are:
* follow https://doc.dpdk.org/guides/nics/ena.html under "On AWS, the metal
instances are supporting IOMMU for both arm64 and x86_64 hosts" to
enable IOMMU by modifying grub boot file.
* follow instructions at
https://github.com/amzn/amzn-drivers/blob/master/userspace/dpdk/README.md
to update the vfio-pci driver.
dpdk-bind will then work:
Network devices using DPDK-compatible driver
============================================
0000:7f:00.0 'Elastic Network Adapter (ENA) ec20' drv=vfio-pci unused=ena
[-- Attachment #2: Type: text/html, Size: 1954 bytes --]
reply other threads:[~2021-12-17 23:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CA+Tq66W8ysM9zhW7VEN55bZX7wziL209x3SVvd8Cpy3xh2Rxfw@mail.gmail.com \
--to=7532yahoo@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).