Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/111475/?format=api
http://patchwork.dpdk.org/api/patches/111475/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220520052230.3680344-2-rbhansali@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": "<20220520052230.3680344-2-rbhansali@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220520052230.3680344-2-rbhansali@marvell.com", "date": "2022-05-20T05:22:30", "name": "[2/2] common/cnxk: print NIX inline outbound CPT LF registers", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "081487ca85b79d1a45ca2eb45d68e5b383aec163", "submitter": { "id": 2436, "url": "http://patchwork.dpdk.org/api/people/2436/?format=api", "name": "Rahul Bhansali", "email": "rbhansali@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/20220520052230.3680344-2-rbhansali@marvell.com/mbox/", "series": [ { "id": 23055, "url": "http://patchwork.dpdk.org/api/series/23055/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=23055", "date": "2022-05-20T05:22:29", "name": "[1/2] common/cnxk: decrypt packet count register update", "version": 1, "mbox": "http://patchwork.dpdk.org/series/23055/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/111475/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/111475/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 01CE5A0503;\n\tFri, 20 May 2022 07:25:11 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DEAF440156;\n\tFri, 20 May 2022 07:25:10 +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 981CA40151\n for <dev@dpdk.org>; Fri, 20 May 2022 07:25:08 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 24JNtIR5018336;\n Thu, 19 May 2022 22:23:04 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g6008s25s-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 19 May 2022 22:23:04 -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.18;\n Thu, 19 May 2022 22:23:03 -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.2 via Frontend\n Transport; Thu, 19 May 2022 22:23:02 -0700", "from localhost.localdomain (unknown [10.28.48.107])\n by maili.marvell.com (Postfix) with ESMTP id 86F553F70A6;\n Thu, 19 May 2022 22:23:00 -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=0DUYSCbeStiJbzxldmwoaoNCk5xDKzUMXuOen0MZPWM=;\n b=EDmNIDo7qjVR5zkwI1fkFy/ftgVgas3V8hkzCAXhPIpziFX7mun1UTthdLni0nWRzKui\n EIlmEbbfinE0Ftm8TVUOmpQ7ozZ4YkU5eqD4fCtGf4YEMohdryKfpD72jFF+NGBEAH7N\n jAzJ4yr92nOYMwNwAgT9m6uea6gSR8GZyQ5/YlrRnVGmrzPNstUpndytWyFDRPx7DVFc\n br/IZbQ8cW6Njatx45TqcvpikHuSWXzSH8EZAreQZ6Bvw6CASmeBmF17w4f5Ff18FLdZ\n nPACXdS458wbuPx+Zi95u+2cCnGcvEv2rULdzPDSjKNkloWYw46W1QOPIdDzYZ8EpVjp Mw==", "From": "Rahul Bhansali <rbhansali@marvell.com>", "To": "<dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>, Ray Kinsella <mdr@ashroe.eu>", "CC": "<jerinj@marvell.com>, Rahul Bhansali <rbhansali@marvell.com>", "Subject": "[PATCH 2/2] common/cnxk: print NIX inline outbound CPT LF registers", "Date": "Fri, 20 May 2022 10:52:30 +0530", "Message-ID": "<20220520052230.3680344-2-rbhansali@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220520052230.3680344-1-rbhansali@marvell.com>", "References": "<20220520052230.3680344-1-rbhansali@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "SZzKWp0XfgGBIlTtflh_AnhqgerEw1Mq", "X-Proofpoint-ORIG-GUID": "SZzKWp0XfgGBIlTtflh_AnhqgerEw1Mq", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-05-20_01,2022-05-19_03,2022-02-23_01", "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": "This add the support to dump NIX inline outbound CPT LF\nregisters.\n\nSigned-off-by: Rahul Bhansali <rbhansali@marvell.com>\n---\n drivers/common/cnxk/roc_nix_debug.c | 14 ++++++++++++++\n drivers/common/cnxk/roc_nix_inl.h | 1 +\n drivers/common/cnxk/version.map | 1 +\n 3 files changed, 16 insertions(+)", "diff": "diff --git a/drivers/common/cnxk/roc_nix_debug.c b/drivers/common/cnxk/roc_nix_debug.c\nindex e05e60daea..efac7e5b14 100644\n--- a/drivers/common/cnxk/roc_nix_debug.c\n+++ b/drivers/common/cnxk/roc_nix_debug.c\n@@ -1272,3 +1272,17 @@ roc_nix_inl_dev_dump(struct roc_nix_inl_dev *roc_inl_dev)\n \tfor (i = 0; i < inl_dev->nb_rqs; i++)\n \t\troc_nix_rq_dump(&inl_dev->rqs[i]);\n }\n+\n+void\n+roc_nix_inl_outb_cpt_lfs_dump(struct roc_nix *roc_nix)\n+{\n+\tstruct nix *nix = roc_nix_to_nix_priv(roc_nix);\n+\tstruct roc_cpt_lf *lf_base = nix->cpt_lf_base;\n+\tint i;\n+\n+\tnix_dump(\"nix@%p\", nix);\n+\tfor (i = 0; i < nix->nb_cpt_lf; i++) {\n+\t\tnix_dump(\"NIX inline dev outbound CPT LFs:\");\n+\t\tcpt_lf_print(&lf_base[i]);\n+\t}\n+}\ndiff --git a/drivers/common/cnxk/roc_nix_inl.h b/drivers/common/cnxk/roc_nix_inl.h\nindex 7835ba364d..b1b4c5b471 100644\n--- a/drivers/common/cnxk/roc_nix_inl.h\n+++ b/drivers/common/cnxk/roc_nix_inl.h\n@@ -200,5 +200,6 @@ int __roc_api roc_nix_inl_sa_sync(struct roc_nix *roc_nix, void *sa, bool inb,\n \t\t\t\t enum roc_nix_inl_sa_sync_op op);\n int __roc_api roc_nix_inl_ctx_write(struct roc_nix *roc_nix, void *sa_dptr,\n \t\t\t\t void *sa_cptr, bool inb, uint16_t sa_len);\n+void __roc_api roc_nix_inl_outb_cpt_lfs_dump(struct roc_nix *roc_nix);\n \n #endif /* _ROC_NIX_INL_H_ */\ndiff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map\nindex a77f3f6e3c..1ba5b4f438 100644\n--- a/drivers/common/cnxk/version.map\n+++ b/drivers/common/cnxk/version.map\n@@ -161,6 +161,7 @@ INTERNAL {\n \troc_nix_inl_ts_pkind_set;\n \troc_nix_inl_ctx_write;\n \troc_nix_inl_dev_pffunc_get;\n+\troc_nix_inl_outb_cpt_lfs_dump;\n \troc_nix_cpt_ctx_cache_sync;\n \troc_nix_is_lbk;\n \troc_nix_is_pf;\n", "prefixes": [ "2/2" ] }{ "id": 111475, "url": "