Problem using dpdk-devbind.py

Hello
I want to use DPDK on the SFP+ ports of the LX2160 board.
I am trying to bind the 10Gbps SFP+ ports to a VFIO kernel driver (cf. DPDK doc).

Here are the steps I use.

  1. I add dpmac.7 to dprc.1 using this command: ls-addni dpmac.7.
    ip a now shows eth1 and the output of ls-listni contains dprc.1/dpni.1 (interface: eth1, end point: dpmac.7)
  2. I load the vfio-pci driver: modprobe vfio-pci.
  3. I however have some problems with the next steps that uses dpdk-devbind.py.

dpdk-devbind.py -h says that possible syntax is:

  • dpdk-devbind.py --bind=vfio-pci eth1
  • dpdk-devbind.py -b ixgbe 02:00.0 02:00.1

dpdk-devbind.py --bind=vfio-pci eth1 however yields:
ValueError: Unknown device: eth1. Please specify device in "bus:slot.func" format

The output of lspci is:

  • 0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)
  • 0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)

I thus cannot find any interface identifier in the “bus:slot.func” format for the SFP+ ports.

Am I supposed to use Linux kernel interface names (e.g. ethX)? Or provide something in the “bus:slot.func” format?
In the second case, how can I obtain an interface identifier in the “bus:slot.func” format?

Thank you for your time.

The networking complex on the LX2160a is not PCIe but has its own bus type. I recommend downloading the DPAA2 manual from NXP’s website, but a short description can be found in the Linux kernel module documentation. vfio/fsl-mc: VFIO support for FSL-MC devices [LWN.net]

Thank you very much for this information.