get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139076,
    "url": "http://patches.dpdk.org/api/patches/139076/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240403101624.2771140-3-haijie1@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": "<20240403101624.2771140-3-haijie1@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240403101624.2771140-3-haijie1@huawei.com",
    "date": "2024-04-03T10:16:20",
    "name": "[2/5] net/hns3: fix read Rx timestamp handle",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6d3c26a0f4866ebb7232121ca28b494da90818e9",
    "submitter": {
        "id": 2935,
        "url": "http://patches.dpdk.org/api/people/2935/?format=api",
        "name": "Jie Hai",
        "email": "haijie1@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240403101624.2771140-3-haijie1@huawei.com/mbox/",
    "series": [
        {
            "id": 31665,
            "url": "http://patches.dpdk.org/api/series/31665/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31665",
            "date": "2024-04-03T10:16:19",
            "name": "net/hns3: add some bugfix",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31665/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139076/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139076/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 8F1C843DE7;\n\tWed,  3 Apr 2024 12:22:02 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 742524064E;\n\tWed,  3 Apr 2024 12:21:49 +0200 (CEST)",
            "from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by mails.dpdk.org (Postfix) with ESMTP id 51BEC4025C\n for <dev@dpdk.org>; Wed,  3 Apr 2024 12:21:45 +0200 (CEST)",
            "from mail.maildlp.com (unknown [172.19.163.44])\n by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4V8ghK6DyWz1h5F0\n for <dev@dpdk.org>; Wed,  3 Apr 2024 18:18:57 +0800 (CST)",
            "from kwepemd100004.china.huawei.com (unknown [7.221.188.31])\n by mail.maildlp.com (Postfix) with ESMTPS id 636AA1400D3\n for <dev@dpdk.org>; Wed,  3 Apr 2024 18:21:43 +0800 (CST)",
            "from localhost.localdomain (10.67.165.2) by\n kwepemd100004.china.huawei.com (7.221.188.31) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1258.28; Wed, 3 Apr 2024 18:21:42 +0800"
        ],
        "From": "Jie Hai <haijie1@huawei.com>",
        "To": "<dev@dpdk.org>, Yisen Zhuang <yisen.zhuang@huawei.com>, \"Min Hu (Connor)\"\n <humin29@huawei.com>",
        "CC": "<lihuisong@huawei.com>, <fengchengwen@huawei.com>,\n <liuyonglong@huawei.com>, <huangdengdui@huawei.com>, <haijie1@huawei.com>",
        "Subject": "[PATCH 2/5] net/hns3: fix read Rx timestamp handle",
        "Date": "Wed, 3 Apr 2024 18:16:20 +0800",
        "Message-ID": "<20240403101624.2771140-3-haijie1@huawei.com>",
        "X-Mailer": "git-send-email 2.30.0",
        "In-Reply-To": "<20240403101624.2771140-1-haijie1@huawei.com>",
        "References": "<20240403101624.2771140-1-haijie1@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.67.165.2]",
        "X-ClientProxiedBy": "dggems706-chm.china.huawei.com (10.3.19.183) To\n kwepemd100004.china.huawei.com (7.221.188.31)",
        "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: Dengdui Huang <huangdengdui@huawei.com>\n\nThe flag RTE_MBUF_F_RX_IEEE1588_PTP depends on the packet\ntype and does not need to be set when reading Rx timestamp.\n\nFixes: 38b539d96eb6 (\"net/hns3: support IEEE 1588 PTP\")\nCc: stable@dpdk.org\n\nSigned-off-by: Dengdui Huang <huangdengdui@huawei.com>\nSigned-off-by: Jie Hai <haijie1@huawei.com>\n---\n drivers/net/hns3/hns3_rxtx.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c\nindex 3e7dd1057940..54bf724a0e6c 100644\n--- a/drivers/net/hns3/hns3_rxtx.c\n+++ b/drivers/net/hns3/hns3_rxtx.c\n@@ -2389,8 +2389,7 @@ hns3_rx_ptp_timestamp_handle(struct hns3_rx_queue *rxq, struct rte_mbuf *mbuf,\n {\n \tstruct hns3_pf *pf = HNS3_DEV_PRIVATE_TO_PF(rxq->hns);\n \n-\tmbuf->ol_flags |= RTE_MBUF_F_RX_IEEE1588_PTP |\n-\t\t\t  RTE_MBUF_F_RX_IEEE1588_TMST;\n+\tmbuf->ol_flags |= RTE_MBUF_F_RX_IEEE1588_TMST;\n \tif (hns3_timestamp_rx_dynflag > 0) {\n \t\t*RTE_MBUF_DYNFIELD(mbuf, hns3_timestamp_dynfield_offset,\n \t\t\trte_mbuf_timestamp_t *) = timestamp;\n",
    "prefixes": [
        "2/5"
    ]
}