1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2015-2019 Amazon.com, Inc. or its affiliates.
6 #ifndef __ENA_PLATFORM_H__
7 #define __ENA_PLATFORM_H__
9 #define ena_assert_msg(cond, msg) \
11 if (unlikely(!(cond))) { \
12 rte_log(RTE_LOG_ERR, ena_logtype_driver, \
13 "Assert failed on %s:%s:%d: ", \
14 __FILE__, __func__, __LINE__); \
19 #endif /* __ENA_PLATFORM_H__ */