DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  unable to bind to vfio-pci
@ 2020-09-17  6:52 Sarosh Arif
  2020-09-17  7:31 ` Dybkowski, AdamX
  2020-09-17  9:17 ` Bruce Richardson
  0 siblings, 2 replies; 12+ messages in thread
From: Sarosh Arif @ 2020-09-17  6:52 UTC (permalink / raw)
  To: dev

I have been trying to bind to vfio-pci using usertools/dpdk-devbind.py
but am unable to do so. The reason behind this is that I am unable to
write in /sys/bus/pci/drivers/vfio-pci/bind. Upon searching solutions
I tried a couple of things such as setting iommu=pt and intel_iommu=on
and ensured vt-d is enabled.
Along with this I have made sure that the vfio-pci module is correctly
loaded. I have also tried

chmod 666 /sys/bus/pci/drivers/vfio-pci/bind

So that I have permissions to write in this file.

The error I get when I use usertools/dpdk-devbind.py to bind is this:
Error: bind failed for 0000:b7:00.1 - Cannot bind to driver vfio-pci

The details of 0000:b7:00.1 are as follows:
Ethernet Connection X722 for 10GBASE-T 37d2' if=eno6 drv=i40e

I have also unbinded The pci bridge to which 0000:b7:00.1 was connected.

What more can be done to resolve this?

Sarosh Arif

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

end of thread, other threads:[~2020-09-21 11:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  6:52 [dpdk-dev] unable to bind to vfio-pci Sarosh Arif
2020-09-17  7:31 ` Dybkowski, AdamX
2020-09-17  8:39   ` Sarosh Arif
2020-09-17  9:17 ` Bruce Richardson
2020-09-17  9:21   ` Sarosh Arif
2020-09-17  9:35     ` Burakov, Anatoly
2020-09-21 11:54       ` Sarosh Arif
2020-09-21 11:58         ` Burakov, Anatoly
2020-09-17 10:22     ` Bruce Richardson
2020-09-17 11:49       ` Burakov, Anatoly
2020-09-21 11:10         ` Sarosh Arif
2020-09-21 11:36           ` Burakov, Anatoly

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/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 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git