From 4ef869927ebf4bb7228ee2e3930bd325b8aa744e Mon Sep 17 00:00:00 2001 From: Intel Date: Thu, 20 Dec 2012 00:00:00 +0100 Subject: [PATCH] mbuf: fix build when scatter gather is disabled Signed-off-by: Intel --- lib/librte_mbuf/rte_mbuf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 6201bbad0a..88f6f33146 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -59,7 +59,6 @@ */ #include - #include #include #include @@ -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 */ -- 2.20.1