DPDK usage discussions
 help / color / mirror / Atom feed
* solved: dpdk-devbind.py fail on AWS c5n.metal instance running 'Amazon Linux 2 Kernel 5.10
@ 2021-12-17 23:13 fwefew 4t4tg
  0 siblings, 0 replies; only message in thread
From: fwefew 4t4tg @ 2021-12-17 23:13 UTC (permalink / raw)
  To: users

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-17 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 23:13 solved: dpdk-devbind.py fail on AWS c5n.metal instance running 'Amazon Linux 2 Kernel 5.10 fwefew 4t4tg

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://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/ http://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