Transform the vhost example to two parts: vhost library and example.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | examples/vhost: remove vhost exampleexamples/ examples/ examples/ +8 more | +0 | 0 replies | |
| 2/3 | lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitchconfig/ lib/ lib/ +9 more | +2500 | 5 replies | |
| 3/3 | examples/vhost: vhost example based on vhost library.examples/ examples/ examples/ +1 more | +3672 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Konstantin Ananyev | Thomos Long |
|---|---|---|
| 1/3 | A-b | A-b |
| 2/3 | A-b | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Transform the vhost example to two parts: vhost library and example.
This transform is to facilitate integration with DPDK accelerated ethernet switch.
Huawei Xie (3):
remove vhost example
vhost library support to facilitate integration with DPDK accelerated
vswitch
This vhost example is based on vhost library. Besides, -
This patch fixes hundreds of 80 character limitation issues.
- Use structure assignment rather than memcpy in get_eth_conf
according to Stephen's comments.
config/common_linuxapp | 7 + examples/vhost/Makefile | 10 +- examples/vhost/eventfd_link/Makefile | 39 - examples/vhost/eventfd_link/eventfd_link.c | 205 --- examples/vhost/eventfd_link/eventfd_link.h | 79 - examples/vhost/libvirt/qemu-wrap.py | 5 +- examples/vhost/main.c | 2205 ++++++++++---------------- examples/vhost/main.h | 85 +- examples/vhost/vhost-net-cdev.c | 367 ----- examples/vhost/vhost-net-cdev.h | 83 - examples/vhost/virtio-net.c | 1165 -------------- examples/vhost/virtio-net.h | 161 -- lib/Makefile | 1 + lib/librte_vhost/Makefile | 48 + lib/librte_vhost/eventfd_link/Makefile | 39 + lib/librte_vhost/eventfd_link/eventfd_link.c | 196 +++ lib/librte_vhost/eventfd_link/eventfd_link.h | 40 + lib/librte_vhost/rte_virtio_net.h | 222 +++ lib/librte_vhost/vhost-net-cdev.c | 394 +++++ lib/librte_vhost/vhost-net-cdev.h | 119 ++ lib/librte_vhost/vhost_rxtx.c | 316 ++++ lib/librte_vhost/virtio-net.c | 1113 +++++++++++++ mk/rte.app.mk | 5 + 23 files changed, 3371 insertions(+), 3533 deletions(-) delete mode 100644 examples/vhost/eventfd_link/Makefile delete mode 100644 examples/vhost/eventfd_link/eventfd_link.c delete mode 100644 examples/vhost/eventfd_link/eventfd_link.h mode change 100755 => 100644 examples/vhost/libvirt/qemu-wrap.py delete mode 100644 examples/vhost/vhost-net-cdev.c delete mode 100644 examples/vhost/vhost-net-cdev.h delete mode 100644 examples/vhost/virtio-net.c delete mode 100644 examples/vhost/virtio-net.h create mode 100644 lib/librte_vhost/Makefile create mode 100644 lib/librte_vhost/eventfd_link/Makefile create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.c create mode 100644 lib/librte_vhost/eventfd_link/eventfd_link.h create mode 100644 lib/librte_vhost/rte_virtio_net.h create mode 100644 lib/librte_vhost/vhost-net-cdev.c create mode 100644 lib/librte_vhost/vhost-net-cdev.h create mode 100644 lib/librte_vhost/vhost_rxtx.c create mode 100644 lib/librte_vhost/virtio-net.c
Signature · 1 line
1.8.1.4