DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] AWS i3.metal and IOMMU
@ 2021-10-27  0:55 fwefew 4t4tg
  2021-10-27  6:46 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: fwefew 4t4tg @ 2021-10-27  0:55 UTC (permalink / raw)
  To: dev

As per https://doc.dpdk.org/guides/nics/ena.html section 17.9
enabling IOMMU on an AWS i3 metal instance is as simple as adding "iommu=1
intel_iommu=on" to /etc/default/grub, update-grub, and reboot.

I can't get this to work. Once done, I cannot ssh back into the instance;
EC2 console can't get good status checks. It has to be terminated. My
config:

* Ubuntu 20.04 LTS x86 64-bit stock AWS AMI
* i3.metal (spot)

But more importantly: if one has provisioned a i3.metal instance, why
enable IOMMU at all? Can't one just run vfio-pci in
enable_unsafe_noiommu_mode?

Even if IOMMU runs in enable_unsafe_noiommu_mode, I'd like to reconfirm the
steps to make DPDK work on an AWS i3.metal instance. My steps are:

* git clone https://github.com/amzn/amzn-drivers.git
* git clone git://dpdk.org/dpdk and checkout tag 'v19.11-rc4'
* in dpdk git am in the patches from amzn-drivers 19.11 userspace dir
* build dpdk with:  make install T=x86_64-native-linuxapp-gcc
DESTDIR=/home/ubuntu/local
* then follow the instructions at
https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/enav2-vfio-patch
to build and install an updated vfio kernel module

Is that complete and correct?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-27  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  0:55 [dpdk-dev] AWS i3.metal and IOMMU fwefew 4t4tg
2021-10-27  6:46 ` David Marchand

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).