DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/4] refactor multi-process IPC and memory management codes to common driver
@ 2020-04-02 19:21 Vu Pham
  2020-04-02 19:21 ` [dpdk-dev] [PATCH 1/4] common/mlx5: refactor multi-process IPC handling " Vu Pham
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Vu Pham @ 2020-04-02 19:21 UTC (permalink / raw)
  To: dev; +Cc: viacheslavo, orika, matan, rasland, Vu Pham

From: Vu Pham <vuhuong@mellanox.com>

Current mlx5 net PMD and future mlx5(regex,...) PMDs that run
and share the same HCAs need to use common memory management
driver. Memory management codes embeddedly use multi-process IPC
for primary/secondary processes to register and sync on memory
registrations MRs. That's the main reason to move multi-process
IPC APIs to mlx5 common driver and make it become the base commit.

Vu Pham (4):
  common/mlx5: refactor multi-process IPC handling codes to common
    driver
  net/mlx5: modify net PMD to use common multi-process APIs
  common/mlx5: refactor memory management codes
  net/mlx5: modify net PMD to use common memory management driver

 drivers/common/mlx5/Makefile                    |    4 +-
 drivers/common/mlx5/meson.build                 |    2 +
 drivers/common/mlx5/mlx5_common_mp.c            |  188 ++++
 drivers/common/mlx5/mlx5_common_mp.h            |   98 ++
 drivers/common/mlx5/mlx5_common_mr.c            | 1106 +++++++++++++++++++++
 drivers/common/mlx5/mlx5_common_mr.h            |  160 ++++
 drivers/common/mlx5/rte_common_mlx5_version.map |   27 +
 drivers/net/mlx5/mlx5.c                         |   19 +-
 drivers/net/mlx5/mlx5.h                         |   55 +-
 drivers/net/mlx5/mlx5_mp.c                      |  242 +----
 drivers/net/mlx5/mlx5_mr.c                      | 1167 +----------------------
 drivers/net/mlx5/mlx5_mr.h                      |   87 +-
 drivers/net/mlx5/mlx5_rxtx.c                    |    4 +-
 drivers/net/mlx5/mlx5_rxtx.h                    |   10 +-
 drivers/net/mlx5/mlx5_rxtx_vec.h                |    2 +
 drivers/net/mlx5/mlx5_trigger.c                 |    1 +
 drivers/net/mlx5/mlx5_txq.c                     |    3 +-
 17 files changed, 1690 insertions(+), 1485 deletions(-)
 create mode 100644 drivers/common/mlx5/mlx5_common_mp.c
 create mode 100644 drivers/common/mlx5/mlx5_common_mp.h
 create mode 100644 drivers/common/mlx5/mlx5_common_mr.c
 create mode 100644 drivers/common/mlx5/mlx5_common_mr.h

-- 
2.16.6


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-04-15  9:30 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 19:21 [dpdk-dev] [PATCH 0/4] refactor multi-process IPC and memory management codes to common driver Vu Pham
2020-04-02 19:21 ` [dpdk-dev] [PATCH 1/4] common/mlx5: refactor multi-process IPC handling " Vu Pham
2020-04-02 19:21 ` [dpdk-dev] [PATCH 2/4] net/mlx5: modify net PMD to use common multi-process APIs Vu Pham
2020-04-02 19:21 ` [dpdk-dev] [PATCH 3/4] common/mlx5: refactor memory management codes Vu Pham
2020-04-02 19:21 ` [dpdk-dev] [PATCH 4/4] net/mlx5: modify net PMD to use common memory management driver Vu Pham
2020-04-07 16:48 ` [dpdk-dev] [PATCH v2 0/4] refactor multi-process IPC and memory management codes to common driver Vu Pham
2020-04-07 16:48   ` [dpdk-dev] [PATCH v2 1/4] common/mlx5: refactor MP IPC handling " Vu Pham
2020-04-08  9:05     ` Slava Ovsiienko
2020-04-07 16:48   ` [dpdk-dev] [PATCH v2 2/4] net/mlx5: modify net pmd to use common multi-process APIs Vu Pham
2020-04-07 16:48   ` [dpdk-dev] [PATCH v2 3/4] common/mlx5: refactor memory management codes Vu Pham
2020-04-07 16:48   ` [dpdk-dev] [PATCH v2 4/4] net/mlx5: modify net pmd to use common MR driver Vu Pham
2020-04-07 17:00 ` [dpdk-dev] [PATCH v3 0/4] refactor multi-process IPC and memory management codes to common driver Vu Pham
2020-04-07 17:00   ` [dpdk-dev] [PATCH v3 1/4] common/mlx5: refactor multi-process IPC handling " Vu Pham
2020-04-08  9:05     ` Slava Ovsiienko
2020-04-07 17:00   ` [dpdk-dev] [PATCH v3 2/4] net/mlx5: modify net PMD to use common multi-process APIs Vu Pham
2020-04-08  9:05     ` Slava Ovsiienko
2020-04-07 17:00   ` [dpdk-dev] [PATCH v3 3/4] common/mlx5: refactor memory management codes Vu Pham
2020-04-08  9:04     ` Slava Ovsiienko
2020-04-07 17:00   ` [dpdk-dev] [PATCH v3 4/4] net/mlx5: modify net PMD to use common MR driver Vu Pham
2020-04-08  9:06     ` Slava Ovsiienko
2020-04-13 21:17 ` [dpdk-dev] [PATCH v4 0/2] refactor multi-process IPC and memory management codes to common driver Vu Pham
2020-04-13 21:17   ` [dpdk-dev] [PATCH v4 1/2] common/mlx5: refactor multi-process IPC handling " Vu Pham
2020-04-14  7:26     ` Slava Ovsiienko
2020-04-13 21:17   ` [dpdk-dev] [PATCH v4 2/2] common/mlx5: refactor memory management codes Vu Pham
2020-04-14  7:27     ` Slava Ovsiienko
2020-04-15  9:30   ` [dpdk-dev] [PATCH v4 0/2] refactor multi-process IPC and memory management codes to common driver Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).