Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/105638/?format=api
http://patchwork.dpdk.org/api/patches/105638/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220105140020.1615256-4-tduszynski@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": "<20220105140020.1615256-4-tduszynski@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220105140020.1615256-4-tduszynski@marvell.com", "date": "2022-01-05T14:00:12", "name": "[v4,03/11] raw/cnxk_gpio: support reading queue count", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b38bc80c8933e18a8a1ef670ff2dfff2eb115bf9", "submitter": { "id": 2215, "url": "http://patchwork.dpdk.org/api/people/2215/?format=api", "name": "Tomasz Duszynski", "email": "tduszynski@marvell.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220105140020.1615256-4-tduszynski@marvell.com/mbox/", "series": [ { "id": 21073, "url": "http://patchwork.dpdk.org/api/series/21073/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21073", "date": "2022-01-05T14:00:09", "name": "Add cnxk_gpio", "version": 4, "mbox": "http://patchwork.dpdk.org/series/21073/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/105638/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/105638/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 494C1A034D;\n\tWed, 5 Jan 2022 15:00:49 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DF32C4114F;\n\tWed, 5 Jan 2022 15:00:35 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id C161B41147\n for <dev@dpdk.org>; Wed, 5 Jan 2022 15:00:33 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 205CJ2JW030859;\n Wed, 5 Jan 2022 06:00:33 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dd214x10n-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 05 Jan 2022 06:00:32 -0800", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Wed, 5 Jan 2022 06:00:31 -0800", "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.18 via Frontend\n Transport; Wed, 5 Jan 2022 06:00:31 -0800", "from localhost.localdomain (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id DB39F3F703F;\n Wed, 5 Jan 2022 06:00:29 -0800 (PST)" ], "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=qcRTu8jsIOlhw7ffXxyC6cJXv4/7fqeitq6X2YRcK20=;\n b=H1KdiubNXe4nqN7ehSit0h1BrX688Z2wmglsKX2WbpjWYDaFayLliBBWnW0RUMidnVRN\n XjeM/UOi9iVipJzvAihUh7XSiFCM7dkL56k1n5JZEiSid+8R2M/GvQr1P1yqY4inEuTx\n Ryf0AbSnuJfiqiQpg7g135L9uc3/0VNzlBErt35ljnzbQdcIgv/a8PFB1vhq6h2buznE\n U9hL10XhckeiNtw0FSKLl+0gld4/lrMu2oxyM9J7H/pQti7tLwTq3QTcmAlaHjSZelqI\n tsmHQyKrQtRn1EKBt2Y851FlLUinG69z+LeFnpJI+JVDDq06vGY2Qt/O1Oad3Cd7VehV 0A==", "From": "Tomasz Duszynski <tduszynski@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<thomas@monjalon.net>, <jerinj@marvell.com>, Tomasz Duszynski\n <tduszynski@marvell.com>", "Subject": "[PATCH v4 03/11] raw/cnxk_gpio: support reading queue count", "Date": "Wed, 5 Jan 2022 15:00:12 +0100", "Message-ID": "<20220105140020.1615256-4-tduszynski@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220105140020.1615256-1-tduszynski@marvell.com>", "References": "<20211213081732.2096334-1-tduszynski@marvell.com>\n <20220105140020.1615256-1-tduszynski@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "LiFeqR3qgprc6H480slgBhZ0bC5HmuYO", "X-Proofpoint-ORIG-GUID": "LiFeqR3qgprc6H480slgBhZ0bC5HmuYO", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2022-01-05_03,2022-01-04_01,2021-12-02_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": "Add support for reading number of available queues. Single queue\ncorresponds to GPIO.\n\nSigned-off-by: Tomasz Duszynski <tduszynski@marvell.com>\n---\n drivers/raw/cnxk_gpio/cnxk_gpio.c | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio.c b/drivers/raw/cnxk_gpio/cnxk_gpio.c\nindex f80788f7fb..3455d6258c 100644\n--- a/drivers/raw/cnxk_gpio/cnxk_gpio.c\n+++ b/drivers/raw/cnxk_gpio/cnxk_gpio.c\n@@ -156,8 +156,17 @@ cnxk_gpio_queue_def_conf(struct rte_rawdev *dev, uint16_t queue_id,\n \treturn 0;\n }\n \n+static uint16_t\n+cnxk_gpio_queue_count(struct rte_rawdev *dev)\n+{\n+\tstruct cnxk_gpiochip *gpiochip = dev->dev_private;\n+\n+\treturn gpiochip->num_gpios;\n+}\n+\n static const struct rte_rawdev_ops cnxk_gpio_rawdev_ops = {\n \t.queue_def_conf = cnxk_gpio_queue_def_conf,\n+\t.queue_count = cnxk_gpio_queue_count,\n };\n \n static int\n", "prefixes": [ "v4", "03/11" ] }{ "id": 105638, "url": "