Hi Amrane, that’s the expected behavior. The 1st packet of a flow goes up to userspace – and there’s a context switch for that. After classification 1 cache entry will be added in the megaflow table and another cache entry into the microflow table, both these 2 caches are into the kernel. So hopefully future packets - similar to the one you received – will be matched against the kernel caches, avoiding to be processed in userspace.
Worth having a look at https://www.usenix.org/system/files/conference/nsdi15/nsdi15-paper-pfaff.pdf The other option you could consider is to use OVS with DPDK where all the datapath is at the userspace level. HTH Antonio From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Amrane Ait Zeouay Sent: Monday, August 8, 2016 9:44 AM To: discuss@openvswitch.org Subject: [ovs-discuss] disable datapath Hi, Is there a way to send packets to userspace and stopping userspace from sending flows to datapath, because i want all my packets to be treated in userspace, because when i send the first packet it goes to userspace and after that it doesn't. so can you help me. Thank you and have a nice say, best regards
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss