get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84379,
    "url": "http://patches.dpdk.org/api/patches/84379/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201119115900.4095566-10-ferruh.yigit@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": "<20201119115900.4095566-10-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201119115900.4095566-10-ferruh.yigit@intel.com",
    "date": "2020-11-19T11:58:59",
    "name": "[v21.02,v3,09/10] app/crypto-perf: remove always true condition",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f759a4fc726a3f1c82aa991779996ab5cf1de4e5",
    "submitter": {
        "id": 324,
        "url": "http://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201119115900.4095566-10-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 13979,
            "url": "http://patches.dpdk.org/api/series/13979/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13979",
            "date": "2020-11-19T11:58:50",
            "name": "cppcheck",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/13979/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84379/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84379/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2AF15A04DD;\n\tThu, 19 Nov 2020 13:02:30 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 82144C964;\n\tThu, 19 Nov 2020 12:59:30 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 502A1C93A;\n Thu, 19 Nov 2020 12:59:25 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Nov 2020 03:59:24 -0800",
            "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.180])\n by orsmga002.jf.intel.com with ESMTP; 19 Nov 2020 03:59:22 -0800"
        ],
        "IronPort-SDR": [
            "\n PpGDXP6cTimFcqlcGXmP7XG4528uNA2OIDa/SQeNJUqZ0xKSYBFjCPdbt2FZs+Mi9DEr08zerz\n z0BVCokvXqxw==",
            "\n v0pulfTynrgSzYdSsHx1S7lY4I8VRrkkvsHxymheKMXAeUpoMdarZie99LDJfcFyUZyBVQu5D/\n /7V1wzWqxTwA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9809\"; a=\"170494415\"",
            "E=Sophos;i=\"5.77,490,1596524400\"; d=\"scan'208\";a=\"170494415\"",
            "E=Sophos;i=\"5.77,490,1596524400\"; d=\"scan'208\";a=\"341665298\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "dev@dpdk.org, Declan Doherty <declan.doherty@intel.com>,\n Marcin Kerlin <marcinx.kerlin@intel.com>,\n Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>,\n Michal Kobylinski <michalx.kobylinski@intel.com>,\n Piotr Azarewicz <piotrx.t.azarewicz@intel.com>",
        "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tstable@dpdk.org",
        "Date": "Thu, 19 Nov 2020 11:58:59 +0000",
        "Message-Id": "<20201119115900.4095566-10-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20201119115900.4095566-1-ferruh.yigit@intel.com>",
        "References": "<20200824094021.2323605-1-ferruh.yigit@intel.com>\n <20201119115900.4095566-1-ferruh.yigit@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [v21.02 v3 09/10] app/crypto-perf: remove always true\n\tcondition",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This is already 'else' leg of the opposite comparison, simple 'else'\nwill be logically same.\n\nFixes: f8be1786b1b8 (\"app/crypto-perf: introduce performance test application\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n app/test-crypto-perf/main.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c\nindex 5f035519c3..99f86e9019 100644\n--- a/app/test-crypto-perf/main.c\n+++ b/app/test-crypto-perf/main.c\n@@ -390,7 +390,7 @@ cperf_check_test_vector(struct cperf_options *opts,\n \t\tif (opts->cipher_algo == RTE_CRYPTO_CIPHER_NULL) {\n \t\t\tif (test_vec->plaintext.data == NULL)\n \t\t\t\treturn -1;\n-\t\t} else if (opts->cipher_algo != RTE_CRYPTO_CIPHER_NULL) {\n+\t\t} else {\n \t\t\tif (test_vec->plaintext.data == NULL)\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->plaintext.length < opts->max_buffer_size)\n@@ -440,7 +440,7 @@ cperf_check_test_vector(struct cperf_options *opts,\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->plaintext.length < opts->max_buffer_size)\n \t\t\t\treturn -1;\n-\t\t} else if (opts->cipher_algo != RTE_CRYPTO_CIPHER_NULL) {\n+\t\t} else {\n \t\t\tif (test_vec->plaintext.data == NULL)\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->plaintext.length < opts->max_buffer_size)\n",
    "prefixes": [
        "v21.02",
        "v3",
        "09/10"
    ]
}