Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/68358/?format=api
http://patchwork.dpdk.org/api/patches/68358/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200413211748.20500-1-vuhuong@mellanox.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": "<20200413211748.20500-1-vuhuong@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200413211748.20500-1-vuhuong@mellanox.com", "date": "2020-04-13T21:17:46", "name": "[v4,0/2] refactor multi-process IPC and memory management codes to common driver", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1660, "url": "http://patchwork.dpdk.org/api/people/1660/?format=api", "name": "Vu Pham", "email": "vuhuong@mellanox.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200413211748.20500-1-vuhuong@mellanox.com/mbox/", "series": [], "comments": "http://patchwork.dpdk.org/api/patches/68358/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/68358/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 34D1BA0577;\n\tMon, 13 Apr 2020 23:17:57 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9F3BD1C027;\n\tMon, 13 Apr 2020 23:17:56 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 368351BFEB\n for <dev@dpdk.org>; Mon, 13 Apr 2020 23:17:55 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n vuhuong@mellanox.com)\n with ESMTPS (AES256-SHA encrypted); 14 Apr 2020 00:17:53 +0300", "from mti-swat6.mti.labs.mlnx. (mti-swat6.mti.labs.mlnx\n [10.9.20.106])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 03DLHpYv021454;\n Tue, 14 Apr 2020 00:17:52 +0300" ], "From": "Vu Pham <vuhuong@mellanox.com>", "To": "dev@dpdk.org", "Cc": "viacheslavo@mellanox.com, orika@mellanox.com, matan@mellanox.com,\n rasland@mellanox.com, Vu Pham <vuhuong@mellanox.com>", "Date": "Mon, 13 Apr 2020 14:17:46 -0700", "Message-Id": "<20200413211748.20500-1-vuhuong@mellanox.com>", "X-Mailer": "git-send-email 2.16.6", "In-Reply-To": "<20200402192105.11606-1-vuhuoong@mellanox.com>", "References": "<20200402192105.11606-1-vuhuoong@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v4 0/2] refactor multi-process IPC and memory\n\tmanagement codes to common driver", "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": "Current mlx5 net PMD and future mlx5(regex,...) PMDs that run\nand share the same HCAs need to use common memory management\ndriver. Memory management codes embeddedly use multi-process IPC\nfor primary/secondary processes to register and sync on memory\nregistrations MRs. That's the main reason to refactor and move\nmulti-process IPC APIs to mlx5 common driver and make it become\nthe base commit, then refactor and move common MR codes to\ncommon driver in subsequent patch.\n\nVu Pham (2):\n common/mlx5: refactor multi-process IPC handling codes to common\n driver\n common/mlx5: refactor memory management codes\n\n drivers/common/mlx5/Makefile | 4 +-\n drivers/common/mlx5/meson.build | 2 +\n drivers/common/mlx5/mlx5_common_mp.c | 188 ++++\n drivers/common/mlx5/mlx5_common_mp.h | 98 ++\n drivers/common/mlx5/mlx5_common_mr.c | 1108 +++++++++++++++++++++\n drivers/common/mlx5/mlx5_common_mr.h | 160 ++++\n drivers/common/mlx5/rte_common_mlx5_version.map | 27 +\n drivers/net/mlx5/mlx5.c | 19 +-\n drivers/net/mlx5/mlx5.h | 55 +-\n drivers/net/mlx5/mlx5_mp.c | 242 +----\n drivers/net/mlx5/mlx5_mr.c | 1169 +----------------------\n drivers/net/mlx5/mlx5_mr.h | 87 +-\n drivers/net/mlx5/mlx5_rxtx.c | 4 +-\n drivers/net/mlx5/mlx5_rxtx.h | 10 +-\n drivers/net/mlx5/mlx5_rxtx_vec.h | 2 +\n drivers/net/mlx5/mlx5_trigger.c | 1 +\n drivers/net/mlx5/mlx5_txq.c | 3 +-\n 17 files changed, 1692 insertions(+), 1487 deletions(-)\n create mode 100644 drivers/common/mlx5/mlx5_common_mp.c\n create mode 100644 drivers/common/mlx5/mlx5_common_mp.h\n create mode 100644 drivers/common/mlx5/mlx5_common_mr.c\n create mode 100644 drivers/common/mlx5/mlx5_common_mr.h", "diff": null, "prefixes": [ "v4", "0/2" ] }{ "id": 68358, "url": "