1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2020-2021 Xilinx, Inc.
5 #ifndef _SFC_VDPA_DEBUG_H_
6 #define _SFC_VDPA_DEBUG_H_
10 #ifdef RTE_LIBRTE_SFC_VDPA_DEBUG
11 /* Avoid dependency from RTE_LOG_DP_LEVEL to be able to enable debug check
14 #define SFC_VDPA_ASSERT(exp) RTE_VERIFY(exp)
16 /* If the driver debug is not enabled, follow DPDK debug/non-debug */
17 #define SFC_VDPA_ASSERT(exp) RTE_ASSERT(exp)
20 #endif /* _SFC_VDPA_DEBUG_H_ */