get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55598,
    "url": "http://patches.dpdk.org/api/patches/55598/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1561728562-11213-3-git-send-email-bernard.iremonger@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1561728562-11213-3-git-send-email-bernard.iremonger@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1561728562-11213-3-git-send-email-bernard.iremonger@intel.com",
    "date": "2019-06-28T13:29:22",
    "name": "[2/2] test/ipsec: fix destroy sa function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "97fc5e1c282f9ca56a2f339d6529f17e62e37d63",
    "submitter": {
        "id": 91,
        "url": "http://patches.dpdk.org/api/people/91/?format=api",
        "name": "Bernard Iremonger",
        "email": "bernard.iremonger@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "akhil.goyal@nxp.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1561728562-11213-3-git-send-email-bernard.iremonger@intel.com/mbox/",
    "series": [
        {
            "id": 5223,
            "url": "http://patches.dpdk.org/api/series/5223/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5223",
            "date": "2019-06-28T13:29:20",
            "name": "test/ipsec: fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5223/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55598/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/55598/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Bernard Iremonger <bernard.iremonger@intel.com>",
        "To": "dev@dpdk.org,\n\tkonstantin.ananyev@intel.com,\n\takhil.goyal@nxp.com",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Amp-File-Uploaded": "False",
        "References": "<1561728562-11213-1-git-send-email-bernard.iremonger@intel.com>",
        "In-Reply-To": "<1561728562-11213-1-git-send-email-bernard.iremonger@intel.com>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 804855398;\n\tFri, 28 Jun 2019 15:29:37 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 5E36D378E;\n\tFri, 28 Jun 2019 15:29:36 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t28 Jun 2019 06:29:35 -0700",
            "from sivswdev08.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.47])\n\tby orsmga007.jf.intel.com with ESMTP; 28 Jun 2019 06:29:34 -0700"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailman-Version": "2.1.15",
        "X-ExtLoop1": "1",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,427,1557212400\"; d=\"scan'208\";a=\"153371726\"",
        "Subject": "[dpdk-dev] [PATCH 2/2] test/ipsec: fix destroy sa function",
        "Date": "Fri, 28 Jun 2019 14:29:22 +0100",
        "Message-Id": "<1561728562-11213-3-git-send-email-bernard.iremonger@intel.com>",
        "Cc": "Bernard Iremonger <bernard.iremonger@intel.com>,\n\tstable@dpdk.org",
        "Precedence": "list"
    },
    "content": "Call rte_cryptodev_sym_session_clear() function.\n\nCc: stable@dpdk.org\nFixes: 05fe65eb66b2 (\"test/ipsec: introduce functional test\")\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n app/test/test_ipsec.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c\nindex 2328342..ea558fd 100644\n--- a/app/test/test_ipsec.c\n+++ b/app/test/test_ipsec.c\n@@ -1170,9 +1170,11 @@ static void\n destroy_sa(uint32_t j)\n {\n \tstruct ipsec_unitest_params *ut = &unittest_params;\n+\tstruct ipsec_testsuite_params *ts = &testsuite_params;\n \n \trte_ipsec_sa_fini(ut->ss[j].sa);\n \trte_free(ut->ss[j].sa);\n+\trte_cryptodev_sym_session_clear(ts->valid_dev, ut->ss[j].crypto.ses);\n \trte_cryptodev_sym_session_free(ut->ss[j].crypto.ses);\n \tmemset(&ut->ss[j], 0, sizeof(ut->ss[j]));\n }\n",
    "prefixes": [
        "2/2"
    ]
}