get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 957184,
    "url": "http://patchwork.ozlabs.org/api/patches/957184/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1534185825-12451-7-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": "<1534185825-12451-7-git-send-email-shannon.nelson@oracle.com>",
    "list_archive_url": null,
    "date": "2018-08-13T18:43:43",
    "name": "[next-queue,6/8] ixgbevf: add defines for IPsec offload request",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9ab07e86fe295209c879a5288d20f5676d4ec058",
    "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/1534185825-12451-7-git-send-email-shannon.nelson@oracle.com/mbox/",
    "series": [
        {
            "id": 60595,
            "url": "http://patchwork.ozlabs.org/api/series/60595/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=60595",
            "date": "2018-08-13T18:43:38",
            "name": "ixgbe/ixgbevf: IPsec offload support for VFs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/60595/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/957184/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/957184/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=oracle.com",
            "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=\"T6aIMZa9\"; dkim-atps=neutral"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 41q4Py0XGfz9s8k\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 14 Aug 2018 04:44:05 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2D9F181E09;\n\tMon, 13 Aug 2018 18:44:04 +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 NFXL0sDH38bm; Mon, 13 Aug 2018 18:44:01 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4171B82B92;\n\tMon, 13 Aug 2018 18:44:01 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 8739C1CF35C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:58 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8468684923\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:58 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id MgbDj3yR3GrM for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:57 +0000 (UTC)",
            "from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id CE18B84736\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:57 +0000 (UTC)",
            "from pps.filterd (aserp2130.oracle.com [127.0.0.1])\n\tby aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw7DIdPPF019925; Mon, 13 Aug 2018 18:43:56 GMT",
            "from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])\n\tby aserp2130.oracle.com with ESMTP id 2ksnacwpnf-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Mon, 13 Aug 2018 18:43:56 +0000",
            "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w7DIht18028056\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Mon, 13 Aug 2018 18:43:55 GMT",
            "from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw7DIhsfX008060; Mon, 13 Aug 2018 18:43:55 GMT",
            "from slnelson-mint18.us.oracle.com (/10.159.144.11)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Mon, 13 Aug 2018 11:43:54 -0700"
        ],
        "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-2018-07-02; \n\tbh=lAAfuS3PCrxO5QPotJf2E1TWHr5ZLRf+yCMc43Udjh4=;\n\tb=T6aIMZa9iCebQqOvnC1Ons56jGycARJDPJ1xc02B6160KrDZMpTPvCkSB16iMYCC61AQ\n\tx1jBzPOGyLu3jCldpJZekk0UQs7/PhX8Hqb3Hh4D21GcEoef5cZ9ljilj/+E5OCFIV4I\n\t/gzrDIo/JK+6FMnYEzyd3O0q94IHtrJ06wcCWx9SFN3fKIzTIt/GvO6ZuNUloYtFz3H2\n\twN3icWQuCBCynQTa9nUiLw3OR7nayGDdrRqwZiHzhJJzv4Z/ybi3UTgYf2yGgQ0gbDMU\n\tkXB1lCLUNg8HDGl3Si8ZLRXQBvCWAHLMNsyV5AAN5bLGO1zup/RKpJJJ388ER8uyK5b7\n\tbA== ",
        "From": "Shannon Nelson <shannon.nelson@oracle.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Mon, 13 Aug 2018 11:43:43 -0700",
        "Message-Id": "<1534185825-12451-7-git-send-email-shannon.nelson@oracle.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1534185825-12451-1-git-send-email-shannon.nelson@oracle.com>",
        "References": "<1534185825-12451-1-git-send-email-shannon.nelson@oracle.com>",
        "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8984\n\tsignatures=668707",
        "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=973\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1807170000 definitions=main-1808130188",
        "Subject": "[Intel-wired-lan] [PATCH next-queue 6/8] ixgbevf: add defines for\n\tIPsec offload request",
        "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",
        "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": "Fix up the register definitions for using IPsec offloads and\nadd the new mailbox message IDs.\n\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\n drivers/net/ethernet/intel/ixgbevf/defines.h | 8 ++++++++\n drivers/net/ethernet/intel/ixgbevf/mbx.h     | 5 +++++\n 2 files changed, 13 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/defines.h b/drivers/net/ethernet/intel/ixgbevf/defines.h\nindex 700d8eb..8b627b6 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/defines.h\n+++ b/drivers/net/ethernet/intel/ixgbevf/defines.h\n@@ -133,9 +133,14 @@ typedef u32 ixgbe_link_speed;\n #define IXGBE_RXDADV_STAT_FCSTAT_NODDP\t0x00000010 /* 01: Ctxt w/o DDP */\n #define IXGBE_RXDADV_STAT_FCSTAT_FCPRSP\t0x00000020 /* 10: Recv. FCP_RSP */\n #define IXGBE_RXDADV_STAT_FCSTAT_DDP\t0x00000030 /* 11: Ctxt w/ DDP */\n+#define IXGBE_RXDADV_STAT_SECP\t\t0x00020000 /* IPsec/MACsec pkt found */\n \n #define IXGBE_RXDADV_RSSTYPE_MASK\t0x0000000F\n #define IXGBE_RXDADV_PKTTYPE_MASK\t0x0000FFF0\n+#define IXGBE_RXDADV_PKTTYPE_IPV4       0x00000010 /* IPv4 hdr present */\n+#define IXGBE_RXDADV_PKTTYPE_IPV6       0x00000040 /* IPv6 hdr present */\n+#define IXGBE_RXDADV_PKTTYPE_IPSEC_ESP  0x00001000 /* IPSec ESP */\n+#define IXGBE_RXDADV_PKTTYPE_IPSEC_AH   0x00002000 /* IPSec AH */\n #define IXGBE_RXDADV_PKTTYPE_MASK_EX\t0x0001FFF0\n #define IXGBE_RXDADV_HDRBUFLEN_MASK\t0x00007FE0\n #define IXGBE_RXDADV_RSCCNT_MASK\t0x001E0000\n@@ -250,9 +255,12 @@ struct ixgbe_adv_tx_context_desc {\n #define IXGBE_ADVTXD_TUCMD_L4T_UDP\t0x00000000  /* L4 Packet TYPE of UDP */\n #define IXGBE_ADVTXD_TUCMD_L4T_TCP\t0x00000800  /* L4 Packet TYPE of TCP */\n #define IXGBE_ADVTXD_TUCMD_L4T_SCTP\t0x00001000  /* L4 Packet TYPE of SCTP */\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_ADVTXD_IDX_SHIFT\t4 /* Adv desc Index shift */\n #define IXGBE_ADVTXD_CC\t\t0x00000080 /* Check Context */\n #define IXGBE_ADVTXD_POPTS_SHIFT\t8  /* Adv desc POPTS shift */\n+#define IXGBE_ADVTXD_POPTS_IPSEC        0x00000400 /* IPSec offload request */\n #define IXGBE_ADVTXD_POPTS_IXSM\t(IXGBE_TXD_POPTS_IXSM << \\\n \t\t\t\t IXGBE_ADVTXD_POPTS_SHIFT)\n #define IXGBE_ADVTXD_POPTS_TXSM\t(IXGBE_TXD_POPTS_TXSM << \\\ndiff --git a/drivers/net/ethernet/intel/ixgbevf/mbx.h b/drivers/net/ethernet/intel/ixgbevf/mbx.h\nindex bfd9ae1..853796c 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/mbx.h\n+++ b/drivers/net/ethernet/intel/ixgbevf/mbx.h\n@@ -62,6 +62,7 @@ enum ixgbe_pfvf_api_rev {\n \tixgbe_mbox_api_11,\t/* API version 1.1, linux/freebsd VF driver */\n \tixgbe_mbox_api_12,\t/* API version 1.2, linux/freebsd VF driver */\n \tixgbe_mbox_api_13,\t/* API version 1.3, linux/freebsd VF driver */\n+\tixgbe_mbox_api_14,\t/* API version 1.4, linux/freebsd VF driver */\n \t/* This value should always be last */\n \tixgbe_mbox_api_unknown,\t/* indicates that API version is not known */\n };\n@@ -92,6 +93,10 @@ enum ixgbe_pfvf_api_rev {\n \n #define IXGBE_VF_UPDATE_XCAST_MODE\t0x0c\n \n+/* mailbox API, version 1.4 VF requests */\n+#define IXGBE_VF_IPSEC_ADD\t0x0d\n+#define IXGBE_VF_IPSEC_DEL\t0x0e\n+\n /* length of permanent address message returned from PF */\n #define IXGBE_VF_PERMADDR_MSG_LEN\t4\n /* word in permanent address message with the current multicast type */\n",
    "prefixes": [
        "next-queue",
        "6/8"
    ]
}