From ad0eeb83ea593215bed8a4bd706438c157234210 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 17 Jun 2022 07:40:03 +0200 Subject: [PATCH] vhost: fix log message for async dequeue Since the commit 02798b073520 ("vhost: improve virtio-net layer logs"), vhost logs contain the socket path as a prefix. Async dequeue path was copied from the sync dequeue path but a log was incorrect. Fixes: 84d5204310d7 ("vhost: support async dequeue for split ring") Signed-off-by: David Marchand Reviewed-by: Maxime Coquelin --- lib/vhost/virtio_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/virtio_net.c b/lib/vhost/virtio_net.c index 4a054a29bb..f7ced96cbf 100644 --- a/lib/vhost/virtio_net.c +++ b/lib/vhost/virtio_net.c @@ -3787,7 +3787,7 @@ rte_vhost_async_try_dequeue_burst(int vid, uint16_t queue_id, rarp_mbuf = rte_net_make_rarp_packet(mbuf_pool, &dev->mac); if (rarp_mbuf == NULL) { - VHOST_LOG_DATA(ERR, "Failed to make RARP packet.\n"); + VHOST_LOG_DATA(ERR, "(%s) failed to make RARP packet.\n", dev->ifname); count = 0; goto out; } -- 2.39.5