Alexander Kozyrev 8e46d4e18f common/mlx5: improve assert control
Use the MLX5_ASSERT macros instead of the standard assert clause.
Depends on the RTE_LIBRTE_MLX5_DEBUG configuration option to define it.
If RTE_LIBRTE_MLX5_DEBUG is enabled MLX5_ASSERT is equal to RTE_VERIFY
to bypass the global CONFIG_RTE_ENABLE_ASSERT option.
If RTE_LIBRTE_MLX5_DEBUG is disabled, the global CONFIG_RTE_ENABLE_ASSERT
can still make this assert active by calling RTE_VERIFY inside RTE_ASSERT.

Signed-off-by: Alexander Kozyrev <akozyrev@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-02-05 09:51:21 +01:00
..
2020-02-05 09:51:20 +01:00
2020-01-17 19:46:26 +01:00
2020-01-17 19:46:01 +01:00
2020-01-17 19:46:02 +01:00
2020-01-17 19:59:19 +01:00
2020-01-17 19:59:18 +01:00
2020-01-17 19:59:18 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-01-17 19:59:19 +01:00
2020-01-17 19:46:26 +01:00
2020-01-17 19:46:02 +01:00
2020-01-20 18:02:17 +01:00