git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a5c356
)
mbuf: fix build when scatter gather is disabled
author
Intel
<intel.com>
Wed, 19 Dec 2012 23:00:00 +0000
(
00:00
+0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:23:27 +0000
(15:23 +0200)
Signed-off-by: Intel
lib/librte_mbuf/rte_mbuf.h
patch
|
blob
|
history
diff --git
a/lib/librte_mbuf/rte_mbuf.h
b/lib/librte_mbuf/rte_mbuf.h
index
6201bba
..
88f6f33
100644
(file)
--- a/
lib/librte_mbuf/rte_mbuf.h
+++ b/
lib/librte_mbuf/rte_mbuf.h
@@
-59,7
+59,6
@@
*/
#include <stdint.h>
-
#include <rte_mempool.h>
#include <rte_atomic.h>
#include <rte_prefetch.h>
@@
-341,6
+340,8
@@
rte_mbuf_refcnt_set(struct rte_mbuf *m, uint16_t new_value)
/** Mbuf prefetch */
#define RTE_MBUF_PREFETCH_TO_FREE(m) do { } while(0)
+#define rte_mbuf_refcnt_set(m,v) do { } while(0)
+
#endif /* RTE_MBUF_SCATTER_GATHER */