[dpdk-dev] 100% cpu of VM (OS windows 7)

2015-07-02 Thread Wei Li
tdev.c:742 #5 0x0055ff52 in dp_execute_cb (aux_=0x7fff12521f50, packets=0x7fff12523390, cnt=1, a=0x7fff12522058, may_steal=true) at lib/dpif-netdev.c:3434 On 2015/7/1 18:34, Wei Li wrote: > dpdk: 2.0.0 > ovs:2.4.90 > qemu: 2.3.0 > OS of vm: windows7 64bit > driver of vi

[dpdk-dev] 100% cpu of VM (OS windows 7)

2015-07-01 Thread Wei Li
dpdk: 2.0.0 ovs:2.4.90 qemu: 2.3.0 OS of vm: windows7 64bit driver of virtio for windows: virtio-win-0.1.96_amd64 ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev ovs-vsctl add-port br0 tap0 -- set Interface tap0 type=dpdkvhostuser qemu-system-x86_64 win.img -cpu host -smp 2 --e

[dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Wei li
when rte_atomic16_cmpset return 0 in first loop, secure_len should be reset to 0 in second loop, otherwise (pkt_len > secure_len) always be false, the num of desc maybe not enough Signed-off-by: Wei li --- lib/librte_vhost/vhost_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 delet

[dpdk-dev] [PATCH] lib_vhost:reset secure_len when rte_atomic16_cmpset failed

2015-06-01 Thread Wei li
--- lib/librte_vhost/vhost_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 4809d32..fb3e72a 100644 --- a/lib/librte_vhost/vhost_rxtx.c +++ b/lib/librte_vhost/vhost_rxtx.c @@ -431,6 +431,7 @@ virtio_dev_merge_rx(struct v

[dpdk-dev] [PATCH] vhost: tcp pkt with virtio header in one desc

2015-05-28 Thread Wei li
Signed-off-by: Wei li --- lib/librte_vhost/vhost_rxtx.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 4809d32..2d3ea92 100644 --- a/lib/librte_vhost/vhost_rxtx.c +++ b/lib/librte_vhost