[ovs-discuss] error: "Error attaching device '0000:83:00.0' to DPDK"

Kavanagh, Mark B mark.b.kavanagh at intel.com
Thu Jul 13 13:22:23 UTC 2017


>From: ovs-discuss-bounces at openvswitch.org [mailto:ovs-discuss-
>bounces at openvswitch.org] On Behalf Of Loftus, Ciara
>Sent: Thursday, July 13, 2017 10:32 AM
>To: lvzhilong at ncic.ac.cn
>Cc: ovs-discuss <ovs-discuss at openvswitch.org>
>Subject: Re: [ovs-discuss] error: "Error attaching device '0000:83:00.0' to
>DPDK"
>
>Does it work when you use the uio_pci_generic driver?

Also, what version of DPDK are you using?

Do you encounter this issue with OvS v2.7.1 and DPDK v16.11.2?

Cheers,
Mark


>
>Thanks,
>Ciara
>
>From: lvzhilong at ncic.ac.cn [mailto:lvzhilong at ncic.ac.cn]
>Sent: Thursday, July 13, 2017 2:50 AM
>To: Loftus, Ciara <ciara.loftus at intel.com>
>Cc: ovs-discuss <ovs-discuss at openvswitch.org>
>Subject: Re: RE: [ovs-discuss] error: "Error attaching device '0000:83:00.0'
>to DPDK"
>
>
>  sorry, it is a obvious mistake in writing. and after I corrected it, this
>cmdline didn't work.
>
># ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk
>options:dpdk-devargs=0000:83:00.0
>ovs-vsctl: Error detected while setting up 'dpdk-p0': Error attaching
>device '0000:83:00.0' to DPDK.  See ovs-vswitchd log for details.
>
>    I wonder whether there is other similar issue? and how to solve?
>
>
>    I think you are adding the wrong device (::82). Try adding (::83).
>
>Thanks,
>Ciara
>
>
>
>Hello,
>I have installed OVS 2.7 running.  When I do:
># ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0
>type=dpdk options:dpdk-devargs=0000:82:00.0
>ovs-vsctl: Error detected while setting up 'dpdk-p0': Error attaching
>device '0000:82:00.0' to DPDK.  See ovs-vswitchd log for details.
>
>here is some informations:
>1.    root at oncsg4:/var/log/openvswitch# $DPDK_DIR/tools/dpdk-devbind.py --
>status
>
>Network devices using DPDK-compatible driver
>============================================
>0000:83:00.0 'Ethernet 10G 2P X710 Adapter' drv=vfio-
>pci unused=uio_pci_generic
>0000:83:00.1 'Ethernet 10G 2P X710 Adapter' drv=uio_pci_generic unused=vfio-
>pci
>
>
>2. the log file shows:
>      (1).    2017-07-07T10:04:40.004Z|00064|netdev_dpdk|WARN|Error attaching
>device '0000:82:00.0' to DPDK
>      (2).    2017-07-07T10:04:40.004Z|00065|netdev|WARN|dpdk-p0: could
>not set configuration (Invalid argument)
>
>________________________________________
>lvzhilong at ncic.ac.cn
>



More information about the discuss mailing list