Refactor common multi-process handling codes from net PMD to common
driver. Using tuple mp_id{name, port_id} as standard input parameter
for all multi-process IPC APIs instead of using rte_eth_dev.
Modify net PMD to use multi-process APIs from common driver.
Signed-off-by: Vu Pham
---
drivers
.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/Makefile|1 +
drivers/common/mlx5/meson.build |1 +
drivers/common/mlx5/mlx5_common_mr.c| 1108 +
drivers/common/mlx5/mlx5_common_mr.h| 160
drivers/common
on to refactor and move
multi-process IPC APIs to mlx5 common driver and make it become
the base commit, then refactor and move common MR codes to
common driver in subsequent patch.
Vu Pham (2):
common/mlx5: refactor multi-process IPC handling codes to common
driver
common/mlx5: refactor m
Modify mlx5 net pmd driver to use MR management APIs from common driver.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/Makefile |1 +
drivers/common/mlx5/meson.build |1 +
drivers/net/mlx5/mlx5.c |4 +-
drivers/net/mlx5/mlx5.h | 12 +-
drivers/net/mlx5
Refactor common multi-process handling codes from net PMD to common
driver. Using tuple mp_id{name, port_id} as standard input parameter
for all multi-process IPC APIs instead of using rte_eth_dev.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/mlx5_common_mp.c| 188
Refactor common memory btree and cache management to common driver.
Replace some input parameters of MR APIs to more common datastructure
like PD, port_id, share_cache,... so that muliptle PMD drivers can
use those MR APIs.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/mlx5_common_mr.c
on 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
Modify net PMD to use multi-process APIs from common driver.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/Makefile| 3 +-
drivers/common/mlx5/meson.build | 1 +
drivers/net/mlx5/mlx5.c | 15 ++-
drivers/net/mlx5/mlx5.h | 43 +---
drivers/net/mlx5/mlx5_mp.c
Refactor common memory btree and cache management to common driver.
Replace some input parameters of MR APIs to more common datastructure
like PD, port_id, share_cache,... so that muliptle PMD drivers can
use those MR APIs.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/mlx5_common_mr.c
Refactor common mp handling codes from net pmd to common driver.
Using port_id as standard input parameter for all MP IPC APIs
instead of using rte_eth_dev.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/mlx5_common_mp.c| 188
drivers/common/mlx5
on to move multi-process
IPC APIs to mlx5 common driver and make it become the base commit.
Vu Pham (4):
common/mlx5: refactor MP 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 p
Modify mlx5 net pmd driver to use MR managment APIs from common driver.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/Makefile |1 +
drivers/common/mlx5/meson.build |1 +
drivers/net/mlx5/mlx5.c |4 +-
drivers/net/mlx5/mlx5.h | 12 +-
drivers/net/mlx5
Modify net pmd to use common Multi-Process APIs from common driver.
Signed-off-by: Vu Pham
---
drivers/common/mlx5/Makefile| 3 +-
drivers/common/mlx5/meson.build | 1 +
drivers/net/mlx5/mlx5.c | 15 ++-
drivers/net/mlx5/mlx5.h | 43 +---
drivers/net/mlx5/mlx5_mp.c
From: Vu Pham
Modify net PMD to use multi-process IPC APIs from common driver.
Signed-off-by: Vu Pham
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/Makefile| 3 +-
drivers/common/mlx5/meson.build | 1 +
drivers/net/mlx5/mlx5.c | 15 ++-
drivers/net/mlx5/mlx5.h
From: Vu Pham
Modify mlx5 net PMD driver to use memory managment APIs from
common driver.
Signed-off-by: Vu Pham
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/Makefile |1 +
drivers/common/mlx5/meson.build |1 +
drivers/net/mlx5/mlx5.c |4 +-
drivers/net
From: Vu Pham
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'
From: Vu Pham
Refactor common memory btree and cache management to common driver.
Replace some input parameters of MR APIs to more common datastructure
like PD, port_id, share_cache,... so that muliptle PMD drivers can
use those MR APIs.
Signed-off-by: Vu Pham
Acked-by: Viacheslav Ovsiienko
From: Vu Pham
Refactor common multi-process handling codes from net PMD to common
driver. Using tuple mp_id{name, port_id} as standard input parameter
for all multi-process IPC APIs instead of using rte_eth_dev.
Signed-off-by: Vu Pham
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5
18 matches
Mail list logo