net/mlx5: install a socket to exchange a file descriptor
authorXueming Li <xuemingl@mellanox.com>
Fri, 6 Oct 2017 15:45:49 +0000 (23:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:57 +0000 (01:36 +0100)
commitf8b9a3bad46702704211d416073090c0bb7cfa6e
tree18e7b6c3fe043715e6aff24a5c0ad1262d14ff1a
parentaee1b165dbeeea0df004e2500c7a5f668afa8795
net/mlx5: install a socket to exchange a file descriptor

Use a unix socket to get back the communication channel with the Kernel
driver from the primary process, this is necessary to remap those pages
in the secondary process memory space and thus use the same Tx queues.

This is only supported from rdma-core (v15).

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_socket.c [new file with mode: 0644]
drivers/net/mlx5/mlx5_txq.c