common/mlx5: refactor IPC handling from net driver
authorVu Pham <vuhuong@mellanox.com>
Mon, 13 Apr 2020 21:17:47 +0000 (14:17 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:08 +0000 (13:57 +0200)
commita4de9586acb845cb85309cbf16fc974b8a985453
treeb12881cf6ff9aa46a72ec1cee6089da32e9ba8f7
parentfe2c412ca935fb6e14605795243b85aac5778455
common/mlx5: refactor IPC handling from net driver

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 <vuhuong@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/common/mlx5/Makefile
drivers/common/mlx5/meson.build
drivers/common/mlx5/mlx5_common_mp.c [new file with mode: 0644]
drivers/common/mlx5/mlx5_common_mp.h [new file with mode: 0644]
drivers/common/mlx5/rte_common_mlx5_version.map
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_mp.c
drivers/net/mlx5/mlx5_mr.c
drivers/net/mlx5/mlx5_rxtx.c