get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44712,
    "url": "http://patches.dpdk.org/api/patches/44712/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1536917088-5529-3-git-send-email-anoob.joseph@caviumnetworks.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": "<1536917088-5529-3-git-send-email-anoob.joseph@caviumnetworks.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536917088-5529-3-git-send-email-anoob.joseph@caviumnetworks.com",
    "date": "2018-09-14T09:24:47",
    "name": "[2/3] app/test-crypto-perf: fix check for auth key",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "48e908b9e1937ef81354bee4b19907abdab07dc2",
    "submitter": {
        "id": 893,
        "url": "http://patches.dpdk.org/api/people/893/?format=api",
        "name": "Anoob Joseph",
        "email": "anoob.joseph@caviumnetworks.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/1536917088-5529-3-git-send-email-anoob.joseph@caviumnetworks.com/mbox/",
    "series": [
        {
            "id": 1319,
            "url": "http://patches.dpdk.org/api/series/1319/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1319",
            "date": "2018-09-14T09:24:45",
            "name": "fix test vector checks",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1319/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44712/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44712/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "MIME-Version": "1.0",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BN7PR07MB4897;\n\t3:oyhp8JAy9rdRO/75vMeObx5Cua695Bl0OCeB8zImxhET7BVqYQSFHabNe/1YusnY5ue2V0o72Qxd4Fi1J6E0weLTWrBuQbX+jo+OHOnp+PZdm9MlkpEXVzsve+dLKbz9Ysh9i8ucKyUT2HBC8WU9uKImfrSeaZh6PWf/RH0bmWvHGJO25x2yJ9aK8Uz65sClYuRE7z0kSdYqowbTxB4FhxoclwcZpiHLrrCQlkn8RjABne6iq9TqKDJncDUCzLxW;\n\t25:FvOMH0SDv9vgz/lnDTnr5TA1TDU6CslIQtGZq9Q6Wqi1bS2H5nkiBOrNud6DQF95uFZOYzkcuc55EXnpqVgub2rzy3gpu+17ebzK+t64mNGgqmh1RPsMs8b6aG3lTcjtCzE45uxqJqfZUKmQalsoQZEtWutEGtghTOoDorD8jKl467AvX1NxqgTkDqXjRL2sMYD3iK8JrqXyRHD+/AZOtvg3cwNyhezp8zGznnSavAieOcmQ7e/UWjKG1hdokD6rLwPNMPvmcKZUALhS4BBIQg2HHVP+pAXqu//HBXIcpZkvQQoV5ayHQT7ZA2g4KdpKRPhjPn98hgs76uz6Csy7NA==;\n\t31:e1tGGcOsQelNroRj20S1pADLfM2OKvJYYlbtdeHEaISGzW5PsTmJjZWKhIHYuecN+we02fxprJ9dOnFboR1GqJfTRDqTIEFurd6afuKWritatwW+euqlX5WtfakNx398UtaTJOtPemDeUSqGMeMQ/WD3joX0VdvsMG439jSEwCEfTwkMXf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ISx3LcyCzBEK7jvNAHN5rzmRp+/ckClPj8ZRw"
        ],
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(396003)(39850400004)(366004)(376002)(346002)(136003)(189003)(199004)(97736004)(8936002)(53936002)(66066001)(476003)(6506007)(2906002)(11346002)(446003)(956004)(486006)(2616005)(386003)(186003)(6666003)(107886003)(3846002)(81156014)(16526019)(5660300001)(7736002)(305945005)(50226002)(8676002)(6116002)(81166006)(26005)(14444005)(72206003)(25786009)(4326008)(16586007)(42882007)(6512007)(316002)(478600001)(110136005)(68736007)(6486002)(50466002)(47776003)(36756003)(44832011)(76176011)(51416003)(52116002)(105586002)(48376002)(54906003)(106356001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR07MB4897;\n\tH:ajoseph83.caveonetworks.com.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "References": "<1536917088-5529-1-git-send-email-anoob.joseph@caviumnetworks.com>",
        "In-Reply-To": "<1536917088-5529-1-git-send-email-anoob.joseph@caviumnetworks.com>",
        "SpamDiagnosticOutput": "1:99",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BN7PR07MB4897",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "14 Sep 2018 09:25:15.8183\n\t(UTC)",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "SpamDiagnosticMetadata": "NSPM",
        "Content-Type": "text/plain",
        "X-MS-PublicTrafficType": "Email",
        "X-Originating-IP": "[115.113.156.2]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-BeenThere": "dev@dpdk.org",
        "X-Forefront-PRVS": "07954CC105",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "f6e1805b-d15b-47f3-18ab-08d61a23fc81",
        "Date": "Fri, 14 Sep 2018 14:54:47 +0530",
        "Message-Id": "<1536917088-5529-3-git-send-email-anoob.joseph@caviumnetworks.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Microsoft-Antispam-Message-Info": "iJGZXG7Y6eBWGR5RakcyUf+bWWbMKdAwapKEn14jnkyAwO89orXs364g1x9p3wvTi24bEgBxFXXNtnEB0r1iMReoTv1mcFkd1icPhJW6UmW7XIxrVX/g7fkOVbGD4lRRrZajUbjhWlR79t5IzSkNT53KPUfF2mrB2VSSOomfX0D742s3Tct74w+fBgTUV2kQZaH52rP5y9qIPzMYawvqFSUtsSMIAwVsHyTejW9gdNNrHVf8TJD54MKG907JugTkXFAoEtvguCelJlHIC9n8EySDFg34L6ieLLN0hkK1LIVjj5PSffwPpQVt01Z3nIttCdOVL6TrciMhhDVPxjH9knnZBd73vTdRtU+PeqTShEc=",
        "Received-SPF": "None (protection.outlook.com: cavium.com does not designate\n\tpermitted sender hosts)",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=AYm8dB9Cm1lYpqUjBvI1nclTLVUnpiVPEvyr6qC4zTo=;\n\tb=Bkix6G3mWl/A/Y7U2hrYW23FqTRkO1TdmdOhJcfrUQH023JEUDUI0Ikok93/LFQ50zE/IGGO92kX+K2Q3II8VadwCm+qVUxta7yWNveQyeOQ85B8NEla7wPi6m0OSCAs02AhII5P9r7ucbdME/SSn19qUhey4VPbydYOevEalRM=",
        "X-MS-Exchange-CrossTenant-Id": "711e4ccf-2e9b-4bcf-a551-4094005b6194",
        "From": "Anoob Joseph <anoob.joseph@caviumnetworks.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "To": "Akhil Goyal <akhil.goyal@nxp.com>,\n\tDeclan Doherty <declan.doherty@intel.com>,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3C6155B26;\n\tFri, 14 Sep 2018 11:25:22 +0200 (CEST)",
            "from NAM05-DM3-obe.outbound.protection.outlook.com\n\t(mail-eopbgr730067.outbound.protection.outlook.com [40.107.73.67])\n\tby dpdk.org (Postfix) with ESMTP id D5E0C34F3\n\tfor <dev@dpdk.org>; Fri, 14 Sep 2018 11:25:19 +0200 (CEST)",
            "from ajoseph83.caveonetworks.com.com (115.113.156.2) by\n\tBN7PR07MB4897.namprd07.prod.outlook.com (2603:10b6:406:ef::26) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1080.17; Fri, 14 Sep 2018 09:25:15 +0000"
        ],
        "X-MS-Office365-Filtering-Correlation-Id": "f6e1805b-d15b-47f3-18ab-08d61a23fc81",
        "X-Microsoft-Antispam-PRVS": "<BN7PR07MB48974BAB494E478538D030EFF8190@BN7PR07MB4897.namprd07.prod.outlook.com>",
        "X-MS-TrafficTypeDiagnostic": "BN7PR07MB4897:",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);\n\tSRVR:BN7PR07MB4897; ",
        "X-Mailer": "git-send-email 2.7.4",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Original-To": "patchwork@dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);\n\tSRVR:BN7PR07MB4897; BCL:0; PCL:0; RULEID:; SRVR:BN7PR07MB4897; ",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Mailman-Version": "2.1.15",
        "X-ClientProxiedBy": "BM1PR0101CA0013.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:18::23) To BN7PR07MB4897.namprd07.prod.outlook.com\n\t(2603:10b6:406:ef::26)",
        "X-OriginatorOrg": "caviumnetworks.com",
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "Subject": "[dpdk-dev] [PATCH 2/3] app/test-crypto-perf: fix check for auth key",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Cc": "Anoob Joseph <anoob.joseph@caviumnetworks.com>,\n\tJerin Jacob <jerin.jacob@caviumnetworks.com>,\n\tNarayana Prasad <narayanaprasad.athreya@caviumnetworks.com>,\n\tdev@dpdk.org, Ayuj Verma <ayuj.verma@caviumnetworks.com>",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=Anoob.Joseph@cavium.com; ",
        "Precedence": "list"
    },
    "content": "Authentication key is not required for all algorithms. Making sure the\nnull check is done only when 'auth_key_sz' is non-zero.\n\nFixes: f8be1786b1b8 (\"app/crypto-perf: introduce performance test application\")\n\nSigned-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>\nSigned-off-by: Ayuj Verma <ayuj.verma@caviumnetworks.com>\n---\n app/test-crypto-perf/main.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c\nindex c9f99a7..55d97c2 100644\n--- a/app/test-crypto-perf/main.c\n+++ b/app/test-crypto-perf/main.c\n@@ -357,7 +357,9 @@ 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\tif (test_vec->auth_key.data == NULL)\n+\t\t\t/* Auth key is only required for some algorithms */\n+\t\t\tif (opts->auth_key_sz &&\n+\t\t\t\t\ttest_vec->auth_key.data == NULL)\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->auth_key.length != opts->auth_key_sz)\n \t\t\t\treturn -1;\n",
    "prefixes": [
        "2/3"
    ]
}