On Sep 30, 2013, at 10:01 PM, ESWAR RAO <eswar7...@gmail.com> wrote:
> Hi All, > > I am new to openvswitch. > Please correct me if my below understanding is wrong: > > Openvswitch has mainly 2 sets of tables: > (1) exact match table/rule table in datapath (kernel) > (2) wild card table/flow table in in-memory ( user space) > > Recently used flows gets added in datapath table which has only limited > entries and expiry interval is around 5 sec. > > Through openflow we can add flow entries in only u-space tables which has > slow lookup compared to kernel exact match tables. Your description matches pre-1.11 versions of OVS. Since 1.11, we've supported wildcards in the kernel, which, in most configurations, causes fewer flows to be sent to userspace. > Please let me know why we cant add direct flows in kernel flow tables since > its fast (as per my understanding they can be added through ovs-dpctl only) > through openflow ?? Since kernel lookup would be fast why we add flows to > u-space??? The OpenFlow tables and other switch configuration can be quite complicated and often don't translate cleanly into kernel flows. --Justin _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss