Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/112953/?format=api
https://patches.dpdk.org/api/patches/112953/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220617054003.1291251-1-david.marchand@redhat.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220617054003.1291251-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220617054003.1291251-1-david.marchand@redhat.com", "date": "2022-06-17T05:40:03", "name": "vhost: fix log for async dequeue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "39c50176718ef0240f36785c0e13419eec143926", "submitter": { "id": 1173, "url": "https://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220617054003.1291251-1-david.marchand@redhat.com/mbox/", "series": [ { "id": 23596, "url": "https://patches.dpdk.org/api/series/23596/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23596", "date": "2022-06-17T05:40:03", "name": "vhost: fix log for async dequeue", "version": 1, "mbox": "https://patches.dpdk.org/series/23596/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/112953/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/112953/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 65004A0093;\n\tFri, 17 Jun 2022 07:40:19 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4095140698;\n\tFri, 17 Jun 2022 07:40:19 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id F300740689\n for <dev@dpdk.org>; Fri, 17 Jun 2022 07:40:16 +0200 (CEST)", "from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com\n [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-639-hz_DcrrLO56Lmbci1BupEg-1; Fri, 17 Jun 2022 01:40:07 -0400", "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com\n [10.11.54.5])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 89F0E3802B86;\n Fri, 17 Jun 2022 05:40:07 +0000 (UTC)", "from fchome.redhat.com (unknown [10.40.193.132])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 823EC18EAB;\n Fri, 17 Jun 2022 05:40:05 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1655444416;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=KN+D/0lHNB+/ekCawnXWOfsxKFvNLzTV8SqG1Ivz9FU=;\n b=eXYPX1ByG778OgUP2+S9Os4MQ3jBak8gEyYbHdgC5Ujs+scrUttT07HDcy6i9iHkOHWSvl\n 5f7ogCRZbQ1Uo1QyfV7mtI4HFdsCfOYKMlCc+gW+zKGTt8J02uqUYHo5I9lRN8emnitH3W\n A7jVAeGu5JF5irMJUaJkprr8pmomF+U=", "X-MC-Unique": "hz_DcrrLO56Lmbci1BupEg-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>, Yuan Wang <yuanx.wang@intel.com>,\n Xuan Ding <xuan.ding@intel.com>", "Subject": "[PATCH] vhost: fix log for async dequeue", "Date": "Fri, 17 Jun 2022 07:40:03 +0200", "Message-Id": "<20220617054003.1291251-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.11.54.5", "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Since the commit 02798b073520 (\"vhost: improve virtio-net layer logs\"),\nvhost logs contain the socket path as a prefix.\nAsync dequeue path was copied from the sync dequeue path but a log\nwas incorrect.\n\nFixes: 84d5204310d7 (\"vhost: support async dequeue for split ring\")\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/vhost/virtio_net.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/vhost/virtio_net.c b/lib/vhost/virtio_net.c\nindex 68a26eb17d..bedd406b37 100644\n--- a/lib/vhost/virtio_net.c\n+++ b/lib/vhost/virtio_net.c\n@@ -3529,7 +3529,7 @@ rte_vhost_async_try_dequeue_burst(int vid, uint16_t queue_id,\n \n \t\trarp_mbuf = rte_net_make_rarp_packet(mbuf_pool, &dev->mac);\n \t\tif (rarp_mbuf == NULL) {\n-\t\t\tVHOST_LOG_DATA(ERR, \"Failed to make RARP packet.\\n\");\n+\t\t\tVHOST_LOG_DATA(ERR, \"(%s) failed to make RARP packet.\\n\", dev->ifname);\n \t\t\tcount = 0;\n \t\t\tgoto out;\n \t\t}\n", "prefixes": [] }{ "id": 112953, "url": "