get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 95085,
    "url": "https://patches.dpdk.org/api/patches/95085/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210630152939.463904-1-rebecca.troy@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20210630152939.463904-1-rebecca.troy@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210630152939.463904-1-rebecca.troy@intel.com",
    "date": "2021-06-30T15:29:39",
    "name": "test/crypto: rename slave to worker",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ade1a148b4695b2bc8bc26252d800d1921aa2176",
    "submitter": {
        "id": 2273,
        "url": "https://patches.dpdk.org/api/people/2273/?format=api",
        "name": "Rebecca Troy",
        "email": "rebecca.troy@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "https://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210630152939.463904-1-rebecca.troy@intel.com/mbox/",
    "series": [
        {
            "id": 17554,
            "url": "https://patches.dpdk.org/api/series/17554/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17554",
            "date": "2021-06-30T15:29:39",
            "name": "test/crypto: rename slave to worker",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17554/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/95085/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/95085/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id CA5F2A0A0F;\n\tWed, 30 Jun 2021 17:29:56 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 57F1140141;\n\tWed, 30 Jun 2021 17:29:56 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 2CEDF40040\n for <dev@dpdk.org>; Wed, 30 Jun 2021 17:29:53 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jun 2021 08:29:52 -0700",
            "from silpixa00400904.ir.intel.com ([10.243.23.83])\n by fmsmga007.fm.intel.com with ESMTP; 30 Jun 2021 08:29:51 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10031\"; a=\"195659215\"",
            "E=Sophos;i=\"5.83,312,1616482800\"; d=\"scan'208\";a=\"195659215\"",
            "E=Sophos;i=\"5.83,312,1616482800\"; d=\"scan'208\";a=\"420036708\""
        ],
        "X-ExtLoop1": "1",
        "From": "Rebecca Troy <rebecca.troy@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ciara.power@intel.com, Rebecca Troy <rebecca.troy@intel.com>,\n Declan Doherty <declan.doherty@intel.com>",
        "Date": "Wed, 30 Jun 2021 15:29:39 +0000",
        "Message-Id": "<20210630152939.463904-1-rebecca.troy@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] test/crypto: rename slave to worker",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "Modifies the scheduler tests in the crypto unit test suite\nto replace the usage of the word 'slave' with the more\nappropriate word 'worker'.\n\nThe scheduler test functions were modified as follows:\ntest_scheduler_attach_slave_op is now called\ntest_scheduler_attach_worker_op,\ntest_scheduler_detach_slave_op is\ntest_scheduler_detach_worker_op.\n\nSigned-off-by: Rebecca Troy <rebecca.troy@intel.com>\n---\n app/test/test_cryptodev.c | 18 +++++++++---------\n 1 file changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 39db52b17a..1725d6154c 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -13474,7 +13474,7 @@ scheduler_testsuite_setup(void)\n }\n \n static int\n-test_scheduler_attach_slave_op(void)\n+test_scheduler_attach_worker_op(void)\n {\n \tstruct crypto_testsuite_params *ts_params = &testsuite_params;\n \tuint8_t sched_id = ts_params->valid_devs[0];\n@@ -13584,7 +13584,7 @@ test_scheduler_attach_slave_op(void)\n }\n \n static int\n-test_scheduler_detach_slave_op(void)\n+test_scheduler_detach_worker_op(void)\n {\n \tstruct crypto_testsuite_params *ts_params = &testsuite_params;\n \tuint8_t sched_id = ts_params->valid_devs[0];\n@@ -13650,7 +13650,7 @@ test_scheduler_mode_pkt_size_distr_op(void)\n static int\n scheduler_multicore_testsuite_setup(void)\n {\n-\tif (test_scheduler_attach_slave_op() < 0)\n+\tif (test_scheduler_attach_worker_op() < 0)\n \t\treturn TEST_SKIPPED;\n \tif (test_scheduler_mode_op(CDEV_SCHED_MODE_MULTICORE) < 0)\n \t\treturn TEST_SKIPPED;\n@@ -13660,7 +13660,7 @@ scheduler_multicore_testsuite_setup(void)\n static int\n scheduler_roundrobin_testsuite_setup(void)\n {\n-\tif (test_scheduler_attach_slave_op() < 0)\n+\tif (test_scheduler_attach_worker_op() < 0)\n \t\treturn TEST_SKIPPED;\n \tif (test_scheduler_mode_op(CDEV_SCHED_MODE_ROUNDROBIN) < 0)\n \t\treturn TEST_SKIPPED;\n@@ -13670,7 +13670,7 @@ scheduler_roundrobin_testsuite_setup(void)\n static int\n scheduler_failover_testsuite_setup(void)\n {\n-\tif (test_scheduler_attach_slave_op() < 0)\n+\tif (test_scheduler_attach_worker_op() < 0)\n \t\treturn TEST_SKIPPED;\n \tif (test_scheduler_mode_op(CDEV_SCHED_MODE_FAILOVER) < 0)\n \t\treturn TEST_SKIPPED;\n@@ -13680,7 +13680,7 @@ scheduler_failover_testsuite_setup(void)\n static int\n scheduler_pkt_size_distr_testsuite_setup(void)\n {\n-\tif (test_scheduler_attach_slave_op() < 0)\n+\tif (test_scheduler_attach_worker_op() < 0)\n \t\treturn TEST_SKIPPED;\n \tif (test_scheduler_mode_op(CDEV_SCHED_MODE_PKT_SIZE_DISTR) < 0)\n \t\treturn TEST_SKIPPED;\n@@ -13690,7 +13690,7 @@ scheduler_pkt_size_distr_testsuite_setup(void)\n static void\n scheduler_mode_testsuite_teardown(void)\n {\n-\ttest_scheduler_detach_slave_op();\n+\ttest_scheduler_detach_worker_op();\n }\n \n #endif /* RTE_CRYPTO_SCHEDULER */\n@@ -14652,12 +14652,12 @@ test_cryptodev_scheduler(void /*argv __rte_unused, int argc __rte_unused*/)\n \tstatic struct unit_test_suite scheduler_config = {\n \t\t.suite_name = \"Crypto Device Scheduler Config Unit Test Suite\",\n \t\t.unit_test_cases = {\n-\t\t\tTEST_CASE(test_scheduler_attach_slave_op),\n+\t\t\tTEST_CASE(test_scheduler_attach_worker_op),\n \t\t\tTEST_CASE(test_scheduler_mode_multicore_op),\n \t\t\tTEST_CASE(test_scheduler_mode_roundrobin_op),\n \t\t\tTEST_CASE(test_scheduler_mode_failover_op),\n \t\t\tTEST_CASE(test_scheduler_mode_pkt_size_distr_op),\n-\t\t\tTEST_CASE(test_scheduler_detach_slave_op),\n+\t\t\tTEST_CASE(test_scheduler_detach_worker_op),\n \n \t\t\tTEST_CASES_END() /**< NULL terminate array */\n \t\t}\n",
    "prefixes": []
}