get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120820,
    "url": "http://patches.dpdk.org/api/patches/120820/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221213101512.39919-1-lihuisong@huawei.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": "<20221213101512.39919-1-lihuisong@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221213101512.39919-1-lihuisong@huawei.com",
    "date": "2022-12-13T10:15:03",
    "name": "[V4,0/9] telemetry: fix data truncation and conversion error and add hex integer API",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 2085,
        "url": "http://patches.dpdk.org/api/people/2085/?format=api",
        "name": "lihuisong (C)",
        "email": "lihuisong@huawei.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221213101512.39919-1-lihuisong@huawei.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/120820/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/120820/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 DDEC7A0540;\n\tTue, 13 Dec 2022 11:15:16 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CC7CA40684;\n\tTue, 13 Dec 2022 11:15:16 +0100 (CET)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 6C97F40146\n for <dev@dpdk.org>; Tue, 13 Dec 2022 11:15:15 +0100 (CET)",
            "from kwepemm600004.china.huawei.com (unknown [172.30.72.53])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NWZ926rH6zJqWp;\n Tue, 13 Dec 2022 18:14:14 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.34; Tue, 13 Dec 2022 18:15:08 +0800"
        ],
        "From": "Huisong Li <lihuisong@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<bruce.richardson@intel.com>, <mb@smartsharesystems.com>,\n <andrew.rybchenko@oktetlabs.ru>, <huangdaode@huawei.com>,\n <liudongdong3@huawei.com>, <fengchengwen@huawei.com>, <lihuisong@huawei.com>",
        "Subject": "[PATCH V4 0/9] telemetry: fix data truncation and conversion error\n and add hex integer API",
        "Date": "Tue, 13 Dec 2022 18:15:03 +0800",
        "Message-ID": "<20221213101512.39919-1-lihuisong@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20221208080540.62913-1-lihuisong@huawei.com>",
        "References": "<20221208080540.62913-1-lihuisong@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems703-chm.china.huawei.com (10.3.19.180) To\n kwepemm600004.china.huawei.com (7.193.23.242)",
        "X-CFilter-Loop": "Reflected",
        "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": "Some lib telemetry interfaces add the 'u32' and 'u64' data by the\nrte_tel_data_add_dict/array_int API. This may cause data conversion\nerror or data truncation. This patch series uses 'u64' functions to\ndo this.\n\nIn addition, this patch series introduces two APIs to store unsigned\ninteger values as hexadecimal encoded strings in telemetry library. \n\n---\n -v4:\n    - remove 'u32' value type.\n    - add padding zero for hexadecimal value\n -v3: fix a misspelling mistake in commit log.\n -v2:\n    - fix ABI break warning.\n    - introduce two APIs to store u32 and u64 values as hexadecimal\n      encoded strings. \n\nHuisong Li (9):\n  telemetry: move to header to controllable range\n  ethdev: fix possible data truncation and conversion error\n  mempool: fix possible data truncation and conversion error\n  cryptodev: fix possible data conversion error\n  mem: possible data truncation and conversion error\n  telemetry: refactor mapping between value and array type\n  telemetry: support adding integer value as hexadecimal\n  test: add test cases for adding hex integer value API\n  ethdev: display capability values in hexadecimal format\n\n app/test/test_telemetry_data.c     | 158 +++++++++++++++++++++++++++++\n lib/cryptodev/rte_cryptodev.c      |   2 +-\n lib/eal/common/eal_common_memory.c |  10 +-\n lib/ethdev/rte_ethdev.c            |  19 ++--\n lib/mempool/rte_mempool.c          |  24 ++---\n lib/telemetry/rte_telemetry.h      |  55 +++++++++-\n lib/telemetry/telemetry_data.c     |  86 ++++++++++++++--\n lib/telemetry/version.map          |   9 ++\n 8 files changed, 327 insertions(+), 36 deletions(-)",
    "diff": null,
    "prefixes": [
        "V4",
        "0/9"
    ]
}