net/mlx4: add external allocator for Verbs object
authorYongseok Koh <yskoh@mellanox.com>
Mon, 1 Apr 2019 21:15:52 +0000 (14:15 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit8e493764002285aeec39cde1ce7967841dea45b5
tree3d5d7400da3628087c4f85fab17c40c426de5f03
parent099c2c5376131b3d352d70f8904e586c0e84651e
net/mlx4: add external allocator for Verbs object

To support secondary process, the memory allocated by library such as
completion rings (CQ) and buffer rings (WQ) must be manageable by EAL,
in order to share it with secondary processes. With new changes in
rdma-core and kernel driver, it is possible to provide an external
allocator to the library layer for this purpose. All such resources
will now be allocated within DPDK framework.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx4/Makefile
drivers/net/mlx4/meson.build
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/mlx4_rxq.c
drivers/net/mlx4/mlx4_txq.c