Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84951/?format=api
http://patches.dpdk.org/api/patches/84951/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201210150648.8784-3-talshn@nvidia.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": "<20201210150648.8784-3-talshn@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201210150648.8784-3-talshn@nvidia.com", "date": "2020-12-10T15:06:17", "name": "[v2,02/33] net/mlx5/linux: extend device attributes getter", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "23ac370a26406c0a1d96f64891c2ec96fe7863e4", "submitter": { "id": 1893, "url": "http://patches.dpdk.org/api/people/1893/?format=api", "name": "Tal Shnaiderman", "email": "talshn@nvidia.com" }, "delegate": { "id": 3268, "url": "http://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201210150648.8784-3-talshn@nvidia.com/mbox/", "series": [ { "id": 14240, "url": "http://patches.dpdk.org/api/series/14240/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14240", "date": "2020-12-10T15:06:17", "name": "mlx5 Windows support - part #5", "version": 2, "mbox": "http://patches.dpdk.org/series/14240/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84951/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/84951/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2143AA04DB;\n\tThu, 10 Dec 2020 16:07:51 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DF2F0BC8A;\n\tThu, 10 Dec 2020 16:07:49 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id B0E01BC88\n for <dev@dpdk.org>; Thu, 10 Dec 2020 16:07:47 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@nvidia.com) with SMTP; 10 Dec 2020 17:07:44 +0200", "from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BAF7h8s007994;\n Thu, 10 Dec 2020 17:07:44 +0200" ], "From": "Tal Shnaiderman <talshn@nvidia.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com,\n ophirmu@nvidia.com", "Date": "Thu, 10 Dec 2020 17:06:17 +0200", "Message-Id": "<20201210150648.8784-3-talshn@nvidia.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20201210150648.8784-1-talshn@nvidia.com>", "References": "<20201027232335.31427-2-ophirmu@nvidia.com>\n <20201210150648.8784-1-talshn@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 02/33] net/mlx5/linux: extend device\n\tattributes getter", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Ophir Munk <ophirmu@nvidia.com>\n\nThis commit adds device attributes parameters to be reported by\nmlx5_os_get_dev_attr(): max_cqe, max_mr, max_pd, max_srq, max_srq_wr\n\nSigned-off-by: Ophir Munk <ophirmu@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/linux/mlx5_os.c | 5 +++++\n drivers/net/mlx5/mlx5.h | 5 +++++\n 2 files changed, 10 insertions(+)", "diff": "diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c\nindex 917d6be7b8..a6c1eba640 100644\n--- a/drivers/net/mlx5/linux/mlx5_os.c\n+++ b/drivers/net/mlx5/linux/mlx5_os.c\n@@ -116,7 +116,12 @@ mlx5_os_get_dev_attr(void *ctx, struct mlx5_dev_attr *device_attr)\n \tdevice_attr->max_qp_wr = attr_ex.orig_attr.max_qp_wr;\n \tdevice_attr->max_sge = attr_ex.orig_attr.max_sge;\n \tdevice_attr->max_cq = attr_ex.orig_attr.max_cq;\n+\tdevice_attr->max_cqe = attr_ex.orig_attr.max_cqe;\n+\tdevice_attr->max_mr = attr_ex.orig_attr.max_mr;\n+\tdevice_attr->max_pd = attr_ex.orig_attr.max_pd;\n \tdevice_attr->max_qp = attr_ex.orig_attr.max_qp;\n+\tdevice_attr->max_srq = attr_ex.orig_attr.max_srq;\n+\tdevice_attr->max_srq_wr = attr_ex.orig_attr.max_srq_wr;\n \tdevice_attr->raw_packet_caps = attr_ex.raw_packet_caps;\n \tdevice_attr->max_rwq_indirection_table_size =\n \t\tattr_ex.rss_caps.max_rwq_indirection_table_size;\ndiff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h\nindex 121d726405..2186677810 100644\n--- a/drivers/net/mlx5/mlx5.h\n+++ b/drivers/net/mlx5/mlx5.h\n@@ -83,6 +83,11 @@ struct mlx5_dev_attr {\n \tint\t\tmax_sge;\n \tint\t\tmax_cq;\n \tint\t\tmax_qp;\n+\tint\t\tmax_cqe;\n+\tuint32_t\tmax_pd;\n+\tuint32_t\tmax_mr;\n+\tuint32_t\tmax_srq;\n+\tuint32_t\tmax_srq_wr;\n \tuint32_t\traw_packet_caps;\n \tuint32_t\tmax_rwq_indirection_table_size;\n \tuint32_t\tmax_tso;\n", "prefixes": [ "v2", "02/33" ] }{ "id": 84951, "url": "