get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1555097,
    "url": "http://patchwork.ozlabs.org/api/patches/1555097/",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20211115025312.786953-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": "<20211115025312.786953-3-cmi@nvidia.com>",
    "list_archive_url": null,
    "date": "2021-11-15T02:53:06",
    "name": "[ovs-dev,v18,2/8] 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/20211115025312.786953-3-cmi@nvidia.com/mbox/",
    "series": [
        {
            "id": 271987,
            "url": "http://patchwork.ozlabs.org/api/series/271987/",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=271987",
            "date": "2021-11-15T02:53:04",
            "name": "Add offload support for sFlow",
            "version": 18,
            "mbox": "http://patchwork.ozlabs.org/series/271987/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1555097/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/1555097/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@bilbo.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "bilbo.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256\n header.s=selector2 header.b=NPq6Cxlz;\n\tdkim-atps=neutral",
            "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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hstzt1CMFz9s5P\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 15 Nov 2021 13:53:30 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 7496E60748;\n\tMon, 15 Nov 2021 02:53:28 +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 MTEkYcYZGSck; Mon, 15 Nov 2021 02:53:27 +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 9686F600C9;\n\tMon, 15 Nov 2021 02:53:26 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 6D10FC002E;\n\tMon, 15 Nov 2021 02:53:26 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 4DDDBC002E\n for <dev@openvswitch.org>; Mon, 15 Nov 2021 02:53:25 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 38ACB605BB\n for <dev@openvswitch.org>; Mon, 15 Nov 2021 02:53:25 +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 GYddyQHUrCyt for <dev@openvswitch.org>;\n Mon, 15 Nov 2021 02:53:24 +0000 (UTC)",
            "from NAM12-MW2-obe.outbound.protection.outlook.com\n (mail-mw2nam12on2060.outbound.protection.outlook.com [40.107.244.60])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 364BB60717\n for <dev@openvswitch.org>; Mon, 15 Nov 2021 02:53:24 +0000 (UTC)",
            "from DM6PR01CA0024.prod.exchangelabs.com (2603:10b6:5:296::29) by\n MN2PR12MB3327.namprd12.prod.outlook.com (2603:10b6:208:cd::20) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.4690.27; Mon, 15 Nov 2021 02:53:22 +0000",
            "from DM6NAM11FT013.eop-nam11.prod.protection.outlook.com\n (2603:10b6:5:296:cafe::8) by DM6PR01CA0024.outlook.office365.com\n (2603:10b6:5:296::29) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.19 via Frontend\n Transport; Mon, 15 Nov 2021 02:53:22 +0000",
            "from mail.nvidia.com (216.228.112.35) by\n DM6NAM11FT013.mail.protection.outlook.com (10.13.173.142) with Microsoft SMTP\n Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id\n 15.20.4690.15 via Frontend Transport; Mon, 15 Nov 2021 02:53:20 +0000",
            "from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com\n (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 15 Nov\n 2021 02:53:20 +0000",
            "from dev-r630-03.lab.mtl.com (172.20.187.5) by mail.nvidia.com\n (172.20.187.10) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 15 Nov 2021 02:53:18 +0000"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.8.0",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=AH3DH/L59zw/7zvVLv+uOt3zXLJUer1JDt33DcANXNg6PL4EUME3Slv6++R12M6SrovXboEiSfgNmrbC5op2o8qSeGxSw9af5YUPYn7UaUyeu+fi+aCpyBG45TmqC6zBsQXGHL3gaF+iQcinbAuffaI6SySuUxbHFtSz0e9zarb2MnfzFQRT1h59fadGah7l46BwXmNnMhKyERaAGrpzYaLSKxwlgxAALxGufL97sEJyP2d9BgDbDlmGcRlhXbxIY/Rs14oV1Zi46K05HqRxlYpHH3rF4jjjoIAXCBPcqh9QFpWHM8X4RVngoBhCYjzN/Q1HKllTIhOSN4T/wghRYA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=tVAx2dfBvVOYxoEH2FU4Eo6XZgCor4UnIBx5U5XhyzE=;\n b=QKah7nTOE7DZswo2lZudLLS3ftnCObglzEg7oO8OBvEHipHMcn7jA8MrxYLduJv2p0TFNMvwi/SeBLynlS7QVPVQpgsXLe37vlpF/EaTEPlpqrHASpmjE3JPpYdsCTpbNQLEhHrgo/hIgBEiu7miy/Dt7CuNnl0byTx3lM8LdbARq5r6HFxgPae6LO9bcf6bJ+9CSineMRD8rJ7VDAz9Zybgb4LZ+ws+hJ8fI7rNM2zCX/+aHA9GBUNvGsSjNiC8vlOxKoGQ82F76NKuhyEcOGtcUiwqgXJ90Ym3BUauKSYO4e3E3oNA/8XEBDKzEpbT94czxYnmMwM4QPtAlYnBfw==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.112.35) smtp.rcpttodomain=ovn.org smtp.mailfrom=nvidia.com;\n dmarc=pass (p=quarantine sp=quarantine pct=100) action=none\n header.from=nvidia.com; dkim=none (message not signed); arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=tVAx2dfBvVOYxoEH2FU4Eo6XZgCor4UnIBx5U5XhyzE=;\n b=NPq6Cxlzavfh3ui8dgSkjdsJDdNPT187qrvay86gWLd4QLwHcSPrlXVlsiVgaG6GbSSpb2lZhs4KjxUgCHgbuqUmVI4oiUqoUDy639oGLYE+CpRh9BHzvVq2egqhk0MU+DH7Hc/cIEs32wJaCxctrVxDtOJADWGiwLPhoDkkC8kdPLTOxbf/K18lr13uM6PRYfw3fz1SR+yKP8ME1fpDKyi6DutTiRpp9Q0j0mfiADTvYDKZTiDZFvVQWj77j+JOZJjXUHLn52zPjG/nHcWER7BtXB7vNULJzbdgT6zAlITqZaktnGErX/l3SzGPLFmpSFZY/aW1QlCbYpkXq1R56Q==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.112.35)\n smtp.mailfrom=nvidia.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.112.35 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.112.35; helo=mail.nvidia.com;",
        "To": "<dev@openvswitch.org>",
        "Date": "Mon, 15 Nov 2021 10:53:06 +0800",
        "Message-ID": "<20211115025312.786953-3-cmi@nvidia.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211115025312.786953-1-cmi@nvidia.com>",
        "References": "<20211115025312.786953-1-cmi@nvidia.com>",
        "MIME-Version": "1.0",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "457f5552-2a94-4248-eadf-08d9a7e31585",
        "X-MS-TrafficTypeDiagnostic": "MN2PR12MB3327:",
        "X-Microsoft-Antispam-PRVS": "\n <MN2PR12MB3327BB73595179C2C47FEA50CF989@MN2PR12MB3327.namprd12.prod.outlook.com>",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:2958;",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n C7rRHmlqX30Fn/ZBRMkiyHypuwUvZtPotrVzissXIvRX+l7qiIcIrQ7y9zUGC8JawLcTC1sPlLqcFWIzNirZoYyL4WyVGpRrSSSVwWZV09Y/xyStijluxx25KG/ngT9teoXg8y7kb9TJ9YVF5e8JkvDApksBkMIiKlYG+54r1y5dxBFv6DTGxOBKsGBN9xk5zK9AM4n7y5+8R8+53PuQsDV/TVAa2mDpR0C+CGZ1wVN7vDCeY9yIXqduLeDtPBgkwe2mDt0NxJI2ZvaLjDYqz0LFtSZDDfpeWva+U8oiH9IUoCKYSf62s9f4H4kmp5n2T46CEZ9eA7Aa97lBYmymD7zWxGHEUInU7rOrtkYuQ/SH9gZR5MsfCmUTDJDLeed+esve/S2KrxUgBnyP8yx6Le27mi8PhvglGfIbEI3PIeSNbmMYMFXq2gUJYTnF7PYGEGy5pC6HbtGgbRPOmmPoKDZf0h9ImeqaMkPsu3Z9oGBHn2MNE3vwZIZVAwC/KoZhc4fHxkSdDRSi9XncXUAp1T62jHaDmwpFwD9M4uonQ4Z/eX/KQFdrMxRMkG40BmHOAcnSEqO54Psp/uUybYaeF64/JJO52DlbTjOVyCAupoq2jJTz5aTxT1d7jWI3d+4Byy6G5V/6ZKElgUvarciQngovvGLefe1wJHcj3shDViXXBFfUJD1o/COghp0rAWi1Oy/UOxHfbV+XzO7nxP7E3A==",
        "X-Forefront-Antispam-Report": "CIP:216.228.112.35; CTRY:US; LANG:en; SCL:1;\n SRV:;\n IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid04.nvidia.com; CAT:NONE;\n SFS:(4636009)(46966006)(36840700001)(508600001)(2906002)(70586007)(70206006)(6916009)(426003)(8936002)(82310400003)(36756003)(4326008)(186003)(107886003)(26005)(54906003)(316002)(1076003)(47076005)(7636003)(336012)(2616005)(6666004)(36860700001)(356005)(8676002)(86362001)(83380400001)(5660300002);\n DIR:OUT; SFP:1101;",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "15 Nov 2021 02:53:20.9079 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 457f5552-2a94-4248-eadf-08d9a7e31585",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.35];\n Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n DM6NAM11FT013.eop-nam11.prod.protection.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MN2PR12MB3327",
        "Cc": "elibr@nvidia.com, simon.horman@netronome.com, roniba@nvidia.com,\n i.maximets@ovn.org",
        "Subject": "[ovs-dev] [PATCH v18 2/8] 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",
        "v18",
        "2/8"
    ]
}