numam-dpdk/drivers/net/mlx4
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
..
Makefile net/mlx4: remove NDEBUG flag 2020-02-05 09:51:20 +01:00
meson.build net/mlx4: remove NDEBUG flag 2020-02-05 09:51:20 +01:00
mlx4_ethdev.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_flow.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_flow.h ethdev: deprecate legacy filter API 2019-04-19 14:51:54 +02:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_mp.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_mr.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_mr.h remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
mlx4_prm.h net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_rxq.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_rxtx.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_rxtx.h net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_txq.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_utils.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4_utils.h net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4.c net/mlx4: improve assert control 2020-02-05 09:51:21 +01:00
mlx4.h ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
rte_pmd_mlx4_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00