get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131750,
    "url": "https://patches.dpdk.org/api/patches/131750/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230920163252.1157519-1-rbhansali@marvell.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": "<20230920163252.1157519-1-rbhansali@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230920163252.1157519-1-rbhansali@marvell.com",
    "date": "2023-09-20T16:32:51",
    "name": "[v2] eventdev/eth_rx: fix timestamp field register in mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "105c71663ecd0449ec7ed2b7f0d543863cac58d3",
    "submitter": {
        "id": 2436,
        "url": "https://patches.dpdk.org/api/people/2436/?format=api",
        "name": "Rahul Bhansali",
        "email": "rbhansali@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230920163252.1157519-1-rbhansali@marvell.com/mbox/",
    "series": [
        {
            "id": 29578,
            "url": "https://patches.dpdk.org/api/series/29578/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29578",
            "date": "2023-09-20T16:32:51",
            "name": "[v2] eventdev/eth_rx: fix timestamp field register in mbuf",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/29578/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/131750/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/131750/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 1D51D425F3;\n\tWed, 20 Sep 2023 18:33:04 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6374A40E03;\n\tWed, 20 Sep 2023 18:33:03 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id E1838402E4;\n Wed, 20 Sep 2023 18:33:01 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38K9Fdjk016029; Wed, 20 Sep 2023 09:33:01 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3t7u4dak8q-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 20 Sep 2023 09:33:00 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 20 Sep 2023 09:32:59 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Wed, 20 Sep 2023 09:32:59 -0700",
            "from localhost.localdomain (unknown [10.28.36.158])\n by maili.marvell.com (Postfix) with ESMTP id 56DA63F7095;\n Wed, 20 Sep 2023 09:32:57 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=zB6MBhLmpfdHOtroP6OLYm91gADAxQsEVMiyLMuolrY=;\n b=dJ/WxLAOa/TgqhwJdSUsbjMZbdOTEOOnTom5F1qMRVf2qjmfnH6I5S+vVtGjqTfSRiX0\n fQZrqyxd/FaSJ8rVnli4Jd5R7maxpbdK0p54sMGDxOXKK2/Qum/cwOHO8lqEX/+SvA4d\n tOZd/N+9ohaiXVq10hVSgSmob/K0TNEYwVX4L9y+6OIQHyhxWRZ6iVajHLsMN8+tr9X1\n 8lE/WYbk0PBnkjVpSZUrw4I4SwPT3kYR6XwFsZH0LEe2xUSGQDG7JKLf38hY3cCW/Bw1\n m6HgRP/sv8N1IUf4521g6+gMUSy07Sc8lkqSjqA8/Bjs6thXK1xg20RV8plDsz/C2drs rg==",
        "From": "Rahul Bhansali <rbhansali@marvell.com>",
        "To": "<dev@dpdk.org>, Naga Harish K S V <s.v.naga.harish.k@intel.com>, \"Jerin\n Jacob\" <jerinj@marvell.com>, Ganapati Kundapura\n <ganapati.kundapura@intel.com>",
        "CC": "Rahul Bhansali <rbhansali@marvell.com>, <stable@dpdk.org>",
        "Subject": "[PATCH v2] eventdev/eth_rx: fix timestamp field register in mbuf",
        "Date": "Wed, 20 Sep 2023 22:02:51 +0530",
        "Message-ID": "<20230920163252.1157519-1-rbhansali@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230918082553.704859-1-rbhansali@marvell.com>",
        "References": "<20230918082553.704859-1-rbhansali@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "yTwV-eJNOuYYXq-CRmhgVFwCRfu-K-Uv",
        "X-Proofpoint-GUID": "yTwV-eJNOuYYXq-CRmhgVFwCRfu-K-Uv",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26\n definitions=2023-09-20_06,2023-09-20_01,2023-05-22_02",
        "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": "For eventdev internal port, timestamp dynamic field registration\nin mbuf is not required as that will be done from net device.\nFor SW eventdev, Rx timestamp field registration will be\ndone during Rxa service initialization.\n\nFixes: 83ab470d1259 (\"eventdev/eth_rx: use timestamp as dynamic mbuf field\")\nCc: stable@dpdk.org\n\nSigned-off-by: Rahul Bhansali <rbhansali@marvell.com>\n---\nv2 changes:\n- addresses the review comment to have registration in rxa_init_service()\n\n lib/eventdev/rte_event_eth_rx_adapter.c | 15 ++++++++-------\n 1 file changed, 8 insertions(+), 7 deletions(-)\n\n--\n2.25.1",
    "diff": "diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c\nindex 3ebfa5366d..ddab5a71d7 100644\n--- a/lib/eventdev/rte_event_eth_rx_adapter.c\n+++ b/lib/eventdev/rte_event_eth_rx_adapter.c\n@@ -1932,6 +1932,14 @@ rxa_init_service(struct event_eth_rx_adapter *rx_adapter, uint8_t id)\n \t\t\tret);\n \t\tgoto err_done;\n \t}\n+\n+\tif (rte_mbuf_dyn_rx_timestamp_register(\n+\t\t\t&event_eth_rx_timestamp_dynfield_offset,\n+\t\t\t&event_eth_rx_timestamp_dynflag) != 0) {\n+\t\tRTE_EDEV_LOG_ERR(\"Error registering timestamp field in mbuf\\n\");\n+\t\treturn -rte_errno;\n+\t}\n+\n \trx_adapter->event_port_id = rx_adapter_conf.event_port_id;\n \trx_adapter->max_nb_rx = rx_adapter_conf.max_nb_rx;\n \trx_adapter->service_inited = 1;\n@@ -2472,13 +2480,6 @@ rxa_create(uint8_t id, uint8_t dev_id,\n \tif (conf_cb == rxa_default_conf_cb)\n \t\trx_adapter->default_cb_arg = 1;\n\n-\tif (rte_mbuf_dyn_rx_timestamp_register(\n-\t\t\t&event_eth_rx_timestamp_dynfield_offset,\n-\t\t\t&event_eth_rx_timestamp_dynflag) != 0) {\n-\t\tRTE_EDEV_LOG_ERR(\"Error registering timestamp field in mbuf\\n\");\n-\t\treturn -rte_errno;\n-\t}\n-\n \trte_eventdev_trace_eth_rx_adapter_create(id, dev_id, conf_cb,\n \t\tconf_arg);\n \treturn 0;\n",
    "prefixes": [
        "v2"
    ]
}