get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 957175,
    "url": "http://patchwork.ozlabs.org/api/patches/957175/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1534185825-12451-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": "<1534185825-12451-2-git-send-email-shannon.nelson@oracle.com>",
    "list_archive_url": null,
    "date": "2018-08-13T18:43:38",
    "name": "[next-queue,1/8] ixgbe: reload ipsec ip table after sa tables",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0b47fee46f562b82c29450d53b38f628ca374dc4",
    "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-2-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/957175/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/957175/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.136; helo=silver.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=\"x2SpqGSl\"; dkim-atps=neutral"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 41q4Pq24FYz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 14 Aug 2018 04:43:58 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7290522E75;\n\tMon, 13 Aug 2018 18:43:57 +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 fmRw9ZKm083a; Mon, 13 Aug 2018 18:43:56 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id B018322E3F;\n\tMon, 13 Aug 2018 18:43:56 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id A6B3B1C0574\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:55 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9EC5C81E80\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:55 +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 Pne1aGYy9Y+4 for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:55 +0000 (UTC)",
            "from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 0981C81E09\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Aug 2018 18:43:54 +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\tw7DIddig189746; Mon, 13 Aug 2018 18:43:53 GMT",
            "from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])\n\tby userp2120.oracle.com with ESMTP id 2ksrepwf8r-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Mon, 13 Aug 2018 18:43:53 +0000",
            "from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])\n\tby aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw7DIhqf2022555\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Mon, 13 Aug 2018 18:43:52 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\tw7DIhpPg018389; Mon, 13 Aug 2018 18:43:51 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:51 -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=a9b2BFKADP49rsMgV0umdPPg64y/LbRnRE7JMmTrdpg=;\n\tb=x2SpqGSlvN9FyFD2TJcJp0+ZSvyTd5/yQm+IiwLwqFBpay+g3dh7lxD+XIKQkiTwtqu9\n\trhqxuju15+hwO2B2fK3DyWtVGk29mlfUY5ny3ndf1bGD4YOevT4WMIcb+mmjAnCTmfyx\n\tkbkluS8zdKwMg8gwtqIekF4XBf2h3r6WyAFORC87zxJ2mN0vRycX6Qq6tKYi7KkZO68l\n\tq9oYLVBbpm/IaJxKRfymrQ7xcKwJWis4WBYxZovl5yaiCrmRhuUmf9bhj7ltDrVHRmiu\n\tGLTS5mmccOsNIfNiZXHSxr5JQ8lwJeaTjRjq7b6//eP/7FhdNkS6cYbvPdvZaY3PxS+R\n\tqw== ",
        "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:38 -0700",
        "Message-Id": "<1534185825-12451-2-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=921\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 1/8] ixgbe: reload ipsec ip\n\ttable after sa tables",
        "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": "Restore the ipsec hardware IP table after reloading the SA tables.\nThis doesn't make much difference now, but will matter when we add\nsupport for VF ipsec offloads.\n\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\nindex e515246..4340651 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n@@ -301,14 +301,6 @@ void ixgbe_ipsec_restore(struct ixgbe_adapter *adapter)\n \tixgbe_ipsec_clear_hw_tables(adapter);\n \tixgbe_ipsec_start_engine(adapter);\n \n-\t/* reload the IP addrs */\n-\tfor (i = 0; i < IXGBE_IPSEC_MAX_RX_IP_COUNT; i++) {\n-\t\tstruct rx_ip_sa *ipsa = &ipsec->ip_tbl[i];\n-\n-\t\tif (ipsa->used)\n-\t\t\tixgbe_ipsec_set_rx_ip(hw, i, ipsa->ipaddr);\n-\t}\n-\n \t/* reload the Rx and Tx keys */\n \tfor (i = 0; i < IXGBE_IPSEC_MAX_SA_COUNT; i++) {\n \t\tstruct rx_sa *rsa = &ipsec->rx_tbl[i];\n@@ -322,6 +314,14 @@ void ixgbe_ipsec_restore(struct ixgbe_adapter *adapter)\n \t\tif (tsa->used)\n \t\t\tixgbe_ipsec_set_tx_sa(hw, i, tsa->key, tsa->salt);\n \t}\n+\n+\t/* reload the IP addrs */\n+\tfor (i = 0; i < IXGBE_IPSEC_MAX_RX_IP_COUNT; i++) {\n+\t\tstruct rx_ip_sa *ipsa = &ipsec->ip_tbl[i];\n+\n+\t\tif (ipsa->used)\n+\t\t\tixgbe_ipsec_set_rx_ip(hw, i, ipsa->ipaddr);\n+\t}\n }\n \n /**\n",
    "prefixes": [
        "next-queue",
        "1/8"
    ]
}