vhost: change log levels in client mode
authorIlya Maximets <i.maximets@samsung.com>
Thu, 2 Mar 2017 09:39:34 +0000 (12:39 +0300)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 06:58:54 +0000 (08:58 +0200)
commit29b851e8de6d27150651723e74d8d2339825808c
tree88c8fee59f20102822bcae37daaca327be85afeb
parent76a1df4d0de019c530b09e1bee329565915065f3
vhost: change log levels in client mode

Inability to connect to socket is a normal situation
in client mode because, in common case, server isn't
started yet. RTE_LOG_WARNING should be suitable for
the case of some unusual errors.
Message about reconnection is not an error at all.

Fixes: e623e0c6d8a5 ("vhost: add reconnect ability")
Cc: stable@dpdk.org
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/socket.c