git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/txgbe: add Rx and Tx init
[dpdk.git]
/
drivers
/
net
/
cxgbe
/
cxgbe_compat.h
diff --git
a/drivers/net/cxgbe/cxgbe_compat.h
b/drivers/net/cxgbe/cxgbe_compat.h
index
20e4f8a
..
83ae1c2
100644
(file)
--- a/
drivers/net/cxgbe/cxgbe_compat.h
+++ b/
drivers/net/cxgbe/cxgbe_compat.h
@@
-10,6
+10,7
@@
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <rte_common.h>
#include <rte_memcpy.h>
#include <rte_common.h>
#include <rte_memcpy.h>
@@
-86,7
+87,6
@@
typedef uint16_t u16;
typedef uint32_t u32;
typedef int32_t s32;
typedef uint64_t u64;
typedef uint32_t u32;
typedef int32_t s32;
typedef uint64_t u64;
-typedef int bool;
typedef uint64_t dma_addr_t;
#ifndef __le16
typedef uint64_t dma_addr_t;
#ifndef __le16
@@
-122,8
+122,6
@@
typedef uint64_t dma_addr_t;
#define FALSE 0
#define TRUE 1
#define FALSE 0
#define TRUE 1
-#define false 0
-#define true 1
#ifndef min
#define min(a, b) RTE_MIN(a, b)
#ifndef min
#define min(a, b) RTE_MIN(a, b)