#include <rte_ip.h>
#include <time.h>
+#include "test.h"
+
#ifdef RTE_LIBRTE_LPM
#include "rte_lpm.h"
#include "test_lpm_routes.h"
-#include "test.h"
-
#define TEST_LPM_ASSERT(cond) do { \
if (!(cond)) { \
printf("Error at line %d: \n", __LINE__); \
return global_status;
}
-#else
+#else /* RTE_LIBRTE_LPM */
int
test_lpm(void)
return 0;
}
-#endif
+#endif /* RTE_LIBRTE_LPM */