mbox series

[v3,0/4] net/mlx5: rework IPC socket and PMD global data init

Message ID 20190401211256.25930-1-yskoh@mellanox.com (mailing list archive)
Headers
Series net/mlx5: rework IPC socket and PMD global data init |

Message

Yongseok Koh April 1, 2019, 9:12 p.m. UTC
  The existing socket-based IPC channel is replaced with the new rte_mp APIs of
EAL and extended to request stop/start of dataplane to secondary processes.
Also, initialization of PMD global data including the new IPC channel is
reworked to provide more generic framework for future use.

v3:
* rebase on the latest branch tip

v2:
* add more sanity check for eth_dev and return value from IPC request
* complement commit messages
* add MLX5_MP_REQ_TIMEOUT_SEC

Yongseok Koh (4):
  net/mlx5: fix memory event on secondary process
  net/mlx5: replace IPC socket with EAL API
  net/mlx5: rework PMD global data init
  net/mlx5: sync stop/start of datapath with secondary process

 drivers/net/mlx5/Makefile       |   2 +-
 drivers/net/mlx5/meson.build    |   2 +-
 drivers/net/mlx5/mlx5.c         | 255 ++++++++++++++++++++++++---------
 drivers/net/mlx5/mlx5.h         |  52 +++++--
 drivers/net/mlx5/mlx5_ethdev.c  |  34 -----
 drivers/net/mlx5/mlx5_mp.c      | 308 ++++++++++++++++++++++++++++++++++++++++
 drivers/net/mlx5/mlx5_mr.c      |   2 +
 drivers/net/mlx5/mlx5_rxtx.c    |   2 +
 drivers/net/mlx5/mlx5_socket.c  | 306 ---------------------------------------
 drivers/net/mlx5/mlx5_trigger.c |   5 +
 drivers/net/mlx5/mlx5_txq.c     |   7 +-
 11 files changed, 552 insertions(+), 423 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_mp.c
 delete mode 100644 drivers/net/mlx5/mlx5_socket.c
  

Comments

Shahaf Shuler April 2, 2019, 7:11 a.m. UTC | #1
Tuesday, April 2, 2019 12:13 AM, Yongseok Koh:
> Subject: [dpdk-dev] [PATCH v3 0/4] net/mlx5: rework IPC socket and PMD
> global data init
> 
> The existing socket-based IPC channel is replaced with the new rte_mp APIs
> of EAL and extended to request stop/start of dataplane to secondary
> processes.
> Also, initialization of PMD global data including the new IPC channel is
> reworked to provide more generic framework for future use.
> 
> v3:
> * rebase on the latest branch tip
> 
> v2:
> * add more sanity check for eth_dev and return value from IPC request
> * complement commit messages
> * add MLX5_MP_REQ_TIMEOUT_SEC
> 
> Yongseok Koh (4):
>   net/mlx5: fix memory event on secondary process
>   net/mlx5: replace IPC socket with EAL API
>   net/mlx5: rework PMD global data init
>   net/mlx5: sync stop/start of datapath with secondary process

Series applied to next-net-mlx, thanks.