Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131948/?format=api
http://patchwork.dpdk.org/api/patches/131948/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230926103233.3956431-11-amitprakashs@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20230926103233.3956431-11-amitprakashs@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230926103233.3956431-11-amitprakashs@marvell.com", "date": "2023-09-26T10:32:31", "name": "[v4,10/12] eventdev: add support for DMA adapter enqueue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "347ae1410116989068751e4407d267df69a2da61", "submitter": { "id": 2699, "url": "http://patchwork.dpdk.org/api/people/2699/?format=api", "name": "Amit Prakash Shukla", "email": "amitprakashs@marvell.com" }, "delegate": { "id": 310, "url": "http://patchwork.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230926103233.3956431-11-amitprakashs@marvell.com/mbox/", "series": [ { "id": 29634, "url": "http://patchwork.dpdk.org/api/series/29634/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29634", "date": "2023-09-26T10:32:21", "name": "event DMA adapter library support", "version": 4, "mbox": "http://patchwork.dpdk.org/series/29634/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/131948/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/131948/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 5704642642;\n\tTue, 26 Sep 2023 12:34:04 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 67875406B8;\n\tTue, 26 Sep 2023 12:33:55 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id C176B402E0\n for <dev@dpdk.org>; Tue, 26 Sep 2023 12:33:54 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38Q9u2O2014777; Tue, 26 Sep 2023 03:33:54 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3t9yhm0hcp-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 26 Sep 2023 03:33:54 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 26 Sep 2023 03:33:51 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Tue, 26 Sep 2023 03:33:51 -0700", "from localhost.localdomain (unknown [10.28.36.157])\n by maili.marvell.com (Postfix) with ESMTP id C3F843F70A6;\n Tue, 26 Sep 2023 03:33:46 -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=FYlC2bNr5wT5VT/e3HcTVv8MlDyDMGI6sLP9Kg+78do=;\n b=GrQV1GlBhhvBcPm8J4Sj2lrUcKdtQFmkeEDrAxMQofuEUKT6/UsR8iSUeh+oBS+iq/0g\n iJEhLJhoj0LIw3hWaLO+F4RJJfepHoXQeywFLaxnfte7IyTEjw+fdZhnob19YmW9W+ox\n VAmfVIl1UWy5Ieg+obvkueYsS24hGx+EXhowH+vGhd20X1ukKxJEmUiwR+Rm+40dgYTV\n IHdFlZvKAvqQDaAzyVBQo0rRARy4QR8dQCK4eT3OsK5Mj+8Ss+Jg5cx5ZcxEEox6NFWC\n n92KTf457fGVvP23k/FdCKFWBCveus8Me2IYEykXe/OQHwiC4vbSMtIYRPwvzyy4FrRm yg==", "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 v4 10/12] eventdev: add support for DMA adapter enqueue", "Date": "Tue, 26 Sep 2023 16:02:31 +0530", "Message-ID": "<20230926103233.3956431-11-amitprakashs@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230926103233.3956431-1-amitprakashs@marvell.com>", "References": "<20230923133449.3780841-1-amitprakashs@marvell.com>\n <20230926103233.3956431-1-amitprakashs@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "DlJa4dOgATC-ejfg5TA77CO3cmtlnSvK", "X-Proofpoint-ORIG-GUID": "DlJa4dOgATC-ejfg5TA77CO3cmtlnSvK", "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-26_07,2023-09-25_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 enqueue a DMA operation to the DMA driver.\n\nSigned-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>\n---\n lib/eventdev/rte_event_dma_adapter.c | 13 +++++++++++++\n 1 file changed, 13 insertions(+)", "diff": "diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c\nindex 35acec6caf..9770b0b8df 100644\n--- a/lib/eventdev/rte_event_dma_adapter.c\n+++ b/lib/eventdev/rte_event_dma_adapter.c\n@@ -1400,3 +1400,16 @@ rte_event_dma_adapter_stats_reset(uint8_t id)\n \n \treturn 0;\n }\n+\n+uint16_t\n+rte_event_dma_adapter_enqueue(uint8_t dev_id, uint8_t port_id, struct rte_event ev[],\n+\t\t\t uint16_t nb_events)\n+{\n+\tconst struct rte_event_fp_ops *fp_ops;\n+\tvoid *port;\n+\n+\tfp_ops = &rte_event_fp_ops[dev_id];\n+\tport = fp_ops->data[port_id];\n+\n+\treturn fp_ops->dma_enqueue(port, ev, nb_events);\n+}\n", "prefixes": [ "v4", "10/12" ] }{ "id": 131948, "url": "