net/mlx5: add socket server for external tools
authorXueming Li <xuemingl@mellanox.com>
Fri, 17 Jan 2020 11:56:02 +0000 (13:56 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:59:19 +0000 (19:59 +0100)
commite6cdc54cc0ef725ccf7bf549e23ff09c2a360513
tree4e46c7841eeb8b49835bf60a4362787ed94754ba
parent1e8a4e97b057c2ec4350bfe2eeb67e1746e14568
net/mlx5: add socket server for external tools

Add pmd unix socket server to enable external tool applications to
trigger flow dump.

Socket path:
/var/tmp/dpdk_mlx5_<pid>
Socket format:
io_raw: port_id of uint16
file: file descriptor of int

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/meson.build
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_socket.c [new file with mode: 0644]