From: fwefew 4t4tg <7532yahoo@gmail.com>
To: users@dpdk.org
Subject: dpdk-devbind.py fail on AWS c5n.metal instance running 'Amazon Linux 2 Kernel 5.10'
Date: Fri, 17 Dec 2021 13:48:53 -0500 [thread overview]
Message-ID: <CA+Tq66WSpUjs9NnUXieRr+WO_NY2_EnGf02hVvxqdH=fvQZr7g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
Using AWS I have,
* c5n.metal instance
* running 64-bit x86 Amazon Linux 2 AMI (HVM) - Kernel 5.10 (
ami-0ed9277fb7eb570c9)
* DPDK 22.03-rc0
* I've installed the ena kernel fix in
https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/enav2-vfio-patch
I add a second NIC to the instance in the normal way.
This second NIC starts UP. So I bring the NIC down and bind it:
* lspci | grep Eth
7e:00.0 Ethernet controller: Amazon.com, Inc. Elastic Network Adapter (ENA)
7f:00.0 Ethernet controller: Amazon.com, Inc. Elastic Network Adapter (ENA)
* sudo ip link set eth1 down
Then I bind:
* sudo ./dpdk-devbind.py -b vfio-pci 7f:00.0
Error: bind failed for 0000:7f:00.0 - Cannot bind to driver vfio-pci:
[Errno 19] No such device
The error seems to arise from when attempting to close the file descriptor
on /sys/bus/pci/drivers/vfio-pci/bind
dpdk-devbind.py never shows the device bound to vfio:
* sudo ./dpdk-devbind.py -s
Other Network devices
=====================
0000:7f:00.0 'Elastic Network Adapter (ENA) ec20' unused=ena,vfio-pci
[-- Attachment #2: Type: text/html, Size: 1557 bytes --]
reply other threads:[~2021-12-17 18:49 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+Tq66WSpUjs9NnUXieRr+WO_NY2_EnGf02hVvxqdH=fvQZr7g@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).