Thank you for your answer, but i want to know if i can disable sending the flow from userspace to datapath so that the datapath send all packets to the userspace, even it will be slow, because i implemented a new field in userspace and it's not implemented in datapath.
Thank you. 2016-08-08 11:48 GMT+02:00 Fischetti, Antonio <antonio.fische...@intel.com>: > 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 > > > > > > > > > -- Amrane Ait Zeouay Engineer Student in The Development of Software and Systems University of Western Brittany Tel: +33 7 62 25 56 03 <+33+7+62+25+56+03>
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss