This patchset enhances Mellanox multi-process by supporting all multi-process examples, also support reading ethdev (x)stats in secondary process.
Start from V2, this patchset depends on upstream rdma-core enhancement and l2fork example bug fix: http://www.dpdk.org/ml/archives/dev/2017-August/073405.html http://www.dpdk.org/ml/archives/dev/2017-September/075568.html V3: * add cover letter * add dependency notes V2: * split into multiple patches * support forked secondary process * add secondary process ethdev operations * rebase on latest rdma-core upstream api Xueming Li (6): net/mlx5: change eth device reference for secondary process net/mlx5: install a socket to exchange a file descriptor net/mlx5: allocate verbs object into shared memory net/mlx5: remove verbs fork check net/mlx5: add operations for secondary process net/mlx5: multi-process document update doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 3 +- drivers/net/mlx5/Makefile | 1 + drivers/net/mlx5/mlx5.c | 112 +++++++++++++-- drivers/net/mlx5/mlx5.h | 16 ++- drivers/net/mlx5/mlx5_ethdev.c | 108 +++++++++----- drivers/net/mlx5/mlx5_fdir.c | 2 + drivers/net/mlx5/mlx5_rss.c | 1 + drivers/net/mlx5/mlx5_rxq.c | 1 + drivers/net/mlx5/mlx5_rxtx.h | 2 + drivers/net/mlx5/mlx5_socket.c | 294 ++++++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_trigger.c | 4 +- drivers/net/mlx5/mlx5_txq.c | 66 +++++++++ 13 files changed, 561 insertions(+), 50 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_socket.c -- 1.8.3.1