get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 124752,
    "url": "http://patches.dpdk.org/api/patches/124752/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230302202211.170017-16-hernan.vargas@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": "<20230302202211.170017-16-hernan.vargas@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230302202211.170017-16-hernan.vargas@intel.com",
    "date": "2023-03-02T20:22:09",
    "name": "[v3,15/17] test/bbdev: use mbuf reset function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d3cf52e28202d056ee5c766431ff9af7de3f164a",
    "submitter": {
        "id": 2659,
        "url": "http://patches.dpdk.org/api/people/2659/?format=api",
        "name": "Hernan Vargas",
        "email": "hernan.vargas@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230302202211.170017-16-hernan.vargas@intel.com/mbox/",
    "series": [
        {
            "id": 27233,
            "url": "http://patches.dpdk.org/api/series/27233/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27233",
            "date": "2023-03-02T20:21:54",
            "name": "test/bbdev: changes for 23.03",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/27233/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/124752/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/124752/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 E7F7C41DB8;\n\tThu,  2 Mar 2023 21:23:45 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A0A0D42D75;\n\tThu,  2 Mar 2023 21:22:16 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id E29CC42D12\n for <dev@dpdk.org>; Thu,  2 Mar 2023 21:22:06 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Mar 2023 12:22:06 -0800",
            "from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103])\n by orsmga008.jf.intel.com with ESMTP; 02 Mar 2023 12:22:05 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1677788527; x=1709324527;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=vhG7e2KZdohe+Y9YfQZLKcoO+EBphDpN6L8bY398obQ=;\n b=UhOTYaqY9FS7DooHDgsrsSI001TuNGAel2HlsWzs975wanPCTb+j6AYM\n G86rr7bdMxuqGaQKaYV+bR3pZeo0mJDV5SJ0SNUtegAOgr3+XSuf5CHCS\n HIid3prrJdfx9tE4zX1kwLXlGj5mrQV0XNOAo/53Bu1AS6Q+YlEenm29x\n HKVlmR+VP7oYgPCyv0IEJXAXZSHHI5DKegAb1Yp6O/UQL5VctGOl6u0/p\n o0bpnMX8rylh5sydmwff9lUDdb6r5gzNLrSHMQ+1O9o2D0Kng2tXOufJ6\n PbrK4o6wydqHuSGfJB9Ty7+mPt+GH1Jw6N+qRBNwUI7B3Wy93fqAo0JAN w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10637\"; a=\"334871231\"",
            "E=Sophos;i=\"5.98,228,1673942400\"; d=\"scan'208\";a=\"334871231\"",
            "E=McAfee;i=\"6500,9779,10637\"; a=\"705398136\"",
            "E=Sophos;i=\"5.98,228,1673942400\"; d=\"scan'208\";a=\"705398136\""
        ],
        "X-ExtLoop1": "1",
        "From": "Hernan Vargas <hernan.vargas@intel.com>",
        "To": "dev@dpdk.org, gakhil@marvell.com, trix@redhat.com,\n maxime.coquelin@redhat.com",
        "Cc": "nicolas.chautru@intel.com, qi.z.zhang@intel.com,\n Hernan Vargas <hernan.vargas@intel.com>",
        "Subject": "[PATCH v3 15/17] test/bbdev: use mbuf reset function",
        "Date": "Thu,  2 Mar 2023 12:22:09 -0800",
        "Message-Id": "<20230302202211.170017-16-hernan.vargas@intel.com>",
        "X-Mailer": "git-send-email 2.37.1",
        "In-Reply-To": "<20230302202211.170017-1-hernan.vargas@intel.com>",
        "References": "<20230302202211.170017-1-hernan.vargas@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Use mbuf_reset function for code consistency.\nNo functional impact.\n\nSigned-off-by: Hernan Vargas <hernan.vargas@intel.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n app/test-bbdev/test_bbdev_perf.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c\nindex da5c3a4bc9a7..b92254519fdf 100644\n--- a/app/test-bbdev/test_bbdev_perf.c\n+++ b/app/test-bbdev/test_bbdev_perf.c\n@@ -3185,11 +3185,11 @@ throughput_intr_lcore_ldpc_dec(void *arg)\n \tfor (j = 0; j < TEST_REPETITIONS; ++j) {\n \t\tfor (i = 0; i < num_to_process; ++i) {\n \t\t\tif (!loopback)\n-\t\t\t\trte_pktmbuf_reset(ops[i]->ldpc_dec.hard_output.data);\n+\t\t\t\tmbuf_reset(ops[i]->ldpc_dec.hard_output.data);\n \t\t\tif (hc_out || loopback)\n \t\t\t\tmbuf_reset(ops[i]->ldpc_dec.harq_combined_output.data);\n \t\t\tif (ops[i]->ldpc_dec.soft_output.data != NULL)\n-\t\t\t\trte_pktmbuf_reset(ops[i]->ldpc_dec.soft_output.data);\n+\t\t\t\tmbuf_reset(ops[i]->ldpc_dec.soft_output.data);\n \t\t}\n \n \t\ttp->start_time = rte_rdtsc_precise();\n@@ -3279,9 +3279,9 @@ throughput_intr_lcore_dec(void *arg)\n \n \tfor (j = 0; j < TEST_REPETITIONS; ++j) {\n \t\tfor (i = 0; i < num_to_process; ++i) {\n-\t\t\trte_pktmbuf_reset(ops[i]->turbo_dec.hard_output.data);\n+\t\t\tmbuf_reset(ops[i]->turbo_dec.hard_output.data);\n \t\t\tif (ops[i]->turbo_dec.soft_output.data != NULL)\n-\t\t\t\trte_pktmbuf_reset(ops[i]->turbo_dec.soft_output.data);\n+\t\t\t\tmbuf_reset(ops[i]->turbo_dec.soft_output.data);\n \t\t}\n \n \t\ttp->start_time = rte_rdtsc_precise();\n@@ -3368,7 +3368,7 @@ throughput_intr_lcore_enc(void *arg)\n \n \tfor (j = 0; j < TEST_REPETITIONS; ++j) {\n \t\tfor (i = 0; i < num_to_process; ++i)\n-\t\t\trte_pktmbuf_reset(ops[i]->turbo_enc.output.data);\n+\t\t\tmbuf_reset(ops[i]->turbo_enc.output.data);\n \n \t\ttp->start_time = rte_rdtsc_precise();\n \t\tfor (enqueued = 0; enqueued < num_to_process;) {\n@@ -3456,7 +3456,7 @@ throughput_intr_lcore_ldpc_enc(void *arg)\n \n \tfor (j = 0; j < TEST_REPETITIONS; ++j) {\n \t\tfor (i = 0; i < num_to_process; ++i)\n-\t\t\trte_pktmbuf_reset(ops[i]->turbo_enc.output.data);\n+\t\t\tmbuf_reset(ops[i]->turbo_enc.output.data);\n \n \t\ttp->start_time = rte_rdtsc_precise();\n \t\tfor (enqueued = 0; enqueued < num_to_process;) {\n@@ -3544,7 +3544,7 @@ throughput_intr_lcore_fft(void *arg)\n \n \tfor (j = 0; j < TEST_REPETITIONS; ++j) {\n \t\tfor (i = 0; i < num_to_process; ++i)\n-\t\t\trte_pktmbuf_reset(ops[i]->fft.base_output.data);\n+\t\t\tmbuf_reset(ops[i]->fft.base_output.data);\n \n \t\ttp->start_time = rte_rdtsc_precise();\n \t\tfor (enqueued = 0; enqueued < num_to_process;) {\n",
    "prefixes": [
        "v3",
        "15/17"
    ]
}