Alexander Kozyrev 8e08df22f0 net/mlx4: improve assert control
Use the MLX4_ASSERT macros instead of the standard assert clause.
Depends on the RTE_LIBRTE_MLX4_DEBUG configuration option to define it.
If RTE_LIBRTE_MLX4_DEBUG is enabled MLX4_ASSERT is equal to RTE_VERIFY
to bypass the global CONFIG_RTE_ENABLE_ASSERT option.
If RTE_LIBRTE_MLX4_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-02-05 09:51:20 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2018-04-11 01:47:47 +02:00
2018-04-11 01:47:47 +02:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00
2020-02-05 09:51:21 +01:00