Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85813/?format=api
https://patches.dpdk.org/api/patches/85813/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201228123302.3608-3-talshn@nvidia.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": "<20201228123302.3608-3-talshn@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201228123302.3608-3-talshn@nvidia.com", "date": "2020-12-28T12:32:29", "name": "[v2,02/35] mlx5/windows: add mlx5 macros for fs name and path", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "842235ef20b680ef14ac3d225e6601a8e3f10d75", "submitter": { "id": 1893, "url": "https://patches.dpdk.org/api/people/1893/?format=api", "name": "Tal Shnaiderman", "email": "talshn@nvidia.com" }, "delegate": { "id": 3268, "url": "https://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201228123302.3608-3-talshn@nvidia.com/mbox/", "series": [ { "id": 14482, "url": "https://patches.dpdk.org/api/series/14482/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14482", "date": "2020-12-28T12:32:28", "name": "mlx5 Windows support - part #6", "version": 2, "mbox": "https://patches.dpdk.org/series/14482/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/85813/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/85813/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 3016AA09FF;\n\tMon, 28 Dec 2020 13:35:04 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C463ACA5C;\n\tMon, 28 Dec 2020 13:33:46 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 005B6CA2E\n for <dev@dpdk.org>; Mon, 28 Dec 2020 13:33:36 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@nvidia.com) with SMTP; 28 Dec 2020 14:33:32 +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 0BSCXWnH001295;\n Mon, 28 Dec 2020 14:33:32 +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": "Mon, 28 Dec 2020 14:32:29 +0200", "Message-Id": "<20201228123302.3608-3-talshn@nvidia.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20201228123302.3608-1-talshn@nvidia.com>", "References": "<20201217173037.11396-2-talshn@nvidia.com>\n <20201228123302.3608-1-talshn@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 02/35] mlx5/windows: add mlx5 macros for fs\n\tname and path", "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": "ibdev_name and ibdev_path sizes are defined in Windows DevX\ndifferently from the sizes used in Linux with\nIBV_SYSFS_NAME_MAX and IBV_SYSFS_PATH_MAX.\n\nAdded MLX5_FS_NAME_MAX and MLX5_FS_NAME_PATH in mlx5_os.h for both OSs.\n\nSigned-off-by: Tal Shnaiderman <talshn@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/linux/mlx5_os.h | 4 ++--\n drivers/net/mlx5/mlx5.h | 4 ++--\n drivers/net/mlx5/windows/mlx5_os.h | 17 +++++++++++++++++\n 3 files changed, 21 insertions(+), 4 deletions(-)\n create mode 100644 drivers/net/mlx5/windows/mlx5_os.h", "diff": "diff --git a/drivers/net/mlx5/linux/mlx5_os.h b/drivers/net/mlx5/linux/mlx5_os.h\nindex 759def2f4b..f38c2f3015 100644\n--- a/drivers/net/mlx5/linux/mlx5_os.h\n+++ b/drivers/net/mlx5/linux/mlx5_os.h\n@@ -10,8 +10,8 @@\n \n /* verb enumerations translations to local enums. */\n enum {\n-\tDEV_SYSFS_NAME_MAX = IBV_SYSFS_NAME_MAX + 1,\n-\tDEV_SYSFS_PATH_MAX = IBV_SYSFS_PATH_MAX + 1\n+\tMLX5_FS_NAME_MAX = IBV_SYSFS_NAME_MAX + 1,\n+\tMLX5_FS_PATH_MAX = IBV_SYSFS_PATH_MAX + 1\n };\n \n #define PCI_DRV_FLAGS (RTE_PCI_DRV_INTR_LSC | \\\ndiff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h\nindex a9db597f2b..e5794744bd 100644\n--- a/drivers/net/mlx5/mlx5.h\n+++ b/drivers/net/mlx5/mlx5.h\n@@ -701,8 +701,8 @@ struct mlx5_dev_ctx_shared {\n \tvoid *pd; /* Protection Domain. */\n \tuint32_t pdn; /* Protection Domain number. */\n \tuint32_t tdn; /* Transport Domain number. */\n-\tchar ibdev_name[DEV_SYSFS_NAME_MAX]; /* SYSFS dev name. */\n-\tchar ibdev_path[DEV_SYSFS_PATH_MAX]; /* SYSFS dev path for secondary */\n+\tchar ibdev_name[MLX5_FS_NAME_MAX]; /* SYSFS dev name. */\n+\tchar ibdev_path[MLX5_FS_PATH_MAX]; /* SYSFS dev path for secondary */\n \tstruct mlx5_dev_attr device_attr; /* Device properties. */\n \tint numa_node; /* Numa node of backing physical device. */\n \tLIST_ENTRY(mlx5_dev_ctx_shared) mem_event_cb;\ndiff --git a/drivers/net/mlx5/windows/mlx5_os.h b/drivers/net/mlx5/windows/mlx5_os.h\nnew file mode 100644\nindex 0000000000..b94f588461\n--- /dev/null\n+++ b/drivers/net/mlx5/windows/mlx5_os.h\n@@ -0,0 +1,17 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright 2020 Mellanox Technologies, Ltd\n+ */\n+\n+#ifndef RTE_PMD_MLX5_OS_H_\n+#define RTE_PMD_MLX5_OS_H_\n+\n+#include \"mlx5_win_ext.h\"\n+\n+enum {\n+\tMLX5_FS_NAME_MAX = MLX5_DEVX_DEVICE_NAME_SIZE + 1,\n+\tMLX5_FS_PATH_MAX = MLX5_DEVX_DEVICE_PNP_SIZE + 1\n+};\n+\n+#define PCI_DRV_FLAGS 0\n+\n+#endif /* RTE_PMD_MLX5_OS_H_ */\n", "prefixes": [ "v2", "02/35" ] }{ "id": 85813, "url": "