get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 82047,
    "url": "https://patches.dpdk.org/api/patches/82047/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1603496581-35966-5-git-send-email-nicolas.chautru@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": "<1603496581-35966-5-git-send-email-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1603496581-35966-5-git-send-email-nicolas.chautru@intel.com",
    "date": "2020-10-23T23:42:58",
    "name": "[v5,4/7] app/bbdev: define wait for offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c4585330625a0102de3fd79d4f9e110b1a83740d",
    "submitter": {
        "id": 1314,
        "url": "https://patches.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@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/1603496581-35966-5-git-send-email-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 13292,
            "url": "https://patches.dpdk.org/api/series/13292/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13292",
            "date": "2020-10-23T23:42:54",
            "name": "BBDEV test updates",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/13292/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/82047/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/82047/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 97506A04B0;\n\tSat, 24 Oct 2020 01:44:43 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2180172E4;\n\tSat, 24 Oct 2020 01:43:25 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 1AFDD6968\n for <dev@dpdk.org>; Sat, 24 Oct 2020 01:43:16 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Oct 2020 16:43:12 -0700",
            "from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210])\n by orsmga004.jf.intel.com with ESMTP; 23 Oct 2020 16:43:12 -0700"
        ],
        "IronPort-SDR": [
            "\n TkYnaRFQqZh1JL2cRHOnmax7ZEZJVx8ysEIGQm0LPTbzgFwfKTOFJhMmct/0PCVQw/BlMiXhrn\n FmUl9/ItkulA==",
            "\n oCh1rSCulWpDwNFfabfWAzWS5mi6kGPb1DmLOhY7iB/AbAPEi4mRjJsYAKcWI61zp8j0b0G9Ol\n SPAOnOu0XKTA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9783\"; a=\"164248936\"",
            "E=Sophos;i=\"5.77,410,1596524400\"; d=\"scan'208\";a=\"164248936\"",
            "E=Sophos;i=\"5.77,410,1596524400\"; d=\"scan'208\";a=\"467246403\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "dev@dpdk.org,\n\takhil.goyal@nxp.com,\n\ttrix@redhat.com",
        "Cc": "david.marchand@redhat.com,\n\tNicolas Chautru <nicolas.chautru@intel.com>",
        "Date": "Fri, 23 Oct 2020 16:42:58 -0700",
        "Message-Id": "<1603496581-35966-5-git-send-email-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1603496581-35966-1-git-send-email-nicolas.chautru@intel.com>",
        "References": "<1603496581-35966-1-git-send-email-nicolas.chautru@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 4/7] app/bbdev: define wait for offload",
        "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": "Replacing magic number for default wait time for hw\noffload.\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\nAcked-by: Liu Tianjiao <tianjiao.liu@intel.com>\n---\n app/test-bbdev/test_bbdev_perf.c | 9 +++++----\n 1 file changed, 5 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c\nindex f30cbdb..39f06db 100644\n--- a/app/test-bbdev/test_bbdev_perf.c\n+++ b/app/test-bbdev/test_bbdev_perf.c\n@@ -25,6 +25,7 @@\n \n #define MAX_QUEUES RTE_MAX_LCORE\n #define TEST_REPETITIONS 1000\n+#define WAIT_OFFLOAD_US 1000\n \n #ifdef RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC\n #include <fpga_lte_fec.h>\n@@ -4451,7 +4452,7 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\ttime_st->enq_acc_total_time += stats.acc_offload_cycles;\n \n \t\t/* give time for device to process ops */\n-\t\trte_delay_us(200);\n+\t\trte_delay_us(WAIT_OFFLOAD_US);\n \n \t\t/* Start time meas for dequeue function offload latency */\n \t\tdeq_start_time = rte_rdtsc_precise();\n@@ -4542,7 +4543,7 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\ttime_st->enq_acc_total_time += stats.acc_offload_cycles;\n \n \t\t/* give time for device to process ops */\n-\t\trte_delay_us(200);\n+\t\trte_delay_us(WAIT_OFFLOAD_US);\n \n \t\t/* Start time meas for dequeue function offload latency */\n \t\tdeq_start_time = rte_rdtsc_precise();\n@@ -4630,7 +4631,7 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\ttime_st->enq_acc_total_time += stats.acc_offload_cycles;\n \n \t\t/* give time for device to process ops */\n-\t\trte_delay_us(200);\n+\t\trte_delay_us(WAIT_OFFLOAD_US);\n \n \t\t/* Start time meas for dequeue function offload latency */\n \t\tdeq_start_time = rte_rdtsc_precise();\n@@ -4713,7 +4714,7 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\ttime_st->enq_acc_total_time += stats.acc_offload_cycles;\n \n \t\t/* give time for device to process ops */\n-\t\trte_delay_us(200);\n+\t\trte_delay_us(WAIT_OFFLOAD_US);\n \n \t\t/* Start time meas for dequeue function offload latency */\n \t\tdeq_start_time = rte_rdtsc_precise();\n",
    "prefixes": [
        "v5",
        "4/7"
    ]
}