summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2016-09-23 16:17:57 +0300
committerDaniele Di Proietto <diproiettod@vmware.com>2016-09-23 13:27:21 -0700
commit41964543790de3dbbef31ba7d146d798f6037dcf (patch)
treebdd21980309809864c79079b4309f8abc71d7cec /lib
parent6881885a3b04f08ee7809bf22c9ba22f680ef1d1 (diff)
downloadopenvswitch-41964543790de3dbbef31ba7d146d798f6037dcf.tar.gz
netdev-dpdk: More correct log message on vhost_driver_unregister failure.
Current error message incorrect for the client mode. Fixes: c1ff66ac80b5 ("netdev-dpdk: vHost client mode and reconnect") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/netdev-dpdk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index ec43a0837..cd7aaefce 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -1024,7 +1024,8 @@ netdev_dpdk_vhost_destruct(struct netdev *netdev)
ovs_mutex_unlock(&dpdk_mutex);
if (dpdk_vhost_driver_unregister(dev, vhost_id)) {
- VLOG_ERR("Unable to remove vhost-user socket %s", vhost_id);
+ VLOG_ERR("%s: Unable to unregister vhost driver for socket '%s'.\n",
+ netdev->name, vhost_id);
} else if (!(dev->vhost_driver_flags & RTE_VHOST_USER_CLIENT)) {
/* OVS server mode - remove this socket from list for deletion */
fatal_signal_remove_file_to_unlink(vhost_id);