[ovs-discuss] Detecting Elephant flow on OVS

2014-07-29 Thread Bhargav Bhikkaji
How do one detect Elephant flow on OVS ?. Is there a configurable value, if so, can you provide more details ? -Bhargav ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Detecting Elephant flow.

2014-07-28 Thread Bhargav Bhikkaji
How do one detect Elephant flow on OVS ?. Is there a configurable value, if so, can you provide more details ? Thanks Bhargav ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-28 Thread Bhargav Bhikkaji
Ben, I definitely see adding a flow thro' ovs-ofctl affects the datapath (Kernel). For example, adding a flow with "ovs-ofctl add-flow br0 ip_src=1.0.0.1,action=DROP" drops all packets in kernel path itself. Basically, what i am seeing is that there is a connection between OF-flows (added thro' o

Re: [ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-25 Thread Bhargav Bhikkaji
Fri, Apr 25, 2014 at 9:58 AM, Ben Pfaff wrote: > None of that makes sense. > > On Fri, Apr 25, 2014 at 09:06:11AM -0700, Bhargav Bhikkaji wrote: > > So, all OF-Flows are user-space switched and all Non-OF-flows kernel > > switched (unless there is a flow miss). > > >

Re: [ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-25 Thread Bhargav Bhikkaji
4 PM, Bhargav Bhikkaji > wrote: > > Does "ovs-ofctl flows" gets programmed in the kernel ? or is that > > "ovs-dpctl dump-flows" dumps both of-flows & flows that got punted ? > > > > > > On Thu, Apr 24, 2014 at 3:38 PM, Ben Pfaff wrote: >

Re: [ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-24 Thread Bhargav Bhikkaji
Does "ovs-ofctl flows" gets programmed in the kernel ? or is that "ovs-dpctl dump-flows" dumps both of-flows & flows that got punted ? On Thu, Apr 24, 2014 at 3:38 PM, Ben Pfaff wrote: > On Thu, Apr 24, 2014 at 03:37:12PM -0700, Bhargav Bhikkaji wrote: > > M

Re: [ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-24 Thread Bhargav Bhikkaji
punted and gets programmed subsequently in datapath ? I was assuming that this mechanism was done thro' OF, hence was looking ovs-ofctl dump. Looks like that is not the case. -Bhargav On Thu, Apr 24, 2014 at 3:03 PM, Justin Pettit wrote: > On April 24, 2014 at 3:01:05 PM, Bhargav

[ovs-discuss] Flow difference between ovs-ofctl dump-flows & ovs-dpctl dump-flows

2014-04-24 Thread Bhargav Bhikkaji
There seems to be difference between in #flows between ovs-dpctl vs ovs-ofctl. In the below output, ovs-ofctl has only one entry and act's as a normal learning bridge where-as ovs-dpctl seem to have complete qualified output. My assumption is that that ovs-ofctl and ovs-dpctl share similar relat

[ovs-discuss] Flow miss.

2014-04-15 Thread Bhargav Bhikkaji
When a flow is missed in datapath (kernel), queue_userspace_packet calls genlmsg_unicast to transfer skb to userspace. In userspace context, 2 threads are of interest, udpif_dispatcher & udpif_upcall_handler. udpif_upcall_handle seems to check semantics about missed flow and subsequtently installs

[ovs-discuss] Code walkthrough'

2014-04-09 Thread Bhargav Bhikkaji
What is good way to do a code walk ?. Consider a case where i am trying to understand code-flow while adding an OF flow using ovs-ofctl. Would like to understand the flow in vswitchd, how it interfaces with kernel path en all ? -Bhargav ___ discuss maili