net/mlx5: support zero size entry for indexed pool
authorXueming Li <xuemingl@nvidia.com>
Wed, 28 Oct 2020 09:33:23 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit79807d6a6edf8770d67ee4c101ebe1ad45d697c5
tree010121c6d7fd4b76f2e8131f1e8afc8798fccba1
parent94b6d88438525e9cec7c373b8ab99f82db6531d8
net/mlx5: support zero size entry for indexed pool

To make indexed pool to be used as ID generator, this patch allows entry
size to be zero.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_utils.c