get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2220550/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2220550,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2220550/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/d2fa3909e90d356f80d2fa6dbdc3e712ac66eb7f.1775568640.git.tredaelli@redhat.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs"
    },
    "msgid": "<d2fa3909e90d356f80d2fa6dbdc3e712ac66eb7f.1775568640.git.tredaelli@redhat.com>",
    "date": "2026-04-07T13:34:32",
    "name": "[ovs-dev,v2,4/5] dpif-netdev: Add JSON output to pmd-stats-show.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "cde35fc0191066f40275424baa6b21001ec417ff",
    "submitter": {
        "id": 70949,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/70949/?format=api",
        "name": "Timothy Redaelli",
        "email": "tredaelli@redhat.com"
    },
    "delegate": {
        "id": 75123,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/75123/?format=api",
        "username": "echaudron",
        "first_name": "Eelco",
        "last_name": "Chaudron",
        "email": "echaudro@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/d2fa3909e90d356f80d2fa6dbdc3e712ac66eb7f.1775568640.git.tredaelli@redhat.com/mbox/",
    "series": [
        {
            "id": 498985,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/498985/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=498985",
            "date": "2026-04-07T13:34:24",
            "name": "Add JSON output to several ovs-appctl commands",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/498985/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2220550/comments/",
    "check": "fail",
    "checks": "http://patchwork.ozlabs.org/api/patches/2220550/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=HIy1vZql;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp1.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=HIy1vZql",
            "smtp3.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "smtp3.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=HIy1vZql"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fqnK40BCKz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 23:36:07 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id E3010811A3;\n\tTue,  7 Apr 2026 13:36:05 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id CM2Yz9aIFLcW; Tue,  7 Apr 2026 13:36:04 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp1.osuosl.org (Postfix) with ESMTPS id C8C178116C;\n\tTue,  7 Apr 2026 13:36:04 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id A89D8C04FB;\n\tTue,  7 Apr 2026 13:36:04 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id B528FC04FA\n for <dev@openvswitch.org>; Tue,  7 Apr 2026 13:36:03 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 543EA60D6A\n for <dev@openvswitch.org>; Tue,  7 Apr 2026 13:35:47 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id tqPm3a7kxLL7 for <dev@openvswitch.org>;\n Tue,  7 Apr 2026 13:35:46 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 2EAC760D68\n for <dev@openvswitch.org>; Tue,  7 Apr 2026 13:35:45 +0000 (UTC)",
            "from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-pA8nIifNNm-KqO5RN3yTHg-1; Tue,\n 07 Apr 2026 09:35:41 -0400",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id E469B195609E; Tue,  7 Apr 2026 13:35:37 +0000 (UTC)",
            "from aldebaran.char-dominant.ts.net (unknown [10.44.34.48])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 7EF4719560A6; Tue,  7 Apr 2026 13:35:36 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org C8C178116C",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2EAC760D68"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=tredaelli@redhat.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 2EAC760D68",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775568945;\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 in-reply-to:in-reply-to:references:references;\n bh=khNl9SGoy5RVn3wjYm6IQYprF2iG5E+hLgVFqDGcNnA=;\n b=HIy1vZqlQFUoduxwq6e91Vn6htiVMcdoXPVYgsqVnGNRGQ9KKU+HYyEQjIK05WI4evDgLI\n MN59hNuwb2a+FMM3OLcoT4nRr5yQ47Yyeb79v4Dv1ZeyXfrZ5BdEHMfdAaaeOa0RW7FlaI\n 54QipNEaKDlQm+KtsJhOnl+tLBPCOSM=",
        "X-MC-Unique": "pA8nIifNNm-KqO5RN3yTHg-1",
        "X-Mimecast-MFC-AGG-ID": "pA8nIifNNm-KqO5RN3yTHg_1775568938",
        "To": "dev@openvswitch.org",
        "Date": "Tue,  7 Apr 2026 15:34:32 +0200",
        "Message-ID": "\n <d2fa3909e90d356f80d2fa6dbdc3e712ac66eb7f.1775568640.git.tredaelli@redhat.com>",
        "In-Reply-To": "<cover.1775568640.git.tredaelli@redhat.com>",
        "References": "<cover.1775568640.git.tredaelli@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "V69xfGejrqq0KL5bprkxuKW2yNLLc3B_fNdp_3sxxs4_1775568938",
        "X-Mimecast-Originator": "redhat.com",
        "Subject": "[ovs-dev] [PATCH v2 4/5] dpif-netdev: Add JSON output to\n pmd-stats-show.",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "From": "Timothy Redaelli via dev <ovs-dev@openvswitch.org>",
        "Reply-To": "Timothy Redaelli <tredaelli@redhat.com>",
        "Cc": "i.maximets@ovn.org",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "When --format json is passed to ovs-appctl, pmd-stats-show returns a\nJSON object keyed by thread identifier (\"pmd-cNN\" for PMD threads,\n\"main\" for the main thread).  Each entry groups counters into\nsub-objects: \"packets\" (received, recirculated), \"flow-cache-hits\"\n(exact, megaflow, signature, etc.), \"upcalls\" (success, failure),\n\"cycles\" (idle/processing with count and percentage), and several\n\"average-*\" fields.\n\nThe \"core\" and \"numa\" fields are always present for schema consistency:\nthey contain the numeric value for PMD threads, or null for the main\nthread and when the value is unspecified.\n\nThe \"pmd-cNN\" key format is chosen over the full thread name for\nstability (see pmd-sleep-show commit for rationale).\n\nExample output (abbreviated):\n  {\"main\": {\"core\": null, \"numa\": null, \"packets\": {\"received\": 0, ...}, ...},\n   \"pmd-c03\": {\"core\": 3, \"numa\": 0, \"packets\": {\"received\": 1000, ...}, ...}}\n\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\n lib/dpif-netdev.c | 143 ++++++++++++++++++++++++++++++++++++++++++----\n tests/pmd.at      |  73 +++++++++++++++++++++++\n 2 files changed, 205 insertions(+), 11 deletions(-)",
    "diff": "diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c\nindex 32e1dc938..b2b61a514 100644\n--- a/lib/dpif-netdev.c\n+++ b/lib/dpif-netdev.c\n@@ -724,6 +724,111 @@ pmd_info_show_stats(struct ds *reply,\n                   stats[PMD_CYCLES_ITER_BUSY], total_packets);\n }\n \n+static struct json *\n+pmd_info_show_stats_json(struct dp_netdev_pmd_thread *pmd)\n+{\n+    uint64_t stats[PMD_N_STATS];\n+    uint64_t total_cycles, total_packets;\n+    double passes_per_pkt = 0;\n+    double lookups_per_hit = 0;\n+    double packets_per_batch = 0;\n+    struct json *json, *json_averages, *json_cycles, *json_flow_cache;\n+    struct json *json_idle, *json_packets, *json_processing, *json_upcalls;\n+\n+    pmd_perf_read_counters(&pmd->perf_stats, stats);\n+    total_cycles = stats[PMD_CYCLES_ITER_IDLE] + stats[PMD_CYCLES_ITER_BUSY];\n+    total_packets = stats[PMD_STAT_RECV];\n+\n+    if (total_packets > 0) {\n+        passes_per_pkt = (total_packets + stats[PMD_STAT_RECIRC])\n+                            / (double) total_packets;\n+    }\n+    if (stats[PMD_STAT_MASKED_HIT] > 0) {\n+        lookups_per_hit = stats[PMD_STAT_MASKED_LOOKUP]\n+                            / (double) stats[PMD_STAT_MASKED_HIT];\n+    }\n+    if (stats[PMD_STAT_SENT_BATCHES] > 0) {\n+        packets_per_batch = stats[PMD_STAT_SENT_PKTS]\n+                            / (double) stats[PMD_STAT_SENT_BATCHES];\n+    }\n+\n+    json = json_object_create();\n+    json_object_put(json, \"core\",\n+                    (pmd->core_id != OVS_CORE_UNSPEC\n+                     && pmd->core_id != NON_PMD_CORE_ID)\n+                    ? json_integer_create(pmd->core_id)\n+                    : json_null_create());\n+    json_object_put(json, \"numa\",\n+                    pmd->numa_id != OVS_NUMA_UNSPEC\n+                    ? json_integer_create(pmd->numa_id)\n+                    : json_null_create());\n+    json_averages = json_object_create();\n+    json_object_put(json_averages, \"cycles-per-packet\",\n+                    json_real_create((total_cycles > 0 && total_packets > 0)\n+                        ? total_cycles / (double) total_packets : 0.0));\n+    json_object_put(json_averages, \"datapath-passes-per-packet\",\n+                    json_real_create(passes_per_pkt));\n+    json_object_put(json_averages, \"packets-per-output-batch\",\n+                    json_real_create(packets_per_batch));\n+    json_object_put(json_averages, \"processing-cycles-per-packet\",\n+                    json_real_create((total_cycles > 0 && total_packets > 0)\n+                        ? stats[PMD_CYCLES_ITER_BUSY]\n+                            / (double) total_packets : 0.0));\n+    json_object_put(json_averages, \"subtable-lookups-per-megaflow-hit\",\n+                    json_real_create(lookups_per_hit));\n+    json_object_put(json, \"averages\", json_averages);\n+\n+    json_idle = json_object_create();\n+    json_object_put(json_idle, \"count\",\n+                    json_integer_create(stats[PMD_CYCLES_ITER_IDLE]));\n+    json_object_put(json_idle, \"percentage\",\n+                    json_real_create(total_cycles > 0\n+                        ? stats[PMD_CYCLES_ITER_IDLE]\n+                            / (double) total_cycles * 100 : 0.0));\n+    json_processing = json_object_create();\n+    json_object_put(json_processing, \"count\",\n+                    json_integer_create(stats[PMD_CYCLES_ITER_BUSY]));\n+    json_object_put(json_processing, \"percentage\",\n+                    json_real_create(total_cycles > 0\n+                        ? stats[PMD_CYCLES_ITER_BUSY]\n+                            / (double) total_cycles * 100 : 0.0));\n+    json_cycles = json_object_create();\n+    json_object_put(json_cycles, \"idle\", json_idle);\n+    json_object_put(json_cycles, \"processing\", json_processing);\n+    json_object_put(json, \"cycles\", json_cycles);\n+\n+    json_flow_cache = json_object_create();\n+    json_object_put(json_flow_cache, \"exact\",\n+                    json_integer_create(stats[PMD_STAT_EXACT_HIT]));\n+    json_object_put(json_flow_cache, \"megaflow\",\n+                    json_integer_create(stats[PMD_STAT_MASKED_HIT]));\n+    json_object_put(json_flow_cache, \"miniflow-extract\",\n+                    json_integer_create(stats[PMD_STAT_MFEX_OPT_HIT]));\n+    json_object_put(json_flow_cache, \"partial-hardware-offload\",\n+                    json_integer_create(stats[PMD_STAT_PHWOL_HIT]));\n+    json_object_put(json_flow_cache, \"signature\",\n+                    json_integer_create(stats[PMD_STAT_SMC_HIT]));\n+    json_object_put(json_flow_cache, \"simple\",\n+                    json_integer_create(stats[PMD_STAT_SIMPLE_HIT]));\n+    json_object_put(json, \"flow-cache-hits\", json_flow_cache);\n+\n+    json_packets = json_object_create();\n+    json_object_put(json_packets, \"received\",\n+                    json_integer_create(total_packets));\n+    json_object_put(json_packets, \"recirculated\",\n+                    json_integer_create(stats[PMD_STAT_RECIRC]));\n+    json_object_put(json, \"packets\", json_packets);\n+\n+    json_upcalls = json_object_create();\n+    json_object_put(json_upcalls, \"failure\",\n+                    json_integer_create(stats[PMD_STAT_LOST]));\n+    json_object_put(json_upcalls, \"success\",\n+                    json_integer_create(stats[PMD_STAT_MISS]));\n+    json_object_put(json, \"upcalls\", json_upcalls);\n+\n+    return json;\n+}\n+\n static void\n pmd_info_show_perf(struct ds *reply,\n                    struct dp_netdev_pmd_thread *pmd,\n@@ -1418,6 +1523,7 @@ dpif_netdev_pmd_info(struct unixctl_conn *conn, int argc, const char *argv[],\n                                       / INTERVAL_USEC_TO_SEC;\n     bool show_header = true;\n     uint64_t max_sleep;\n+    struct json *json_result = NULL;\n \n     ovs_mutex_lock(&dp_netdev_mutex);\n \n@@ -1457,15 +1563,17 @@ dpif_netdev_pmd_info(struct unixctl_conn *conn, int argc, const char *argv[],\n \n     sorted_poll_thread_list(dp, &pmd_list, &n);\n \n-    if (type == PMD_INFO_SLEEP_SHOW\n-        && unixctl_command_get_output_format(conn)\n-               == UNIXCTL_OUTPUT_FMT_JSON) {\n-        struct json *json_result = pmd_info_sleep_show_json(dp, pmd_list, n);\n-        free(pmd_list);\n-        ovs_mutex_unlock(&dp_netdev_mutex);\n-        unixctl_command_reply_json(conn, json_result);\n-        ds_destroy(&reply);\n-        return;\n+    if (unixctl_command_get_output_format(conn) == UNIXCTL_OUTPUT_FMT_JSON) {\n+        if (type == PMD_INFO_SHOW_STATS) {\n+            json_result = json_object_create();\n+        } else if (type == PMD_INFO_SLEEP_SHOW) {\n+            json_result = pmd_info_sleep_show_json(dp, pmd_list, n);\n+            free(pmd_list);\n+            ovs_mutex_unlock(&dp_netdev_mutex);\n+            unixctl_command_reply_json(conn, json_result);\n+            ds_destroy(&reply);\n+            return;\n+        }\n     }\n \n     for (size_t i = 0; i < n; i++) {\n@@ -1492,7 +1600,16 @@ dpif_netdev_pmd_info(struct unixctl_conn *conn, int argc, const char *argv[],\n         } else if (type == PMD_INFO_CLEAR_STATS) {\n             pmd_perf_stats_clear(&pmd->perf_stats);\n         } else if (type == PMD_INFO_SHOW_STATS) {\n-            pmd_info_show_stats(&reply, pmd);\n+            if (json_result) {\n+                bool is_main = pmd->core_id == NON_PMD_CORE_ID;\n+                char *key = is_main\n+                    ? xstrdup(\"main\")\n+                    : xasprintf(\"pmd-c%02u\", pmd->core_id);\n+                json_object_put_nocopy(json_result, key,\n+                                       pmd_info_show_stats_json(pmd));\n+            } else {\n+                pmd_info_show_stats(&reply, pmd);\n+            }\n         } else if (type == PMD_INFO_PERF_SHOW) {\n             pmd_info_show_perf(&reply, pmd, (struct pmd_perf_params *)aux);\n         } else if (type == PMD_INFO_SLEEP_SHOW) {\n@@ -1510,7 +1627,11 @@ dpif_netdev_pmd_info(struct unixctl_conn *conn, int argc, const char *argv[],\n \n     ovs_mutex_unlock(&dp_netdev_mutex);\n \n-    unixctl_command_reply(conn, ds_cstr(&reply));\n+    if (json_result) {\n+        unixctl_command_reply_json(conn, json_result);\n+    } else {\n+        unixctl_command_reply(conn, ds_cstr(&reply));\n+    }\n     ds_destroy(&reply);\n }\n \ndiff --git a/tests/pmd.at b/tests/pmd.at\nindex 702c9b950..4d442b0a6 100644\n--- a/tests/pmd.at\n+++ b/tests/pmd.at\n@@ -490,6 +490,79 @@ pmd thread numa_id <cleared> core_id <cleared>:\n   miss with failed upcall: 0\n ])\n \n+dnl Check JSON output.\n+dnl Mask dynamic values: core id, cycle counts and percentages,\n+dnl cycles-per-packet, processing-cycles-per-packet,\n+dnl and packets-per-output-batch.\n+AT_CHECK([ovs-appctl --format json --pretty dpif-netdev/pmd-stats-show | dnl\n+          sed 's/\"pmd-c[[0-9]][[0-9]]\"/\"pmd-c<cleared>\"/g' | dnl\n+          sed 's/\"core\": [[0-9]][[0-9]]*/\"core\": <cleared>/g' | dnl\n+          sed 's/\"count\": [[0-9]][[0-9]]*/\"count\": <cleared>/g' | dnl\n+          sed 's/\"percentage\": [[0-9.]][[0-9.]]*/\"percentage\": <cleared>/g' | dnl\n+          sed 's/\"cycles-per-packet\": [[0-9.]][[0-9.]]*/\"cycles-per-packet\": <cleared>/g' | dnl\n+          sed 's/\"packets-per-output-batch\": [[0-9.]][[0-9.]]*/\"packets-per-output-batch\": <cleared>/g' | dnl\n+          sed 's/\"processing-cycles-per-packet\": [[0-9.]][[0-9.]]*/\"processing-cycles-per-packet\": <cleared>/g'], [0], [dnl\n+{\n+  \"main\": {\n+    \"averages\": {\n+      \"cycles-per-packet\": <cleared>,\n+      \"datapath-passes-per-packet\": 0.0,\n+      \"packets-per-output-batch\": <cleared>,\n+      \"processing-cycles-per-packet\": <cleared>,\n+      \"subtable-lookups-per-megaflow-hit\": 0.0},\n+    \"core\": null,\n+    \"cycles\": {\n+      \"idle\": {\n+        \"count\": <cleared>,\n+        \"percentage\": <cleared>},\n+      \"processing\": {\n+        \"count\": <cleared>,\n+        \"percentage\": <cleared>}},\n+    \"flow-cache-hits\": {\n+      \"exact\": 0,\n+      \"megaflow\": 0,\n+      \"miniflow-extract\": 0,\n+      \"partial-hardware-offload\": 0,\n+      \"signature\": 0,\n+      \"simple\": 0},\n+    \"numa\": null,\n+    \"packets\": {\n+      \"received\": 0,\n+      \"recirculated\": 0},\n+    \"upcalls\": {\n+      \"failure\": 0,\n+      \"success\": 0}},\n+  \"pmd-c<cleared>\": {\n+    \"averages\": {\n+      \"cycles-per-packet\": <cleared>,\n+      \"datapath-passes-per-packet\": 1.0,\n+      \"packets-per-output-batch\": <cleared>,\n+      \"processing-cycles-per-packet\": <cleared>,\n+      \"subtable-lookups-per-megaflow-hit\": 0.0},\n+    \"core\": <cleared>,\n+    \"cycles\": {\n+      \"idle\": {\n+        \"count\": <cleared>,\n+        \"percentage\": <cleared>},\n+      \"processing\": {\n+        \"count\": <cleared>,\n+        \"percentage\": <cleared>}},\n+    \"flow-cache-hits\": {\n+      \"exact\": 19,\n+      \"megaflow\": 0,\n+      \"miniflow-extract\": 0,\n+      \"partial-hardware-offload\": 0,\n+      \"signature\": 0,\n+      \"simple\": 0},\n+    \"numa\": 0,\n+    \"packets\": {\n+      \"received\": 20,\n+      \"recirculated\": 0},\n+    \"upcalls\": {\n+      \"failure\": 0,\n+      \"success\": 1}}}\n+])\n+\n OVS_VSWITCHD_STOP\n AT_CLEANUP\n \n",
    "prefixes": [
        "ovs-dev",
        "v2",
        "4/5"
    ]
}