Hi,

a.f.a.i.k.:

dpctl shows what's in the kernel space (fast path) and ofctl shows
what's in the userspace (flow table - slow(er) path).

The flow table can have priorities, therefore it can consist of
overlapping rules as well resulting in lesser number of rules.
On the other hand, the fast path builds a (megaflow-)cache according to
the userspace flow-table(s) AND the incoming packets, in particular,
incoming packets' headers (regardless of the action (forward/drop)).

So, you not just see more rules/lines of output after calling dpctl
command, they don't even be exactly the same.

Please correct me, if I'm wrong.

BR,
levi

On 05/18/2017 03:17 PM, Avi Cohen (A) wrote:
> I understand from manpages that dpctl shows only exact-match flows of packets 
> that traverse the datapath lately.
> So I expect to see less flows in the datapath than in openflow.  but I have  
> more flows in the datapath - why ?
>
>> -----Original Message-----
>> From: Avi Cohen (A)
>> Sent: Thursday, 18 May, 2017 4:37 PM
>> To: '[email protected]'
>> Subject: DUMP-FLOWS: ofctl dump-flows vs dpctl dump-flows
>>
>> Hello,
>> I'm seeing in my dpctl dump-flows   about 10,000  flows,  while in ofctl 
>> dump-
>> flows I see only ~ 1400 flows
>> - Is this make sense ?
>> - How can I associate an ofcctl flow to a dpctl flow ?  (I can see ufid only 
>> in dpctl
>> dump) Best Regards, avi
> _______________________________________________
> discuss mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to