get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1528337,
    "url": "http://patchwork.ozlabs.org/api/patches/1528337/",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20210915124319.1683219-3-cmi@nvidia.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": "<20210915124319.1683219-3-cmi@nvidia.com>",
    "list_archive_url": null,
    "date": "2021-09-15T12:43:14",
    "name": "[ovs-dev,v15,2/7] ovs-kmod-ctl: Load kernel module psample",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1057242412650f4802eb573aba25b843a9d3d26f",
    "submitter": {
        "id": 80086,
        "url": "http://patchwork.ozlabs.org/api/people/80086/",
        "name": "Chris Mi",
        "email": "cmi@nvidia.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20210915124319.1683219-3-cmi@nvidia.com/mbox/",
    "series": [
        {
            "id": 262447,
            "url": "http://patchwork.ozlabs.org/api/series/262447/",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=262447",
            "date": "2021-09-15T12:43:12",
            "name": "Add offload support for sFlow",
            "version": 15,
            "mbox": "http://patchwork.ozlabs.org/series/262447/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1528337/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/1528337/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)",
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 4H8fyv1RGhz9ssD\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Sep 2021 22:43:34 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 6839860B89;\n\tWed, 15 Sep 2021 12:43:32 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n\tby localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id l4AykGfMe3u0; Wed, 15 Sep 2021 12:43:31 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id C57BA60AD6;\n\tWed, 15 Sep 2021 12:43:30 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 75AA8C001D;\n\tWed, 15 Sep 2021 12:43:30 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 6EC76C0011\n for <dev@openvswitch.org>; Wed, 15 Sep 2021 12:43:29 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 53A2D60BA4\n for <dev@openvswitch.org>; Wed, 15 Sep 2021 12:43:29 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id OcvewYMslUkt for <dev@openvswitch.org>;\n Wed, 15 Sep 2021 12:43:28 +0000 (UTC)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by smtp3.osuosl.org (Postfix) with ESMTP id 19D3E60B71\n for <dev@openvswitch.org>; Wed, 15 Sep 2021 12:43:27 +0000 (UTC)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from cmi@nvidia.com)\n with SMTP; 15 Sep 2021 15:43:21 +0300",
            "from c-141-46-1-010.mtl.labs.mlnx (c-141-46-1-010.mtl.labs.mlnx\n [10.141.46.10])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 18FChLbW010242;\n Wed, 15 Sep 2021 15:43:21 +0300"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.8.0",
        "To": "dev@openvswitch.org",
        "Date": "Wed, 15 Sep 2021 15:43:14 +0300",
        "Message-Id": "<20210915124319.1683219-3-cmi@nvidia.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210915124319.1683219-1-cmi@nvidia.com>",
        "References": "<20210915124319.1683219-1-cmi@nvidia.com>",
        "MIME-Version": "1.0",
        "Cc": "elibr@nvidia.com, simon.horman@netronome.com, roniba@nvidia.com,\n i.maximets@ovn.org",
        "Subject": "[ovs-dev] [PATCH v15 2/7] ovs-kmod-ctl: Load kernel module psample",
        "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>",
        "From": "Chris Mi via dev <ovs-dev@openvswitch.org>",
        "Reply-To": "Chris Mi <cmi@nvidia.com>",
        "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": "Load kernel module psample to receive sampled packets from TC.\nBefore removing kernel module psample, remove act_sample first.\n\nSigned-off-by: Chris Mi <cmi@nvidia.com>\nReviewed-by: Eli Britstein <elibr@nvidia.com>\nAcked-by: Eelco Chaudron <echaudro@redhat.com>\n---\n utilities/ovs-kmod-ctl.in | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)",
    "diff": "diff --git a/utilities/ovs-kmod-ctl.in b/utilities/ovs-kmod-ctl.in\nindex 19f100964..6fa945a83 100644\n--- a/utilities/ovs-kmod-ctl.in\n+++ b/utilities/ovs-kmod-ctl.in\n@@ -28,6 +28,14 @@ for dir in \"$sbindir\" \"$bindir\" /sbin /bin /usr/sbin /usr/bin; do\n done\n \n insert_mods () {\n+    # Try loading psample kernel module.\n+    modinfo psample > /dev/null 2>&1\n+    if test $? = 0; then\n+        action \"Inserting psample module\" modprobe psample\n+    else\n+        log_warning_msg \"No psample module, can't offload sFlow action\"\n+    fi\n+\n     # Try loading openvswitch kernel module.\n     action \"Inserting openvswitch module\" modprobe openvswitch\n }\n@@ -95,6 +103,12 @@ remove_kmods() {\n     if test -e /sys/module/vxlan; then\n         action \"Forcing removal of vxlan module\" rmmod vxlan\n     fi\n+    if test -e /sys/module/act_sample; then\n+        action \"Forcing removal of act_sample module\" rmmod act_sample\n+    fi\n+    if test -e /sys/module/psample; then\n+        action \"Forcing removal of psample module\" rmmod psample\n+    fi\n }\n \n usage () {\n",
    "prefixes": [
        "ovs-dev",
        "v15",
        "2/7"
    ]
}