History log of /kvmtool/net/uip/buf.c (Results 1 – 3 of 3)
Revision Date Author Comments
# d3476f7d 24-Oct-2012 Sasha Levin <sasha.levin@oracle.com>

kvm tools: use mutex abstraction instead of pthread mutex

We already have something to wrap pthread with mutex_[init,lock,unlock]
calls. This patch creates a new struct mutex abstraction and moves
e

kvm tools: use mutex abstraction instead of pthread mutex

We already have something to wrap pthread with mutex_[init,lock,unlock]
calls. This patch creates a new struct mutex abstraction and moves
everything to work with it.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

show more ...


# 42a6c572 09-Jul-2011 Asias He <asias.hejun@gmail.com>

kvm tools: Move uip to net directory

This mirrors what the kernel already has.

Suggested-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka E

kvm tools: Move uip to net directory

This mirrors what the kernel already has.

Suggested-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

show more ...


# 26570aaf 29-Jun-2011 Asias He <asias.hejun@gmail.com>

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

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>

show more ...