get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1288674,
    "url": "http://patchwork.ozlabs.org/api/patches/1288674/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200512173553.39460-2-andre.guedes@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20200512173553.39460-2-andre.guedes@intel.com>",
    "list_archive_url": null,
    "date": "2020-05-12T17:35:53",
    "name": "[2/2] igc: Fix IGC_MAX_RXNFC_RULES",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8331e5dd84ff0f62cc1fc93884c5743b3aa32eef",
    "submitter": {
        "id": 72323,
        "url": "http://patchwork.ozlabs.org/api/people/72323/?format=api",
        "name": "Andre Guedes",
        "email": "andre.guedes@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200512173553.39460-2-andre.guedes@intel.com/mbox/",
    "series": [
        {
            "id": 176436,
            "url": "http://patchwork.ozlabs.org/api/series/176436/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=176436",
            "date": "2020-05-12T17:35:53",
            "name": "[1/2] igc: Reject NFC rules with multiple matches",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/176436/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1288674/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1288674/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>)",
            "ozlabs.org;\n dmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 49M4j533GCz9sRK\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 13 May 2020 03:36:09 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B23EE88554;\n\tTue, 12 May 2020 17:36:06 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 2cKaUjXjtMXe; Tue, 12 May 2020 17:36:05 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CDE8287FDD;\n\tTue, 12 May 2020 17:36:05 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by ash.osuosl.org (Postfix) with ESMTP id 89FBA1BF23F\n for <intel-wired-lan@lists.osuosl.org>; Tue, 12 May 2020 17:36:04 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by silver.osuosl.org (Postfix) with ESMTP id 6A19420C45\n for <intel-wired-lan@lists.osuosl.org>; Tue, 12 May 2020 17:36:04 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id min8DXPVGQ-w for <intel-wired-lan@lists.osuosl.org>;\n Tue, 12 May 2020 17:36:03 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by silver.osuosl.org (Postfix) with ESMTPS id 9D15220BF9\n for <intel-wired-lan@lists.osuosl.org>; Tue, 12 May 2020 17:36:03 +0000 (UTC)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 May 2020 10:36:03 -0700",
            "from ksengupt-mobl1.amr.corp.intel.com ([10.254.97.57])\n by orsmga008.jf.intel.com with ESMTP; 12 May 2020 10:36:02 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "IronPort-SDR": [
            "\n af9mTT5S3xrArrJqmeH4V6snq0zcUOcPxPWlvJBlMMZ47aPtN3EeQ3RvtLioOb71bVdHNXZMRT\n X99r8I+NuX7w==",
            "\n 07ixHc3/+1PpJenTHdaug8mDec3HtyxASnx/gknDyZid5iQMHaTgi1Tj8v3lcxmiuWuktPQ6/R\n 16xDLlBuo2Gg=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.73,384,1583222400\"; d=\"scan'208\";a=\"298094586\"",
        "From": "Andre Guedes <andre.guedes@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue, 12 May 2020 10:35:53 -0700",
        "Message-Id": "<20200512173553.39460-2-andre.guedes@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20200512173553.39460-1-andre.guedes@intel.com>",
        "References": "<20200512173553.39460-1-andre.guedes@intel.com>",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH 2/2] igc: Fix IGC_MAX_RXNFC_RULES",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "IGC supports a total of 32 rules. 16 MAC address based, 8 VLAN priority\nbased, and 8 ethertype based. This patch fixes IGC_MAX_RXNFC_RULES\naccordingly.\n\nSigned-off-by: Andre Guedes <andre.guedes@intel.com>\n---\n drivers/net/ethernet/intel/igc/igc.h | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h\nindex 14f9edaaaf83..5dbc5a156626 100644\n--- a/drivers/net/ethernet/intel/igc/igc.h\n+++ b/drivers/net/ethernet/intel/igc/igc.h\n@@ -457,7 +457,10 @@ struct igc_nfc_rule {\n \tu16 action;\n };\n \n-#define IGC_MAX_RXNFC_RULES\t\t16\n+/* IGC supports a total of 32 NFC rules: 16 MAC address based,, 8 VLAN priority\n+ * based, and 8 ethertype based.\n+ */\n+#define IGC_MAX_RXNFC_RULES\t\t32\n \n /* igc_desc_unused - calculate if we have unused descriptors */\n static inline u16 igc_desc_unused(const struct igc_ring *ring)\n",
    "prefixes": [
        "2/2"
    ]
}