This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.h | 7
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: Jin Yu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
V3 - add packed ring support
---
examples/v
This patch introduces an API for getting virtqueue format.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 13 +
lib/librte_vhost/vhost.c | 12
2 files changed, 25 insertions(+)
diff --g
add all the added experimental APIs which are in
the rte_vhost.h to the rte_vhost_version.map
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost_version.map | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/l
This patch introduces two APIs. one is for getting inflgiht
ring and the other is for getting base.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 40
lib/librte_vhost/vhost.c | 59 +
This patch fix two APIs so user can get the packed ring
support.
Fixes: fceec568 (vhost: add packed ring)
Cc: sta...@dpdk.org
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.c | 68 +---
This patch adds the inflight queue region structure include
the split and packed.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 43
1 file changed, 43 insertions(+)
diff --git
This patch introduces three APIs to operate the inflight
ring. Three APIs are set, set last and clear. It includes
split and packed ring.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 116 +++
lib/librt
This patch add the packed ring in the rte_vhost_vring.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/lib/librte_vhost/rte_vhost.h b
t-user-blk-pci.
eg:
-chardev socket,id=spdk_vhost_blk0,reconnect=1,path=\
-device
vhost-user-blk-pci,ring_packed=on,chardev=spdk_vhost_blk0,num-queues=1\
5, run fio in the guest
6, kill the example and run again.
7, the fio in the guest should continue run without erro
This patch shows how to checkout the inflight ring and construct
the resubmit information also include destroying resubmit info.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 19
lib/librte_vhost/vhost.c
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.h | 7
This patch add the inflight message description and
the inflight share fd protocol feature flag.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
v3 - add rte_vhost_ p
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: Jin Yu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
V3 - add packed ring support
---
examples/v
This patch introduces an API for getting virtqueue format.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 13 +
lib/librte_vhost/vhost.c | 12
2 files changed, 25 insertions(+)
diff --g
This patch introduces two APIs. one is for getting inflgiht
ring and the other is for getting base.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 40
lib/librte_vhost/vhost.c | 59 +
This patch fix two APIs so user can get the packed ring
support.
Fixes: fceec568 (vhost: add packed ring)
Cc: sta...@dpdk.org
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.c | 68 +---
This patch adds the inflight queue region structure include
the split and packed.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 43
1 file changed, 43 insertions(+)
diff --git
This patch introduces three APIs to operate the inflight
ring. Three APIs are set, set last and clear. It includes
split and packed ring.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 116
lib/libr
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.h | 7
This patch shows how to checkout the inflight ring and construct
the resubmit information also include destroying resubmit info.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 19
lib/librte_vhost/vhost.c
rdev socket,id=spdk_vhost_blk0,reconnect=1,path=\
-device
vhost-user-blk-pci,ring_packed=on,chardev=spdk_vhost_blk0,num-queues=1\
5, run fio in the guest
6, kill the example and run again.
7, the fio in the guest should continue run without errors.
JinYu (10):
vhost: add the inflig
This patch add the inflight message description and
the inflight share fd protocol feature flag.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
v3 - add rte_vhost_ p
This patch add the packed ring in the rte_vhost_vring.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/rte_vhost.h | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/lib/librte_vhost/rte_vhost.h b
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: JinYu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
V3 - add packed ring support
---
examples
r-blk-pci.
eg:
-chardev socket,id=spdk_vhost_blk0,reconnect=1,path=\
-device
vhost-user-blk-pci,ring_packed=on,chardev=spdk_vhost_blk0,num-queues=1\
5, run fio in the guest
6, kill the example(vhost-user backend) and run again.
7, the fio in the guest should continue run without err
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: Jin Yu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
V3 - add packed ring support
---
examples/v
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the
shared buffer from backend. Then qemu should send it back
through VHOST_USER_S
code show
how these APIs work and the test has passed.
JinYu (2):
vhost: support inflight share memory protocol feature
vhost: Add vhost-user-blk example which support inflight
examples/vhost_blk/Makefile| 67 ++
examples/vhost_blk/blk.c | 122 +++
examples
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: Jin Yu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
V3 - add packed ring support
---
examples/v
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the
shared buffer from backend. Then qemu should send it back
through VHOST_USER_S
This patches introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Now It can both support split and packed ring. The example code show
how these API work.
JinYu (2):
vhost: support inflight share
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the
shared buffer from backend. Then qemu should send it back
through VHOST_USER_S
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: JinYu
---
V1 - add the case.
V2 - add the rte_vhost prefix.
---
examples/vhost_blk/Makefile
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend. And the example code shows how
these APIs work.
JinYu (2):
vhost: support inflight share memory protocol feature
vhost: Add vhost
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: JinYu
---
V1 - add the case.
---
examples/vhost_blk/Makefile | 67 +++
examples/vhost_blk
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
This patches series introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
This shared buffer is used to process inflight I/O when backend
reconnect.
The example show how these new APIs work.
JinYu
A vhost-user-blk example that support inflight feature. It uses the
new APIs that introduced in the first patch, so It can show how there
APIs work to support inflight feature.
Signed-off-by: JinYu
---
V1 - add the case.
---
examples/vhost_blk/Makefile | 67 +++
examples/vhost_blk
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
v1 - specify the APIs are split-ring only
v2 - fix APIs and judge split or packed
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: LinLi
Signed-off-by: XunNi
Signed-off-by: YuZhang
Signed-off-by: JinYu
---
V1 - specify the APIs are split-ring only
---
lib/librte_vhost/rte_vhost.h
VHOST_USER_SET_INFLIGHT_FD each time we start vhost-user.
This shared buffer is used to process inflight I/O when backend
reconnect.
Signed-off-by: lilin
Signed-off-by: Ni Xun
Signed-off-by: Zhang Yu
Signed-off-by: JinYu
---
lib/librte_vhost/rte_vhost.h | 96 ++
lib/librte_vhost
47 matches
Mail list logo