get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1526233/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1526233,
    "url": "http://patchwork.ozlabs.org/api/patches/1526233/",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20210909153047.51089-1-cian.ferriter@intel.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/",
        "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",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210909153047.51089-1-cian.ferriter@intel.com>",
    "list_archive_url": null,
    "date": "2021-09-09T15:30:47",
    "name": "[ovs-dev,v2] dpif-netdev: Fix pmd thread comments to include SMC.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7c65f1a75a9324e58089b024f68b166e65ef43dd",
    "submitter": {
        "id": 70444,
        "url": "http://patchwork.ozlabs.org/api/people/70444/",
        "name": "Ferriter, Cian",
        "email": "cian.ferriter@intel.com"
    },
    "delegate": {
        "id": 57772,
        "url": "http://patchwork.ozlabs.org/api/users/57772/",
        "username": "imaximets",
        "first_name": "Ilya",
        "last_name": "Maximets",
        "email": "i.maximets@samsung.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20210909153047.51089-1-cian.ferriter@intel.com/mbox/",
    "series": [
        {
            "id": 261631,
            "url": "http://patchwork.ozlabs.org/api/series/261631/",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=261631",
            "date": "2021-09-09T15:30:47",
            "name": "[ovs-dev,v2] dpif-netdev: Fix pmd thread comments to include SMC.",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/261631/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1526233/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/1526233/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ovs-dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)",
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4H52yJ0cMPz9sR4\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Sep 2021 01:30:32 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D953B40547;\n\tThu,  9 Sep 2021 15:30:29 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n\tby localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 0uQsBwkJLDyu; Thu,  9 Sep 2021 15:30:29 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 43A2E40489;\n\tThu,  9 Sep 2021 15:30:28 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 18A50C000F;\n\tThu,  9 Sep 2021 15:30:28 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id D5F30C000D\n for <ovs-dev@openvswitch.org>; Thu,  9 Sep 2021 15:30:26 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id BF7CC40493\n for <ovs-dev@openvswitch.org>; Thu,  9 Sep 2021 15:30:26 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id waX23_F3AE8y for <ovs-dev@openvswitch.org>;\n Thu,  9 Sep 2021 15:30:25 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 99C2F40489\n for <ovs-dev@openvswitch.org>; Thu,  9 Sep 2021 15:30:25 +0000 (UTC)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Sep 2021 08:30:19 -0700",
            "from silpixa00399779.ir.intel.com (HELO\n silpixa00399779.ger.corp.intel.com) ([10.237.222.105])\n by fmsmga001.fm.intel.com with ESMTP; 09 Sep 2021 08:30:18 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.8.0",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10101\"; a=\"217657826\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"217657826\"",
            "E=Sophos;i=\"5.85,280,1624345200\"; d=\"scan'208\";a=\"606880121\""
        ],
        "X-ExtLoop1": "1",
        "From": "Cian Ferriter <cian.ferriter@intel.com>",
        "To": "ovs-dev@openvswitch.org",
        "Date": "Thu,  9 Sep 2021 16:30:47 +0100",
        "Message-Id": "<20210909153047.51089-1-cian.ferriter@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "MIME-Version": "1.0",
        "Subject": "[ovs-dev] [PATCH v2] dpif-netdev: Fix pmd thread comments to\n\tinclude SMC.",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.15",
        "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>",
        "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": "These comments are relevant to SMC too.\n\nFixes: 60d8ccae135f (\"dpif-netdev: Add SMC cache after EMC cache\")\nSigned-off-by: Cian Ferriter <cian.ferriter@intel.com>\nAcked-by: Kevin Traynor <ktraynor@redhat.com>\n---\n lib/dpif-netdev-private-dfc.h    | 3 ++-\n lib/dpif-netdev-private-thread.h | 8 ++++----\n 2 files changed, 6 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/dpif-netdev-private-dfc.h b/lib/dpif-netdev-private-dfc.h\nindex 92092ebec..3dfc91f0f 100644\n--- a/lib/dpif-netdev-private-dfc.h\n+++ b/lib/dpif-netdev-private-dfc.h\n@@ -59,7 +59,8 @@ extern \"C\" {\n  * Thread-safety\n  * =============\n  *\n- * Each pmd_thread has its own private exact match cache.\n+ * Each pmd_thread has its own private exact match cache and signature match\n+ * cache.\n  * If dp_netdev_input is not called from a pmd thread, a mutex is used.\n  */\n \ndiff --git a/lib/dpif-netdev-private-thread.h b/lib/dpif-netdev-private-thread.h\nindex a782d9678..ac4885538 100644\n--- a/lib/dpif-netdev-private-thread.h\n+++ b/lib/dpif-netdev-private-thread.h\n@@ -78,10 +78,10 @@ struct dp_netdev_pmd_thread {\n     struct ovs_refcount ref_cnt;    /* Every reference must be refcount'ed. */\n     struct cmap_node node;          /* In 'dp->poll_threads'. */\n \n-    /* Per thread exact-match cache.  Note, the instance for cpu core\n-     * NON_PMD_CORE_ID can be accessed by multiple threads, and thusly\n-     * need to be protected by 'non_pmd_mutex'.  Every other instance\n-     * will only be accessed by its own pmd thread. */\n+    /* Per thread exact match cache and signature match cache.  Note, the\n+     * instance for cpu core NON_PMD_CORE_ID can be accessed by multiple\n+     * threads, and thusly need to be protected by 'non_pmd_mutex'.  Every\n+     * other instance will only be accessed by its own pmd thread. */\n     OVS_ALIGNED_VAR(CACHE_LINE_SIZE) struct dfc_cache flow_cache;\n \n     /* Flow-Table and classifiers\n",
    "prefixes": [
        "ovs-dev",
        "v2"
    ]
}