get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 15918,
    "url": "http://patchwork.dpdk.org/api/patches/15918/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1474282856-118262-3-git-send-email-deepak.k.jain@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1474282856-118262-3-git-send-email-deepak.k.jain@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1474282856-118262-3-git-send-email-deepak.k.jain@intel.com",
    "date": "2016-09-19T11:00:54",
    "name": "[dpdk-dev,v4,2/4] app/test: rename functions name",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a2a2455575bf2df8745b81f7a97631813c03e82d",
    "submitter": {
        "id": 422,
        "url": "http://patchwork.dpdk.org/api/people/422/?format=api",
        "name": "Deepak Kumar JAIN",
        "email": "deepak.k.jain@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "http://patchwork.dpdk.org/api/users/22/?format=api",
        "username": "pdelarag",
        "first_name": "Pablo",
        "last_name": "de Lara Guarch",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1474282856-118262-3-git-send-email-deepak.k.jain@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/15918/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/15918/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 42D1D4CE4;\n\tMon, 19 Sep 2016 13:01:06 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 50F6A37B4\n\tfor <dev@dpdk.org>; Mon, 19 Sep 2016 13:01:02 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga103.fm.intel.com with ESMTP; 19 Sep 2016 04:01:01 -0700",
            "from sie-lab-214-241.ir.intel.com (HELO\n\tsilpixa00382162.ir.intel.com) ([10.237.214.241])\n\tby orsmga003.jf.intel.com with ESMTP; 19 Sep 2016 04:01:00 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.30,361,1470726000\"; d=\"scan'208\";a=\"881405375\"",
        "From": "Deepak Kumar Jain <deepak.k.jain@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "pablo.de.lara.guarch@intel.com,\n\tDeepak Kumar Jain <deepak.k.jain@intel.com>",
        "Date": "Mon, 19 Sep 2016 12:00:54 +0100",
        "Message-Id": "<1474282856-118262-3-git-send-email-deepak.k.jain@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "In-Reply-To": "<1474282856-118262-1-git-send-email-deepak.k.jain@intel.com>",
        "References": "<1472131419-89617-1-git-send-email-deepak.k.jain@intel.com>\n\t<1474282856-118262-1-git-send-email-deepak.k.jain@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 2/4] app/test: rename functions name",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Renamed authenticated encryption and encrypted authentication\nwith easily recognixation names.\n\nSigned-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>\nAcked-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n app/test/test_cryptodev.c | 20 ++++++++++----------\n 1 file changed, 10 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 70606e6..61a474c 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -2647,7 +2647,7 @@ static int test_snow3g_decryption_oop(const struct snow3g_test_data *tdata)\n }\n \n static int\n-test_snow3g_authenticated_encryption(const struct snow3g_test_data *tdata)\n+test_snow3g_cipher_auth(const struct snow3g_test_data *tdata)\n {\n \tstruct crypto_testsuite_params *ts_params = &testsuite_params;\n \tstruct crypto_unittest_params *ut_params = &unittest_params;\n@@ -2730,7 +2730,7 @@ test_snow3g_authenticated_encryption(const struct snow3g_test_data *tdata)\n \treturn 0;\n }\n static int\n-test_snow3g_encrypted_authentication(const struct snow3g_test_data *tdata)\n+test_snow3g_auth_cipher(const struct snow3g_test_data *tdata)\n {\n \tstruct crypto_testsuite_params *ts_params = &testsuite_params;\n \tstruct crypto_unittest_params *ut_params = &unittest_params;\n@@ -2964,15 +2964,15 @@ test_snow3g_decryption_test_case_5(void)\n \treturn test_snow3g_decryption(&snow3g_test_case_5);\n }\n static int\n-test_snow3g_authenticated_encryption_test_case_1(void)\n+test_snow3g_cipher_auth_test_case_1(void)\n {\n-\treturn test_snow3g_authenticated_encryption(&snow3g_test_case_3);\n+\treturn test_snow3g_cipher_auth(&snow3g_test_case_3);\n }\n \n static int\n-test_snow3g_encrypted_authentication_test_case_1(void)\n+test_snow3g_auth_cipher_test_case_1(void)\n {\n-\treturn test_snow3g_encrypted_authentication(&snow3g_test_case_6);\n+\treturn test_snow3g_auth_cipher(&snow3g_test_case_6);\n }\n \n /* ***** AES-GCM Tests ***** */\n@@ -4113,9 +4113,9 @@ static struct unit_test_suite cryptodev_qat_testsuite  = {\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_snow3g_hash_verify_test_case_3),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n-\t\t\ttest_snow3g_authenticated_encryption_test_case_1),\n+\t\t\ttest_snow3g_cipher_auth_test_case_1),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n-\t\t\ttest_snow3g_encrypted_authentication_test_case_1),\n+\t\t\ttest_snow3g_auth_cipher_test_case_1),\n \n \t\t/** HMAC_MD5 Authentication */\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n@@ -4314,9 +4314,9 @@ static struct unit_test_suite cryptodev_sw_snow3g_testsuite  = {\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_snow3g_hash_verify_test_case_6),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n-\t\t\ttest_snow3g_authenticated_encryption_test_case_1),\n+\t\t\ttest_snow3g_cipher_auth_test_case_1),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n-\t\t\ttest_snow3g_encrypted_authentication_test_case_1),\n+\t\t\ttest_snow3g_auth_cipher_test_case_1),\n \n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t}\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "2/4"
    ]
}