<div dir="ltr">Using AWS I have,<br><br>* c5n.metal instance<br>* running 64-bit x86 Amazon Linux 2 AMI (HVM) - Kernel 5.10 (<span style="color:rgb(68,68,68);font-family:"Helvetica Neue",Roboto,Arial,sans-serif;font-size:15px">ami-0ed9277fb7eb570c9)<br></span><div><span style="color:rgb(68,68,68);font-family:"Helvetica Neue",Roboto,Arial,sans-serif;font-size:15px">* DPDK </span>22.03-rc0</div><div>* I've installed the ena kernel fix in <a href="https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/enav2-vfio-patch">https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/enav2-vfio-patch</a><br><br></div><div>I add a second NIC to the instance in the normal way. <br><br>This second NIC starts UP. So I bring the NIC down and bind it:<br><br>* lspci | grep Eth<br>7e:00.0 Ethernet controller: Amazon.com, Inc. Elastic Network Adapter (ENA)<br>7f:00.0 Ethernet controller: Amazon.com, Inc. Elastic Network Adapter (ENA)<br><br>* sudo ip link set eth1 down<br><br>Then I bind:<br><br>* sudo ./dpdk-devbind.py -b vfio-pci 7f:00.0<br>Error: bind failed for 0000:7f:00.0 - Cannot bind to driver vfio-pci: [Errno 19] No such device<br><br>The error seems to arise from when attempting to close the file descriptor on /sys/bus/pci/drivers/vfio-pci/bind<br><br>dpdk-devbind.py never shows the device bound to vfio:<br><br>* sudo ./dpdk-devbind.py -s<br><br>Other Network devices</div>=====================<br>0000:7f:00.0 'Elastic Network Adapter (ENA) ec20' unused=ena,vfio-pci<br>
</div>