get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 847675,
    "url": "http://patchwork.ozlabs.org/api/patches/847675/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1513121823-27944-2-git-send-email-shannon.nelson@oracle.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": "<1513121823-27944-2-git-send-email-shannon.nelson@oracle.com>",
    "list_archive_url": null,
    "date": "2017-12-12T23:36:54",
    "name": "[v2,next-queue,01/10] ixgbe: clean up ipsec defines",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b279afec171abf3d7d52c51389b617777f3daee1",
    "submitter": {
        "id": 70766,
        "url": "http://patchwork.ozlabs.org/api/people/70766/?format=api",
        "name": "Shannon Nelson",
        "email": "shannon.nelson@oracle.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/1513121823-27944-2-git-send-email-shannon.nelson@oracle.com/mbox/",
    "series": [
        {
            "id": 18198,
            "url": "http://patchwork.ozlabs.org/api/series/18198/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=18198",
            "date": "2017-12-12T23:36:53",
            "name": "ixgbe: Add ipsec offload",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/18198/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/847675/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/847675/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\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=oracle.com header.i=@oracle.com\n\theader.b=\"C0Zb2/6X\"; dkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yxGTC1rBCz9t3M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Dec 2017 10:37:35 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C9D7D882F3;\n\tTue, 12 Dec 2017 23:37:33 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ea6NcZnb4sYm; Tue, 12 Dec 2017 23:37:31 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EED36882E5;\n\tTue, 12 Dec 2017 23:37:31 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 7985A1BF54B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 12 Dec 2017 23:37:29 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7047C87F65\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 12 Dec 2017 23:37:29 +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 ZndWJaHm2PzV for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 12 Dec 2017 23:37:20 +0000 (UTC)",
            "from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 9C05787F3B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 12 Dec 2017 23:37:18 +0000 (UTC)",
            "from pps.filterd (aserp2130.oracle.com [127.0.0.1])\n\tby aserp2130.oracle.com (8.16.0.21/8.16.0.21) with SMTP id\n\tvBCNQmp1148628; Tue, 12 Dec 2017 23:37:15 GMT",
            "from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])\n\tby aserp2130.oracle.com with ESMTP id 2etrs8r2hx-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Tue, 12 Dec 2017 23:37:15 +0000",
            "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vBCNbESP028475\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Tue, 12 Dec 2017 23:37:14 GMT",
            "from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vBCNbDia027497; \n\tTue, 12 Dec 2017 23:37:13 GMT",
            "from slnelson-mint18.us.oracle.com (/10.159.225.160)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Tue, 12 Dec 2017 15:37:13 -0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references;\n\ts=corp-2017-10-26; \n\tbh=txmvBkjwZMdLrrfg+tp5XrnXTvqVQQh4fSjAmYHUZB4=;\n\tb=C0Zb2/6XZq10ppbGJFvJ/cXfDxcQjZYj1JVtfpu0CTbmTSWPWzg+EXpdlXwSixnoBFCW\n\tH++qkvM8PQOdNCHcbiPJU5HtYwPkvoY0+/ccB3H/zCer4CvSInakBPkyfBtj/jxSvAeD\n\tEIrxEUGTi9pyqr1iMpSJAaOU+o6uNpOfLBvPmiVCgbp3OiDBFCfaR+DcKH4vc4Ykhltn\n\tsUAV0/x+BpJnRMps6yp8xhKM2DRvPb7PDSsxlTzVcZwtmGj/jJO7ds3vz4XTWM/YFpYx\n\tRkFAPauP/iyKwpcIkwUgYN2GOk5JQp/psteI/PG/U1dAKTW5YBXcqke7r4Qdr/qSo7hX\n\tAw== ",
        "From": "Shannon Nelson <shannon.nelson@oracle.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Tue, 12 Dec 2017 15:36:54 -0800",
        "Message-Id": "<1513121823-27944-2-git-send-email-shannon.nelson@oracle.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1513121823-27944-1-git-send-email-shannon.nelson@oracle.com>",
        "References": "<1513121823-27944-1-git-send-email-shannon.nelson@oracle.com>",
        "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8743\n\tsignatures=668646",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 suspectscore=0\n\tmalwarescore=0\n\tphishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1711220000 definitions=main-1712120331",
        "Subject": "[Intel-wired-lan] [PATCH v2 next-queue 01/10] ixgbe: clean up ipsec\n\tdefines",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<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\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "steffen.klassert@secunet.com, netdev@vger.kernel.org,\n\tsowmini.varadhan@oracle.com",
        "MIME-Version": "1.0",
        "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": "Clean up the ipsec/macsec descriptor bit definitions to match the rest\nof the defines and file organization.  Also recognise the bit-definition\noverlap in the error mask macro.\n\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\nv2: no changes\n\n drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 20 +++++++-------------\n 1 file changed, 7 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\nindex ffa0ee5..3df0763 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n@@ -2321,11 +2321,6 @@ enum {\n #define IXGBE_TXD_CMD_VLE    0x40000000 /* Add VLAN tag */\n #define IXGBE_TXD_STAT_DD    0x00000001 /* Descriptor Done */\n \n-#define IXGBE_RXDADV_IPSEC_STATUS_SECP                  0x00020000\n-#define IXGBE_RXDADV_IPSEC_ERROR_INVALID_PROTOCOL       0x08000000\n-#define IXGBE_RXDADV_IPSEC_ERROR_INVALID_LENGTH         0x10000000\n-#define IXGBE_RXDADV_IPSEC_ERROR_AUTH_FAILED            0x18000000\n-#define IXGBE_RXDADV_IPSEC_ERROR_BIT_MASK               0x18000000\n /* Multiple Transmit Queue Command Register */\n #define IXGBE_MTQC_RT_ENA       0x1 /* DCB Enable */\n #define IXGBE_MTQC_VT_ENA       0x2 /* VMDQ2 Enable */\n@@ -2377,6 +2372,9 @@ enum {\n #define IXGBE_RXDADV_ERR_LE     0x02000000 /* Length Error */\n #define IXGBE_RXDADV_ERR_PE     0x08000000 /* Packet Error */\n #define IXGBE_RXDADV_ERR_OSE    0x10000000 /* Oversize Error */\n+#define IXGBE_RXDADV_ERR_IPSEC_INV_PROTOCOL  0x08000000 /* overlap ERR_PE  */\n+#define IXGBE_RXDADV_ERR_IPSEC_INV_LENGTH    0x10000000 /* overlap ERR_OSE */\n+#define IXGBE_RXDADV_ERR_IPSEC_AUTH_FAILED   0x18000000\n #define IXGBE_RXDADV_ERR_USE    0x20000000 /* Undersize Error */\n #define IXGBE_RXDADV_ERR_TCPE   0x40000000 /* TCP/UDP Checksum Error */\n #define IXGBE_RXDADV_ERR_IPE    0x80000000 /* IP Checksum Error */\n@@ -2398,6 +2396,7 @@ enum {\n #define IXGBE_RXDADV_STAT_FCSTAT_FCPRSP 0x00000020 /* 10: Recv. FCP_RSP */\n #define IXGBE_RXDADV_STAT_FCSTAT_DDP    0x00000030 /* 11: Ctxt w/ DDP */\n #define IXGBE_RXDADV_STAT_TS\t\t0x00010000 /* IEEE 1588 Time Stamp */\n+#define IXGBE_RXDADV_STAT_SECP          0x00020000 /* IPsec/MACsec pkt found */\n \n /* PSRTYPE bit definitions */\n #define IXGBE_PSRTYPE_TCPHDR    0x00000010\n@@ -2464,13 +2463,6 @@ enum {\n #define IXGBE_RXDADV_PKTTYPE_ETQF_MASK  0x00000070 /* ETQF has 8 indices */\n #define IXGBE_RXDADV_PKTTYPE_ETQF_SHIFT 4          /* Right-shift 4 bits */\n \n-/* Security Processing bit Indication */\n-#define IXGBE_RXDADV_LNKSEC_STATUS_SECP         0x00020000\n-#define IXGBE_RXDADV_LNKSEC_ERROR_NO_SA_MATCH   0x08000000\n-#define IXGBE_RXDADV_LNKSEC_ERROR_REPLAY_ERROR  0x10000000\n-#define IXGBE_RXDADV_LNKSEC_ERROR_BIT_MASK      0x18000000\n-#define IXGBE_RXDADV_LNKSEC_ERROR_BAD_SIG       0x18000000\n-\n /* Masks to determine if packets should be dropped due to frame errors */\n #define IXGBE_RXD_ERR_FRAME_ERR_MASK ( \\\n \t\t\t\t      IXGBE_RXD_ERR_CE | \\\n@@ -2484,6 +2476,8 @@ enum {\n \t\t\t\t      IXGBE_RXDADV_ERR_LE | \\\n \t\t\t\t      IXGBE_RXDADV_ERR_PE | \\\n \t\t\t\t      IXGBE_RXDADV_ERR_OSE | \\\n+\t\t\t\t      IXGBE_RXDADV_ERR_IPSEC_INV_PROTOCOL | \\\n+\t\t\t\t      IXGBE_RXDADV_ERR_IPSEC_INV_LENGTH | \\\n \t\t\t\t      IXGBE_RXDADV_ERR_USE)\n \n /* Multicast bit mask */\n@@ -2893,6 +2887,7 @@ struct ixgbe_adv_tx_context_desc {\n \t\t\t\t IXGBE_ADVTXD_POPTS_SHIFT)\n #define IXGBE_ADVTXD_POPTS_TXSM (IXGBE_TXD_POPTS_TXSM << \\\n \t\t\t\t IXGBE_ADVTXD_POPTS_SHIFT)\n+#define IXGBE_ADVTXD_POPTS_IPSEC     0x00000400 /* IPSec offload request */\n #define IXGBE_ADVTXD_POPTS_ISCO_1ST  0x00000000 /* 1st TSO of iSCSI PDU */\n #define IXGBE_ADVTXD_POPTS_ISCO_MDL  0x00000800 /* Middle TSO of iSCSI PDU */\n #define IXGBE_ADVTXD_POPTS_ISCO_LAST 0x00001000 /* Last TSO of iSCSI PDU */\n@@ -2908,7 +2903,6 @@ struct ixgbe_adv_tx_context_desc {\n #define IXGBE_ADVTXD_TUCMD_L4T_SCTP  0x00001000  /* L4 Packet TYPE of SCTP */\n #define IXGBE_ADVTXD_TUCMD_L4T_RSV     0x00001800 /* RSV L4 Packet TYPE */\n #define IXGBE_ADVTXD_TUCMD_MKRREQ    0x00002000 /*Req requires Markers and CRC*/\n-#define IXGBE_ADVTXD_POPTS_IPSEC      0x00000400 /* IPSec offload request */\n #define IXGBE_ADVTXD_TUCMD_IPSEC_TYPE_ESP 0x00002000 /* IPSec Type ESP */\n #define IXGBE_ADVTXD_TUCMD_IPSEC_ENCRYPT_EN 0x00004000/* ESP Encrypt Enable */\n #define IXGBE_ADVTXT_TUCMD_FCOE      0x00008000       /* FCoE Frame Type */\n",
    "prefixes": [
        "v2",
        "next-queue",
        "01/10"
    ]
}