get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 961102,
    "url": "http://patchwork.ozlabs.org/api/patches/961102/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1534981635-27417-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": "<1534981635-27417-2-git-send-email-shannon.nelson@oracle.com>",
    "list_archive_url": null,
    "date": "2018-08-22T23:47:15",
    "name": "[next-queue,2/2] ixgbe: fix the return value for unsupported VF offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "34582f0f25bc01f30cb97eb19199ce695444c61a",
    "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/1534981635-27417-2-git-send-email-shannon.nelson@oracle.com/mbox/",
    "series": [
        {
            "id": 62051,
            "url": "http://patchwork.ozlabs.org/api/series/62051/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=62051",
            "date": "2018-08-22T23:47:14",
            "name": "[next-queue,1/2] ixgbe: disallow ipsec tx offload when in sr-iov mode",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/62051/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/961102/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/961102/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.137; helo=fraxinus.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=\"iuwevlDQ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 41wklD698Xz9s3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Aug 2018 09:48:40 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 16722866C4;\n\tWed, 22 Aug 2018 23:48:39 +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 6S_u5gwUHwfP; Wed, 22 Aug 2018 23:48:38 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 86FB18668E;\n\tWed, 22 Aug 2018 23:48:38 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id C836D1C0A7F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Aug 2018 23:48:37 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id C531022694\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Aug 2018 23:48:37 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id wX8CjPD4xIV7 for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Aug 2018 23:48:37 +0000 (UTC)",
            "from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 36033221F0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Aug 2018 23:48:37 +0000 (UTC)",
            "from pps.filterd (userp2120.oracle.com [127.0.0.1])\n\tby userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id\n\tw7MNmaUe168118\n\tfor <intel-wired-lan@lists.osuosl.org>; Wed, 22 Aug 2018 23:48:36 GMT",
            "from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])\n\tby userp2120.oracle.com with ESMTP id 2kxc3qw0kp-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK) for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 22 Aug 2018 23:48:36 +0000",
            "from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])\n\tby aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw7MNmUWD013953\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK)\n\tfor <intel-wired-lan@lists.osuosl.org>; Wed, 22 Aug 2018 23:48:30 GMT",
            "from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])\n\tby aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw7MNmNkk032727\n\tfor <intel-wired-lan@lists.osuosl.org>; Wed, 22 Aug 2018 23:48:27 GMT",
            "from slnelson-mint18.us.oracle.com (/10.159.153.199)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Wed, 22 Aug 2018 16:48:09 -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 : subject :\n\tdate : message-id : in-reply-to : references; s=corp-2018-07-02;\n\tbh=/wf2bBKtxLcwcs8CnudKueqeZzqS0EytLwA1L2A3DXw=;\n\tb=iuwevlDQj0BMpVYzvuFR4ozOgoITNc4srqexT4uqon3s7xT1Slj/FaQeRzSOmNS95TkO\n\tleeNGDNFUGUYpwHw+ba3e/Y9NMWKnunIID9020DHiAP3DlIoWfHbvCn0pY02T7PDlbvl\n\t/8Kh3brizKk3+5z6aE4qVGNcHd2SAa7jSyOT0Ne+bPruZ5djk6KHElK3Va3zoHEW6CFP\n\tiLE/lJ57AK8H793RRAS1bCwuetdBY9Zxf4HWsq4z7RCvSMNqZkqwVtAhfbMeSbs2Hrd0\n\tTCKtfXQQNsUeOtaqV4wL+3KEZ1DR/Wu5xrIUCFbkvorEybGi3Ab0OnN0Ty2mw6FwcD5n\n\tiw== ",
        "From": "Shannon Nelson <shannon.nelson@oracle.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 22 Aug 2018 16:47:15 -0700",
        "Message-Id": "<1534981635-27417-2-git-send-email-shannon.nelson@oracle.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1534981635-27417-1-git-send-email-shannon.nelson@oracle.com>",
        "References": "<1534981635-27417-1-git-send-email-shannon.nelson@oracle.com>",
        "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8993\n\tsignatures=668707",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 suspectscore=1\n\tmalwarescore=0\n\tphishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=808\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1807170000 definitions=main-1808220236",
        "Subject": "[Intel-wired-lan] [PATCH next-queue 2/2] ixgbe: fix the return\n\tvalue for unsupported VF offload",
        "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>",
        "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": "When failing the request because we can't support that offload,\nreporting EOPNOTSUPP makes much more sense than ENXIO.\n\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\nindex 24076b4..7890f4a 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n@@ -898,7 +898,7 @@ int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf)\n \t * device, so block these requests for now.\n \t */\n \tif (!(sam->flags & XFRM_OFFLOAD_INBOUND)) {\n-\t\terr = -ENXIO;\n+\t\terr = -EOPNOTSUPP;\n \t\tgoto err_out;\n \t}\n \n",
    "prefixes": [
        "next-queue",
        "2/2"
    ]
}