]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_defs.h
common/mlx5: share UAR allocation routine
[dpdk.git] / drivers / net / mlx5 / mlx5_defs.h
index 49803528f2c2295438c4af0dd192dfa952decdd2..3c34234152ec90fe93057a1472419b072d405ad8 100644 (file)
 #define static_assert _Static_assert
 #endif
 
-/*
- * Defines the amount of retries to allocate the first UAR in the page.
- * OFED 5.0.x and Upstream rdma_core before v29 returned the NULL as
- * UAR base address if UAR was not the first object in the UAR page.
- * It caused the PMD failure and we should try to get another UAR
- * till we get the first one with non-NULL base address returned.
- */
-#define MLX5_ALLOC_UAR_RETRY 32
-
 #endif /* RTE_PMD_MLX5_DEFS_H_ */