Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/136520/?format=api
http://patches.dpdk.org/api/patches/136520/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240208085956.1741174-5-ndabilpuram@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": "<20240208085956.1741174-5-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240208085956.1741174-5-ndabilpuram@marvell.com", "date": "2024-02-08T08:59:48", "name": "[05/13] net/cnxk: added Tx descriptor dump API", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "57ee895fbc3024599a99d9701acf38b3a5351e16", "submitter": { "id": 1202, "url": "http://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@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/20240208085956.1741174-5-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 31048, "url": "http://patches.dpdk.org/api/series/31048/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31048", "date": "2024-02-08T08:59:44", "name": "[01/13] common/cnxk: remove cn9k Inline IPsec FP opcode defines", "version": 1, "mbox": "http://patches.dpdk.org/series/31048/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/136520/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/136520/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 84DC543ACC;\n\tThu, 8 Feb 2024 10:00:51 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 893EB42E34;\n\tThu, 8 Feb 2024 10:00:18 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id BB2D442E1C\n for <dev@dpdk.org>; Thu, 8 Feb 2024 10:00:15 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 4184HMS9003404 for <dev@dpdk.org>; Thu, 8 Feb 2024 01:00:15 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3w4qsq0pts-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 08 Feb 2024 01:00:14 -0800 (PST)", "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 Thu, 8 Feb 2024 01:00:13 -0800", "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; Thu, 8 Feb 2024 01:00:13 -0800", "from hyd1588t430.caveonetworks.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 3E3DA3F708F;\n Thu, 8 Feb 2024 01:00:11 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding:content-type; s=\n pfpt0220; bh=9ualCvX3WipgHl73dvhN8yjb+Pv1R9xo6pfTUNCf6xU=; b=FoA\n s7MyLTWu0SAgfIRCWXd5JHLXijSYN3i71IrMfwFZULckHZjUqdGa62t8fcVI+yEp\n 7Z3ggOB6oQmGr38XL64NnGkoICdy5MAqcYUSbfmjsH3Gdcrf+DByQmuw7lHnarj6\n HJx4vlaq5GHE6MidBJT6bbHwZtF6LW1tEAIVhYd3eoFcbfzkjOVsVk3vJ+C5qcse\n 9wxFRxvyfJ7Xd0OxcT1URZr2A+lQDPCLvJaQUdwFupXnXubRdfw1wYMNsJjtzw31\n tqdK5sAenFhnkyPUQRkGsxWGHWnlbpBcjG2bi+S1c4W5ZTpxBMUPRn2idfDdl1Aq\n Wbx9lsdhQ4PU8Rk4jHQ==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>", "Subject": "[PATCH 05/13] net/cnxk: added Tx descriptor dump API", "Date": "Thu, 8 Feb 2024 14:29:48 +0530", "Message-ID": "<20240208085956.1741174-5-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20240208085956.1741174-1-ndabilpuram@marvell.com>", "References": "<20240208085956.1741174-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "fm20F6Jrhu1TbLX7IEZuV6SB6kQFJIS-", "X-Proofpoint-GUID": "fm20F6Jrhu1TbLX7IEZuV6SB6kQFJIS-", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2024-02-08_01,2024-02-07_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": "From: Satha Rao <skoteshwar@marvell.com>\n\nNew API to dump selected descriptor entries from SQE list.\n\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c | 1 +\n drivers/net/cnxk/cnxk_ethdev.h | 2 ++\n drivers/net/cnxk/cnxk_ethdev_ops.c | 10 ++++++++++\n 3 files changed, 13 insertions(+)", "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 2372a4e793..7640910782 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -1821,6 +1821,7 @@ struct eth_dev_ops cnxk_eth_dev_ops = {\n \t.cman_config_init = cnxk_nix_cman_config_init,\n \t.cman_config_set = cnxk_nix_cman_config_set,\n \t.cman_config_get = cnxk_nix_cman_config_get,\n+\t.eth_tx_descriptor_dump = cnxk_nix_tx_descriptor_dump,\n };\n \n void\ndiff --git a/drivers/net/cnxk/cnxk_ethdev.h b/drivers/net/cnxk/cnxk_ethdev.h\nindex 4d3ebf123b..4232cae3d2 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.h\n+++ b/drivers/net/cnxk/cnxk_ethdev.h\n@@ -557,6 +557,8 @@ int cnxk_nix_tm_mark_ip_ecn(struct rte_eth_dev *eth_dev, int mark_green,\n int cnxk_nix_tm_mark_ip_dscp(struct rte_eth_dev *eth_dev, int mark_green,\n \t\t\t int mark_yellow, int mark_red,\n \t\t\t struct rte_tm_error *error);\n+int cnxk_nix_tx_descriptor_dump(const struct rte_eth_dev *eth_dev, uint16_t qid, uint16_t offset,\n+\t\t\t\tuint16_t num, FILE *file);\n \n /* MTR */\n int cnxk_nix_mtr_ops_get(struct rte_eth_dev *dev, void *ops);\ndiff --git a/drivers/net/cnxk/cnxk_ethdev_ops.c b/drivers/net/cnxk/cnxk_ethdev_ops.c\nindex 5de2919047..e9ab8da781 100644\n--- a/drivers/net/cnxk/cnxk_ethdev_ops.c\n+++ b/drivers/net/cnxk/cnxk_ethdev_ops.c\n@@ -1313,3 +1313,13 @@ nix_priority_flow_ctrl_sq_conf(struct rte_eth_dev *eth_dev, uint16_t qid,\n exit:\n \treturn rc;\n }\n+\n+int\n+cnxk_nix_tx_descriptor_dump(const struct rte_eth_dev *eth_dev, uint16_t qid, uint16_t offset,\n+\t\t\t uint16_t num, FILE *file)\n+{\n+\tstruct cnxk_eth_dev *dev = cnxk_eth_pmd_priv(eth_dev);\n+\tstruct roc_nix *nix = &dev->nix;\n+\n+\treturn roc_nix_sq_desc_dump(nix, qid, offset, num, file);\n+}\n", "prefixes": [ "05/13" ] }{ "id": 136520, "url": "