Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/113639/?format=api
https://patches.dpdk.org/api/patches/113639/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220702160340.1591058-4-timothy.mcdaniel@intel.com/", "project": { "id": 1, "url": "https://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": "<20220702160340.1591058-4-timothy.mcdaniel@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220702160340.1591058-4-timothy.mcdaniel@intel.com", "date": "2022-07-02T16:03:38", "name": "[v2,3/5] event/dlb2: fix cq depth override", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9e2ad084d104bd8b3318f7620de842ffe664613b", "submitter": { "id": 826, "url": "https://patches.dpdk.org/api/people/826/?format=api", "name": "Timothy McDaniel", "email": "timothy.mcdaniel@intel.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220702160340.1591058-4-timothy.mcdaniel@intel.com/mbox/", "series": [ { "id": 23866, "url": "https://patches.dpdk.org/api/series/23866/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23866", "date": "2022-07-02T16:03:35", "name": "DLB2 Bug Fixes", "version": 2, "mbox": "https://patches.dpdk.org/series/23866/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/113639/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/113639/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 016ACA0093;\n\tSat, 2 Jul 2022 18:04:06 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AF98A42B6C;\n\tSat, 2 Jul 2022 18:03:49 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id D646541132\n for <dev@dpdk.org>; Sat, 2 Jul 2022 18:03:45 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Jul 2022 09:03:44 -0700", "from txanpdk03.an.intel.com ([10.123.117.78])\n by fmsmga008.fm.intel.com with ESMTP; 02 Jul 2022 09:03:44 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1656777826; x=1688313826;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=0jazhvvuNDnxW1EBec2phsOx1f+WDm0lXEHz8d/OGjU=;\n b=aaN049XgFKFMF8jRseLlN8RO5aE7VLkyOxbaU79XTNCn8YtPCqmL7y0n\n m/iKbKnaCWi3e0zo3LmVUmqwkqybfBxCvyh0T13o97p2oJcuP/qrSMWSD\n 1O3UW3n9UPo4sjCxLVAhX/8Y8jcez8wFga6hgTDKLXBcXeJPfLGZYSzYl\n A/yGaJem7bnN69fMKfZDwGfGHU97U3kU3jC0UmpsGrh0075fuZPX+iWvw\n 7vQodJCt4EhoChALOA6IzKxTEEDh7UDBTLeahNQs/2/zPaK92mTYilSxN\n fHbJDb1iMFJPRKwnQx4QckYddiG96oEAesMfaenjkB9Ew06RIYesXRCy5 w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10396\"; a=\"271616951\"", "E=Sophos;i=\"5.92,240,1650956400\"; d=\"scan'208\";a=\"271616951\"", "E=Sophos;i=\"5.92,240,1650956400\"; d=\"scan'208\";a=\"648776827\"" ], "X-ExtLoop1": "1", "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>", "To": "jerinj@marvell.com", "Cc": "dev@dpdk.org,\n\ttimothy.mcdaniel@intel.com", "Subject": "[PATCH v2 3/5] event/dlb2: fix cq depth override", "Date": "Sat, 2 Jul 2022 11:03:38 -0500", "Message-Id": "<20220702160340.1591058-4-timothy.mcdaniel@intel.com>", "X-Mailer": "git-send-email 2.23.0", "In-Reply-To": "<20220702160340.1591058-1-timothy.mcdaniel@intel.com>", "References": "<20220629153638.1269743-1-timothy.mcdaniel@intel.com>\n <20220702160340.1591058-1-timothy.mcdaniel@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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 commit fixes a bug, where we could assign a cq depth\nof zero, leading to a subsequent divide-by-zero fault.\nIt also fixes an issue where the original default cq depth\nwas returned on a query, insgtead of the overridden value.\n\nFixes: 86fe66d45667 (\"event/dlb2: allow CQ depths up to 1024\")\nCc: timothy.mcdaniel@intel.com\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\n---\n drivers/event/dlb2/dlb2.c | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c\nindex a6182a1ac7..b50cd8e5ce 100644\n--- a/drivers/event/dlb2/dlb2.c\n+++ b/drivers/event/dlb2/dlb2.c\n@@ -4505,7 +4505,14 @@ dlb2_primary_eventdev_probe(struct rte_eventdev *dev,\n \tdlb2->hw_credit_quanta = dlb2_args->hw_credit_quanta;\n \tdlb2->default_depth_thresh = dlb2_args->default_depth_thresh;\n \tdlb2->vector_opts_enabled = dlb2_args->vector_opts_enabled;\n-\tdlb2->max_cq_depth = dlb2_args->max_cq_depth;\n+\n+\n+\tif (dlb2_args->max_cq_depth != 0)\n+\t\tdlb2->max_cq_depth = dlb2_args->max_cq_depth;\n+\telse\n+\t\tdlb2->max_cq_depth = DLB2_DEFAULT_CQ_DEPTH;\n+\n+\tevdev_dlb2_default_info.max_event_port_dequeue_depth = dlb2->max_cq_depth;\n \n \terr = dlb2_iface_open(&dlb2->qm_instance, name);\n \tif (err < 0) {\n", "prefixes": [ "v2", "3/5" ] }{ "id": 113639, "url": "