Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/114782/?format=api
http://patches.dpdk.org/api/patches/114782/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220809184908.24030-22-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": "<20220809184908.24030-22-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220809184908.24030-22-ndabilpuram@marvell.com", "date": "2022-08-09T18:49:06", "name": "[22/23] common/cnxk: add CQ limit associated with SQ", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "f929d73c30d43376a95a1d199bf1d48d3364b59e", "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/20220809184908.24030-22-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 24239, "url": "http://patches.dpdk.org/api/series/24239/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24239", "date": "2022-08-09T18:48:45", "name": "[01/23] common/cnxk: fix part value for cn10k", "version": 1, "mbox": "http://patches.dpdk.org/series/24239/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/114782/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/114782/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 6A720A04FD;\n\tTue, 9 Aug 2022 20:51:36 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 541F642C24;\n\tTue, 9 Aug 2022 20:50:52 +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 4D69D42C54\n for <dev@dpdk.org>; Tue, 9 Aug 2022 20:50:50 +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 279DD0Ct015646\n for <dev@dpdk.org>; Tue, 9 Aug 2022 11:50:49 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3huds2ukxn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 11:50:49 -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 Tue, 9 Aug 2022 11:50:47 -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; Tue, 9 Aug 2022 11:50:47 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 8B4073F7086;\n Tue, 9 Aug 2022 11:50:45 -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-type; s=pfpt0220; bh=uB4Gm7UT2YnJp82xj0MmgAAduMM4jcBF0a/TnJ2x+jI=;\n b=CFzUMdzQosD1sYVxQDRkccngLMWCTbxheGrgOY5d6s55H/LfIlz3M3GlMYEIY6S83Mea\n I66DxWUpTbmraWrm4WRd7eU7xFwGMnGlYDBh+2Xa3teeNtkGYbf0b9WvznlaM2gH/2Um\n yitZ49ARfDULaVyWqb2hCH2TOMatRDKKHds543iDDF9BXMzlay7dKDRDzh6ljhXz/Vhu\n /38JGn5NO6RRx+HMxVxICkeiTWcK9YJjWRwMQUX7mTDeX0YElBnghUMOtxUzzgVHSElO\n 4uMAPhvoZMOaKeG8INfc78GsPAHiU9+AEkWpb5kmLhxVlojIqZ+OshHUP0iqszFhy3Zd wg==", "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": "<jerinj@marvell.com>, <dev@dpdk.org>, Kommula Shiva Shankar\n <kshankar@marvell.com>", "Subject": "[PATCH 22/23] common/cnxk: add CQ limit associated with SQ", "Date": "Wed, 10 Aug 2022 00:19:06 +0530", "Message-ID": "<20220809184908.24030-22-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20220809184908.24030-1-ndabilpuram@marvell.com>", "References": "<20220809184908.24030-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "i2s3d9iqh_-PEcs_uekfOZo6xMY2ylri", "X-Proofpoint-GUID": "i2s3d9iqh_-PEcs_uekfOZo6xMY2ylri", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-08-09_05,2022-08-09_02,2022-06-22_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": "From: Kommula Shiva Shankar <kshankar@marvell.com>\n\nUpdate cq threshold limit associated with sq\n\nSigned-off-by: Kommula Shiva Shankar <kshankar@marvell.com>\n---\n drivers/common/cnxk/roc_nix.h | 1 +\n drivers/common/cnxk/roc_nix_queue.c | 2 ++\n 2 files changed, 3 insertions(+)", "diff": "diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h\nindex 8fd5990..2fddb20 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -340,6 +340,7 @@ struct roc_nix_sq {\n \tuint32_t nb_desc;\n \tuint16_t qid;\n \tuint16_t cqid;\n+\tuint16_t cq_drop_thresh;\n \tbool sso_ena;\n \tbool cq_ena;\n \t/* End of Input parameters */\ndiff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c\nindex b197de0..6030332 100644\n--- a/drivers/common/cnxk/roc_nix_queue.c\n+++ b/drivers/common/cnxk/roc_nix_queue.c\n@@ -907,6 +907,7 @@ sq_cn9k_init(struct nix *nix, struct roc_nix_sq *sq, uint32_t rr_quantum,\n \taq->sq.sso_ena = !!sq->sso_ena;\n \taq->sq.cq_ena = !!sq->cq_ena;\n \taq->sq.cq = sq->cqid;\n+\taq->sq.cq_limit = sq->cq_drop_thresh;\n \tif (aq->sq.max_sqe_size == NIX_MAXSQESZ_W8)\n \t\taq->sq.sqe_stype = NIX_STYPE_STP;\n \taq->sq.sqb_aura = roc_npa_aura_handle_to_aura(sq->aura_handle);\n@@ -1024,6 +1025,7 @@ sq_init(struct nix *nix, struct roc_nix_sq *sq, uint32_t rr_quantum,\n \taq->sq.sso_ena = !!sq->sso_ena;\n \taq->sq.cq_ena = !!sq->cq_ena;\n \taq->sq.cq = sq->cqid;\n+\taq->sq.cq_limit = sq->cq_drop_thresh;\n \tif (aq->sq.max_sqe_size == NIX_MAXSQESZ_W8)\n \t\taq->sq.sqe_stype = NIX_STYPE_STP;\n \taq->sq.sqb_aura = roc_npa_aura_handle_to_aura(sq->aura_handle);\n", "prefixes": [ "22/23" ] }{ "id": 114782, "url": "