aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/i40e/base/i40e_osdep.h
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-11-08 14:50:17 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2017-11-08 14:50:22 +0000
commitb30bf840574a70b892bebc6e5281cd614cfc82c5 (patch)
treeaf9a3331209ba3eb575e2de2a41da99a9dd40954 /drivers/net/i40e/base/i40e_osdep.h
parent01dc13012315b1f147ccce80aed68050c9e31c2d (diff)
parent055c52583a2794da8ba1e85a48cce3832372b12f (diff)
Merge branch 'upstream' into 17.11.x
Change-Id: I9f728c5947bfb5ba81f00306b7997685463ca13e Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'drivers/net/i40e/base/i40e_osdep.h')
-rw-r--r--drivers/net/i40e/base/i40e_osdep.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/i40e/base/i40e_osdep.h b/drivers/net/i40e/base/i40e_osdep.h
index c57ecded..8e5c593c 100644
--- a/drivers/net/i40e/base/i40e_osdep.h
+++ b/drivers/net/i40e/base/i40e_osdep.h
@@ -35,6 +35,7 @@
#include <string.h>
#include <stdint.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
@@ -57,7 +58,6 @@ typedef uint16_t u16;
typedef uint32_t u32;
typedef int32_t s32;
typedef uint64_t u64;
-typedef int bool;
typedef enum i40e_status_code i40e_status;
#define __iomem
@@ -99,7 +99,6 @@ typedef enum i40e_status_code i40e_status;
#define max(a,b) RTE_MAX(a,b)
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
-#define ASSERT(x) if(!(x)) rte_panic("IXGBE: x")
#define DEBUGOUT(S) PMD_DRV_LOG_RAW(DEBUG, S)
#define DEBUGOUT1(S, A...) PMD_DRV_LOG_RAW(DEBUG, S, ##A)