common/mlx5: share DevX RQ creation
authorMichael Baum <michaelba@nvidia.com>
Wed, 6 Jan 2021 08:19:39 +0000 (08:19 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jan 2021 09:12:36 +0000 (10:12 +0100)
commitedb704da80ff6dbe9a309a574c42d1fa1026b276
tree86b83e9be74cf7d1aab352306e748b6a19250afd
parent389ab7f5fda5cb094c92b5eccdde57be5d460913
common/mlx5: share DevX RQ creation

The RQ object in DevX is used currently only in net driver, but it is
shared for future.

Add a structure that contains all the resources, and provide creation
and release functions for it.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common_devx.c
drivers/common/mlx5/mlx5_common_devx.h
drivers/common/mlx5/rte_common_mlx5_exports.def
drivers/common/mlx5/version.map