get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131851,
    "url": "http://patches.dpdk.org/api/patches/131851/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230923133449.3780841-8-amitprakashs@marvell.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": "<20230923133449.3780841-8-amitprakashs@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230923133449.3780841-8-amitprakashs@marvell.com",
    "date": "2023-09-23T13:34:44",
    "name": "[v3,07/12] eventdev: add support for DMA adapter service ID get",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "aa73b32dfd14e4049f6e81872d16e3f2c0d74614",
    "submitter": {
        "id": 2699,
        "url": "http://patches.dpdk.org/api/people/2699/?format=api",
        "name": "Amit Prakash Shukla",
        "email": "amitprakashs@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230923133449.3780841-8-amitprakashs@marvell.com/mbox/",
    "series": [
        {
            "id": 29609,
            "url": "http://patches.dpdk.org/api/series/29609/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29609",
            "date": "2023-09-23T13:34:37",
            "name": "event DMA adapter library support",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/29609/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/131851/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/131851/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 6B6C342624;\n\tSat, 23 Sep 2023 15:36:00 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D5A924064A;\n\tSat, 23 Sep 2023 15:35:50 +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 08C4040648\n for <dev@dpdk.org>; Sat, 23 Sep 2023 15:35:48 +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 38NDNkLQ023257; Sat, 23 Sep 2023 06:35:48 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3t9wcqgcje-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sat, 23 Sep 2023 06:35:48 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Sat, 23 Sep 2023 06:35:46 -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; Sat, 23 Sep 2023 06:35:46 -0700",
            "from localhost.localdomain (unknown [10.28.36.157])\n by maili.marvell.com (Postfix) with ESMTP id 4EAB03F7069;\n Sat, 23 Sep 2023 06:35:42 -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=/FwEiQTUH3JaVWgVwHSvUc5SX6VvAJDL+wsuVuWt/qM=;\n b=f3XXull0ckOw6e+OkF18VQHDQSJHAYXNQS6uZoN6qSxhsWnwbQKK1d/JLqQPmya/MOPX\n uNcgEHdcufGHYXxtk4ng5NNSTenFooVtCzwj22ALv/kZX4CoTeJDA58kwsZ3oRoST1Nx\n xUZP1aVO5Sm19MjX/pzGh3+34wv0KVRQ4Pb7GBFVhT8zhaau4RQyoHO3xz5faSioryys\n rVqR41xXBeZtBpWuLGoULv25HFnlEle+XXvr8NQrfTeJN+zuYJzpmJi5ELo89iBv99Ti\n d6hf09inE7IhzD6PSkuSA5Mc1DIXyLu2VCMMXiVIxuJxfFUSyjUIgnxXXAoDIgwQzX5W pQ==",
        "From": "Amit Prakash Shukla <amitprakashs@marvell.com>",
        "To": "Amit Prakash Shukla <amitprakashs@marvell.com>, Jerin Jacob\n <jerinj@marvell.com>",
        "CC": "<dev@dpdk.org>, <fengchengwen@huawei.com>, <kevin.laatz@intel.com>,\n <bruce.richardson@intel.com>, <conor.walsh@intel.com>,\n <vattunuru@marvell.com>, <g.singh@nxp.com>,\n <sachin.saxena@oss.nxp.com>, <hemant.agrawal@nxp.com>,\n <cheng1.jiang@intel.com>, <ndabilpuram@marvell.com>,\n <anoobj@marvell.com>, <mb@smartsharesystems.com>",
        "Subject": "[PATCH v3 07/12] eventdev: add support for DMA adapter service ID get",
        "Date": "Sat, 23 Sep 2023 19:04:44 +0530",
        "Message-ID": "<20230923133449.3780841-8-amitprakashs@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230923133449.3780841-1-amitprakashs@marvell.com>",
        "References": "<20230922201337.3347666-1-amitprakashs@marvell.com>\n <20230923133449.3780841-1-amitprakashs@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "sauL2A7wr0g_5bsEDaQaDC74FoiKKOWq",
        "X-Proofpoint-GUID": "sauL2A7wr0g_5bsEDaQaDC74FoiKKOWq",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-09-23_10,2023-09-21_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": "Added API support to get DMA adapter service ID. Service id\nreturned in the variable by the API call shall be used by application\nto map a service core.\n\nSigned-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>\n---\n lib/eventdev/rte_event_dma_adapter.c | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)",
    "diff": "diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c\nindex e5c2be3a2f..9e7ed622f2 100644\n--- a/lib/eventdev/rte_event_dma_adapter.c\n+++ b/lib/eventdev/rte_event_dma_adapter.c\n@@ -1134,6 +1134,23 @@ rte_event_dma_adapter_vchan_del(uint8_t id, int16_t dma_dev_id, uint16_t vchan)\n \treturn ret;\n }\n \n+int\n+rte_event_dma_adapter_service_id_get(uint8_t id, uint32_t *service_id)\n+{\n+\tstruct event_dma_adapter *adapter;\n+\n+\tEVENT_DMA_ADAPTER_ID_VALID_OR_ERR_RET(id, -EINVAL);\n+\n+\tadapter = edma_id_to_adapter(id);\n+\tif (adapter == NULL || service_id == NULL)\n+\t\treturn -EINVAL;\n+\n+\tif (adapter->service_initialized)\n+\t\t*service_id = adapter->service_id;\n+\n+\treturn adapter->service_initialized ? 0 : -ESRCH;\n+}\n+\n static int\n edma_adapter_ctrl(uint8_t id, int start)\n {\n",
    "prefixes": [
        "v3",
        "07/12"
    ]
}