[ovs-discuss] Error attaching device to DPDK

Darrell Ball dball at vmware.com
Tue Mar 28 03:34:54 UTC 2017


see inline below

But a few questions:

1)       Are you using the recommended version of dpdk with OVS 2.7 – 16.11 ?

2)       Are you getting a crash still or is this post crash ?

3)       Was the previous crash still happening with 16.11 or only 17.02 ?

Thanks
Darrell

From: <ovs-discuss-bounces at openvswitch.org> on behalf of Shivaram Mysore <shivaram.mysore at gmail.com>
Date: Monday, March 27, 2017 at 7:45 PM
To: "ovs-discuss at openvswitch.org" <ovs-discuss at openvswitch.org>
Subject: [ovs-discuss] Error attaching device to DPDK

Hello,

I have installed OVS 2.7 running.  When I do:
1.  # ovs-vsctl add-port ovs-ip64-br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk options:dpdk-devargs=0000:82:00.0
2.  ovs-vsctl: Error detected while setting up 'dpdk-p0': Error attaching device '0000:82:00.0' to DPDK.  See ovs-vswitchd log for details.

Possibly, the port is not bound.
Check using
$DPDK_DIR/tools/dpdk-devbind.py –status
and see the documentation for more detail

and the log file shows:
1.  2017-03-28T02:04:40.004Z|00064|netdev_dpdk|WARN|Error attaching device '0000:82:00.0' to DPDK
2.  2017-03-28T02:04:40.004Z|00065|netdev|WARN|dpdk-p0: could not set configuration (Invalid argument)

What would cause such a situation?

Commands run: https://pastebin.com/0P754x0t<https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_0P754x0t&d=DwMFaQ&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=spZCZ7BnBbu-PD803qcYLxegZkc9PwBLFH3QQ1XxWu0&s=uYWBSaIFlY3aKKwC7PAszDPMtB9xS3zjpwJo8afntY8&e=>
Detailed OVS Log: https://pastebin.com/ctBhLuRG<https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_ctBhLuRG&d=DwMFaQ&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=spZCZ7BnBbu-PD803qcYLxegZkc9PwBLFH3QQ1XxWu0&s=PC90IYBZb113gFPdzbbIa2gBRr3H8VIpr9ow0jhi-pk&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170328/26798491/attachment-0001.html>


More information about the discuss mailing list