[ovs-discuss] add flow

2013-04-24 Thread 김성수
I added flow table entry using add_flow function in /ofproto/ofproto.c. I could check that a flow table was successfully updated by sending query from controller. However, packet processing speed was so slow. Reason was that my switch handles packet as missed flow. It should process in Kernel spa

Re: [ovs-discuss] About porting ovs to the hardware platform.

2013-04-24 Thread Ben Pfaff
On Wed, Apr 24, 2013 at 05:40:34AM +, Lin Shaun wrote: > Excuse me, I have studied PORTING document in ovs source.If i want to > port ovs into the hardware switch (embedded linux, asic support L2/L3 > table)Should I use the kernel datapath? or I just use userspace ovs > and write netdev-provide

[ovs-discuss] About porting ovs to the hardware platform.

2013-04-24 Thread Lin Shaun
Excuse me, I have studied PORTING document in ovs source.If i want to port ovs into the hardware switch (embedded linux, asic support L2/L3 table)Should I use the kernel datapath? or I just use userspace ovs and write netdev-provider/dpif-providerto communication the network device of ASIC? Than

Re: [ovs-discuss] ????: ????: ????: ????: [ovs]deleting interfaces connnected to ports results in ovs-vswitchd memory growing

2013-04-24 Thread Ben Pfaff
I'll repeat myself. We haven't observed that behavior before, when we've created and destroyed many interfaces, or at least this is the first time it's been reported to me. Can you figure out why ovs-vswitchd is trying to commit so many transactions? It would be better for it to do avoid doing t

Re: [ovs-discuss] Sending tun_id over VXLAN tunnel

2013-04-24 Thread Ben Pfaff
It's whatever you configured it to be. On Wed, Apr 24, 2013 at 09:40:52AM +0200, Kouvakas Alexandros wrote: > Hi, > how can I find the tun_id of each of my tunnels? > > > 2013/4/24 Ben Pfaff > > > On Wed, Apr 24, 2013 at 09:21:08AM +0300, Liran Schour wrote: > > > > > > Ben Pfaff wrote on 22/

[ovs-discuss] 答复: 答复: ????: ????: [ovs]deleting interfaces connnected to ports results in ovs-vswitchd memory growing

2013-04-24 Thread pengyi Peng(Yi)
Yes, after backlog comes back to zero, memory is freed, and the memory of ovs-vswitchd stops growing. However, if stream_send always returns -EAGAIN, the messages are held: "The send function will not block. If no bytes can be immediately accepted for transmission, it returns -EAGAIN immediate

Re: [ovs-discuss] Sending tun_id over VXLAN tunnel

2013-04-24 Thread Liran Schour
Ben Pfaff wrote on 22/04/2013 06:31:19 PM: > On Mon, Apr 22, 2013 at 04:27:12PM +0300, Liran Schour wrote: > > I am using Openvswitch 1.10.90. > > I tried to pass tun_id over VXLAN tunnel by setting a flow for that and > > match tun_id on the destination side and failed to do that. > > It seems

Re: [ovs-discuss] Sending tun_id over VXLAN tunnel

2013-04-24 Thread Kouvakas Alexandros
Hi, how can I find the tun_id of each of my tunnels? 2013/4/24 Ben Pfaff > On Wed, Apr 24, 2013 at 09:21:08AM +0300, Liran Schour wrote: > > > > Ben Pfaff wrote on 22/04/2013 06:31:19 PM: > > > > > On Mon, Apr 22, 2013 at 04:27:12PM +0300, Liran Schour wrote: > > > > I am using Openvswitch 1.1