aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAsias He <asias.hejun@gmail.com>2011-06-29 16:47:06 +0800
committerWill Deacon <will.deacon@arm.com>2015-06-01 16:39:45 +0100
commit26570aaffb7a8ee2169c0dfcbe2b80863014c165 (patch)
tree70467741cb3ad8b41d5a36148c9d200eeee8d38d /Makefile
parent6c8ca053403bb560c54c58de7908d60b4e8616d6 (diff)
downloadkvmtool-26570aaffb7a8ee2169c0dfcbe2b80863014c165.tar.gz
kvm tools: Introduce ethernet frame buffer system for uip
- uip_buf_get_free() Get a free buffer from buffer pool, sleep if there is no free buffer. - uip_buf_get_used() Get a used buffer from buffer pool, sleep if there is no used buffer. - uip_buf_set_free() Set a buffer as free, so it can be reused by the buffer producer. - uip_buf_set_used() Set a buffer as used, uip rx code will inject the ethernet frame in this buffer into guest. - uip_buf_clone() Get a free buffer, and clone data into it. Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d368c221..91539de7 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,7 @@ OBJS += disk/qcow.o
OBJS += disk/raw.o
OBJS += ioeventfd.o
OBJS += irq.o
+OBJS += uip/buf.o
OBJS += kvm-cmd.o
OBJS += kvm-debug.o
OBJS += kvm-help.o