get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 956448,
    "url": "http://patchwork.ozlabs.org/api/patches/956448/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1533929050-15326-1-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": "<1533929050-15326-1-git-send-email-shannon.nelson@oracle.com>",
    "list_archive_url": null,
    "date": "2018-08-10T19:24:10",
    "name": "[next-queue] ixgbe: don't clear ipsec sa counters on hw clearing",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b49b883fb8db438b262c43bf579493e44f418b30",
    "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/1533929050-15326-1-git-send-email-shannon.nelson@oracle.com/mbox/",
    "series": [
        {
            "id": 60336,
            "url": "http://patchwork.ozlabs.org/api/series/60336/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=60336",
            "date": "2018-08-10T19:24:10",
            "name": "[next-queue] ixgbe: don't clear ipsec sa counters on hw clearing",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/60336/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/956448/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/956448/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\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=\"JZwH7ryN\"; 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 41nFSD1BdLz9s47\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 11 Aug 2018 05:24:43 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2323288778;\n\tFri, 10 Aug 2018 19:24:41 +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 M3aLqS6YmAZK; Fri, 10 Aug 2018 19:24:38 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8286E8875A;\n\tFri, 10 Aug 2018 19:24:38 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id A53AC1C0534\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Aug 2018 19:24:37 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id A1B88834BE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Aug 2018 19:24:37 +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 K5acOfLCgsb9 for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Aug 2018 19:24:37 +0000 (UTC)",
            "from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id E5818834B2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 10 Aug 2018 19:24:36 +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\tw7AJONTb153103; Fri, 10 Aug 2018 19:24:34 GMT",
            "from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])\n\tby aserp2130.oracle.com with ESMTP id 2kn1ndgsxd-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Fri, 10 Aug 2018 19:24:34 +0000",
            "from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])\n\tby userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tw7AJOWcv031866\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=OK); Fri, 10 Aug 2018 19:24:33 GMT",
            "from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16])\n\tby aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id\n\tw7AJOV9Y008378; Fri, 10 Aug 2018 19:24:32 GMT",
            "from slnelson-mint18.us.oracle.com (/10.159.230.123)\n\tby default (Oracle Beehive Gateway v4.0)\n\twith ESMTP ; Fri, 10 Aug 2018 12:24:31 -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; s=corp-2018-07-02;\n\tbh=8cHv7mcZLBMJznX8/WFVsvh1Z7Cx4v77cN+wqwIleCg=;\n\tb=JZwH7ryNVXoyjc09Y3dVPRkOpHdXcku1oJr7TKwoW7jMkmhKKjCvy+0wRgBDXwuupjpJ\n\tdnaO+xajlLVqmM8PspBWKexvYj6yGKuixcXUS2oUihmlvOREi7wHCpxL/lHa0lV5iY7G\n\tJgDtGxIeN1aS73MbAAtDZ4FUBQVJ6dk0IBPD/4TteN7SgCjLDwkPwnA4+/LeshTsXy7/\n\tHF2fqVoB8OqbUQqYpWHm54AcQDrI/I2rVjehpcE6JE3W/bJMmsxd1bdF49rb9gOH74Ep\n\tGVd3xhnLlW4lxFUr9Xle1vih0JW2H6k7i17e+MLQCALTVijPqjL7/n5ZvE0+j6rYwNjP\n\tcQ== ",
        "From": "Shannon Nelson <shannon.nelson@oracle.com>",
        "To": "intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com",
        "Date": "Fri, 10 Aug 2018 12:24:10 -0700",
        "Message-Id": "<1533929050-15326-1-git-send-email-shannon.nelson@oracle.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-Proofpoint-Virus-Version": "vendor=nai engine=5900 definitions=8981\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=537\n\tadultscore=0 classifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1807170000 definitions=main-1808100208",
        "Subject": "[Intel-wired-lan] [PATCH next-queue] ixgbe: don't clear ipsec sa\n\tcounters on hw clearing",
        "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": "The software SA record counters should not be cleared when clearing\nthe hardware tables.  This causes the counters to be out of sync\nafter a driver reset.\n\nFixes: 63a67fe229ea (\"ixgbe: add ipsec offload add and remove SA\")\nSigned-off-by: Shannon Nelson <shannon.nelson@oracle.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\nindex c116f45..df2f997 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c\n@@ -113,7 +113,6 @@ static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[])\n  **/\n static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)\n {\n-\tstruct ixgbe_ipsec *ipsec = adapter->ipsec;\n \tstruct ixgbe_hw *hw = &adapter->hw;\n \tu32 buf[4] = {0, 0, 0, 0};\n \tu16 idx;\n@@ -132,9 +131,6 @@ static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)\n \t\tixgbe_ipsec_set_tx_sa(hw, idx, buf, 0);\n \t\tixgbe_ipsec_set_rx_sa(hw, idx, 0, buf, 0, 0, 0);\n \t}\n-\n-\tipsec->num_rx_sa = 0;\n-\tipsec->num_tx_sa = 0;\n }\n \n /**\n",
    "prefixes": [
        "next-queue"
    ]
}