get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133521,
    "url": "http://patches.dpdk.org/api/patches/133521/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231027225728.563914-5-nicolas.chautru@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": "<20231027225728.563914-5-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231027225728.563914-5-nicolas.chautru@intel.com",
    "date": "2023-10-27T22:57:22",
    "name": "[v2,04/10] test/bbdev: handle exception for LLR generation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "62005e0caf0772e89a046dd5c8c163400b1b91ce",
    "submitter": {
        "id": 1314,
        "url": "http://patches.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@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/20231027225728.563914-5-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 30034,
            "url": "http://patches.dpdk.org/api/series/30034/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30034",
            "date": "2023-10-27T22:57:18",
            "name": "test-bbdev changes for 23.11",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/30034/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133521/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/133521/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 644014321A;\n\tSat, 28 Oct 2023 01:04:41 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B25BF42DD7;\n\tSat, 28 Oct 2023 01:04:18 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.9])\n by mails.dpdk.org (Postfix) with ESMTP id A02AB40649;\n Sat, 28 Oct 2023 01:04:12 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Oct 2023 16:04:11 -0700",
            "from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..)\n ([10.233.181.123])\n by fmsmga008.fm.intel.com with ESMTP; 27 Oct 2023 16:04:10 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1698447853; x=1729983853;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=qq+AUxo7Juogf5ZYSj0/UmxhFtawmRfgRZa0z1n88lo=;\n b=a4kx0JCXIro4JVrGOB/eWM5vJFnsGLLIFC3chece7T6SAX1sIvqJoWNz\n HovfXj6RorRXAAxzdaRDQ0TrNoI7m9eM85ptVl2BeKuOJmaQ2tcEfKy/m\n T8sbdVikyIztTat7wzsFYLgZGRSZ9x4Hfj5optAZKP1Qe2IlfGpP2XIOA\n F2pFlZhElZk0wvZhbQ6fbYb2f39zg4K2fDa8p7SKuLa+kSE3BQHBGDFl4\n oCivWiSjq36V8+4gwmX1HKeEiIEgJtYRsNtUJI6mk2TTXxdQIyWeq/lZX\n xdhgfznwW0vLjU/atuCnTZfuDXpdN10XmO5wxscWBIozBbCQCkhbMawhn w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10876\"; a=\"6494077\"",
            "E=Sophos;i=\"6.03,257,1694761200\";\n   d=\"scan'208\";a=\"6494077\"",
            "E=McAfee;i=\"6600,9927,10876\"; a=\"825496966\"",
            "E=Sophos;i=\"6.03,257,1694761200\"; d=\"scan'208\";a=\"825496966\""
        ],
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "dev@dpdk.org,\n\tmaxime.coquelin@redhat.com",
        "Cc": "hemant.agrawal@nxp.com, david.marchand@redhat.com,\n hernan.vargas@intel.com,\n stable@dpdk.org",
        "Subject": "[PATCH v2 04/10] test/bbdev: handle exception for LLR generation",
        "Date": "Fri, 27 Oct 2023 22:57:22 +0000",
        "Message-Id": "<20231027225728.563914-5-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20231027225728.563914-1-nicolas.chautru@intel.com>",
        "References": "<20231027225728.563914-1-nicolas.chautru@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": "From: Hernan Vargas <hernan.vargas@intel.com>\n\nAdd range limit to prevent LLR generation greater than the data buffer\nsize.\n\nFixes: 7831a9684356 (\"test/bbdev: support BLER for 4G\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hernan Vargas <hernan.vargas@intel.com>\n---\n app/test-bbdev/test_bbdev_perf.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c\nindex d4c001de00..54cb2090f9 100644\n--- a/app/test-bbdev/test_bbdev_perf.c\n+++ b/app/test-bbdev/test_bbdev_perf.c\n@@ -1838,6 +1838,12 @@ generate_turbo_llr_input(uint16_t n, struct rte_bbdev_op_data *inputs,\n \trange = ref_op->turbo_dec.input.length;\n \tN0 = 1.0 / pow(10.0, get_snr() / 10.0);\n \n+\tif (range > inputs[0].data->data_len) {\n+\t\tprintf(\"Warning: Limiting LLR generation to first segment (%d from %d)\\n\",\n+\t\t\t\tinputs[0].data->data_len, range);\n+\t\trange = inputs[0].data->data_len;\n+\t}\n+\n \tfor (i = 0; i < n; ++i) {\n \t\tm = inputs[i].data;\n \t\tint8_t *llrs = rte_pktmbuf_mtod_offset(m, int8_t *, 0);\n",
    "prefixes": [
        "v2",
        "04/10"
    ]
}