Re: [ovs-discuss] How to crash ovs-vswitchd and ovsdb-server

2017-04-26 Thread Ben Pfaff
On Thu, Apr 27, 2017 at 09:01:14AM +0530, V Phanendra wrote: > My requirement is my application should detect the crash in ovsdb-server > and ovs-vswitchd application and do required relaunching applications. > > To test this I would like to know how to crash ovsdb-server and > ovs-vswitchd

Re: [ovs-discuss] How to crash ovs-vswitchd and ovsdb-server

2017-04-26 Thread Andy Zhou
On Wed, Apr 26, 2017 at 8:31 PM, V Phanendra wrote: > Hi All, > > My requirement is my application should detect the crash in ovsdb-server and > ovs-vswitchd application and do required relaunching applications. > > To test this I would like to know how to crash

[ovs-discuss] How to crash ovs-vswitchd and ovsdb-server

2017-04-26 Thread V Phanendra
Hi All, My requirement is my application should detect the crash in ovsdb-server and ovs-vswitchd application and do required relaunching applications. To test this I would like to know how to crash ovsdb-server and ovs-vswitchd application? I don't want to kill it by kill or other commands.

Re: [ovs-discuss] why userspace handle many packets once?

2017-04-26 Thread Ben Pfaff
On Thu, Apr 27, 2017 at 10:39:15AM +0800, 杨润垲 wrote: > If the packet can't match the flow table in the kernel module, it > will be delivered to ovs-vswitchd. Recv_upcalls() is a part of > ovs-vswitchd, the number of packets handled in recv_uopcalls()is > UPCALL_MAX_BATCH(default is 50),

[ovs-discuss] why userspace handle many packets once?

2017-04-26 Thread 杨润垲
If the packet can't match the flow table in the kernel module, it will be delivered to ovs-vswitchd. Recv_upcalls() is a part of ovs-vswitchd, the number of packets handled in recv_uopcalls()is UPCALL_MAX_BATCH(default is 50), could you tell me the reason why it's designed so? thank you!

Re: [ovs-discuss] DPDK OVS HW offload related question

2017-04-26 Thread Darrell Ball
On 4/26/17, 11:45 AM, "ovs-discuss-boun...@openvswitch.org on behalf of Patil, Harish" wrote: >Hello, > >We are planning to utilize the rte_flow (generic flow interface)

Re: [ovs-discuss] dpdkvhostuser interface

2017-04-26 Thread Darrell Ball
On 4/26/17, 12:06 AM, "ovs-discuss-boun...@openvswitch.org on behalf of Avi Cohen (A)" wrote: Hello, dpdkvhostuserclient interface type is used to connect a VM to the ovs-dpdk Is it possible to connect a

Re: [ovs-discuss] DPDK OVS HW offload related question

2017-04-26 Thread Patil, Harish
>Hello, > >We are planning to utilize the rte_flow (generic flow interface) >introduced in DPDK 16.11. It provides, among other things, a flow action >type called RTE_FLOW_ACTION_TYPE_MARK that attaches an arbitrary 32-bit >integer value for packets matching the flow director rules and sets

Re: [ovs-discuss] connecting a VM to OVS with a virtio device

2017-04-26 Thread Guoshuai Li
This is my command, Please refer : # qemu-kvm /root/image/gdx_ctl1.img -cpu host --enable-kvm -smp 2,sockets=4 -m 4G -vnc :702, -net nic,vlan=0,macaddr=0c:b5:8a:e3:9c:00 -net tap,vlan=0,ifname=tap709,script=no # ovs-vsctl add-br br-def # ovs-vsctl add-port br-def eth0 # ovs-vsctl add-port

[ovs-discuss] connecting a VM to OVS with a virtio device

2017-04-26 Thread Avi Cohen (A)
Hi, currently I can launch a VM connected to OVS with a tap device using the following command line : "qemu-system-x86_64 -m 512 -smp 4 -cpu host -hda ~/f21vm1c1.qcow2 -boot c -enable-kvm -no-reboot -nographic -net nic,macaddr=00:11:22:EE:EE:EE -net

Re: [ovs-discuss] Stuck when add-br or del-br

2017-04-26 Thread Ben Pfaff
On Wed, Apr 26, 2017 at 10:13:10PM +0800, HUNTER wrote: > I have compiled OVS 2.5.0 on my VM, but when I `sudo ovs-vsctl add-br br0`, > it got stuck.The `sudo ovs-vsctl show` shows that the bridge is added. The > similar result is with `del-br`.I can `ctrl C`to stop them but I couldn't > start

[ovs-discuss] Stuck when add-br or del-br

2017-04-26 Thread HUNTER
Hi guys, I have compiled OVS 2.5.0 on my VM, but when I `sudo ovs-vsctl add-br br0`, it got stuck.The `sudo ovs-vsctl show` shows that the bridge is added. The similar result is with `del-br`.I can `ctrl C`to stop them but I couldn't start my mininet in this way. By the way, I used Virtualbox

Re: [ovs-discuss] restarting ovsdb-server, ovs-vswitchd

2017-04-26 Thread Bodireddy, Bhanuprakash
>Hi All, >My requirement is my application should detect the crash in ovsdb-server and >ovs-vswitchd application and do required relaunching applications. Have you checked '--monitor' option? With that option the ovs-vswitchd will be relaunched automatically in case of signal. Please add subject

[ovs-discuss] (no subject)

2017-04-26 Thread V Phanendra
Hi All, My requirement is my application should detect the crash in ovsdb-server and ovs-vswitchd application and do required relaunching applications. To test this I would like to know how to crash ovsdb-server and ovs-vswitchd application? I don't want to kill it by kill or other commands.

[ovs-discuss] ovs flow table and flow caching

2017-04-26 Thread Heung Sik Choi
Hello, I currently study openvswitch's flow table for better packet processing. I looked into datapath.c and flow_table.c, but I can't find how to insert a flow in flow table. Also, I understand that ovs' flow processing way include 'Megaflow' and 'Exact Match Cache', but I can't find that in

[ovs-discuss] dpdkvhostuser interface

2017-04-26 Thread Avi Cohen (A)
Hello, Dpdkvhostuser interface type is used to connect a VM to the ovs-dpdk Is it possible to connect a container/namespace to ovs-dpdk with this interface type ? Currently I use veth pair , but got poor performance Best Regards avi ___ discuss