For OVS 2.0, try the "dpif/disable-megaflows" and "dpif/enable-megaflows" 
commands.  I would recommend upgrading to at least 2.3 if you are able.

--Justin


> On Sep 8, 2015, at 7:33 PM, openvswitcher <openvswitc...@163.com> wrote:
> 
> Thank you for your suggestions but I could not use the command you suggested.
> 
> 
> 
> 
> root@comm:~# ovs-appctl upcall/enable-megaflows
> "upcall/enable-megaflows" is not a valid command
> ovs-appctl: ovs-vswitchd: server returned an error
> root@comm:~# ovs-vsctl --version
> ovs-vsctl (Open vSwitch) 2.0.2
> Compiled May 13 2015 18:49:53
> 
> 
> The operation system is Ubuntu 14.04
> 
> 
> Could you please tell me how to solve the problem?
> 
> 
> Thanks.
> 
> 
> 
> At 2015-09-08 23:41:03, "ALeX Wang" <ee07b...@gmail.com> wrote:
> 
> Hey,
> 
> 
> I would encourage you to try it yourself, using `ovs-appctl ofproto/trace` 
> command,
> 
> 
> `ovs-appctl upcall/enable-megaflows` (also disable-megaflows) can be used to 
> turn it
> on and off,
> 
> 
> 
> Thanks,
> Alex Wang,
> 
> 
> On 8 September 2015 at 00:28, openvswitcher <openvswitc...@163.com> wrote:
> Hi,all
> 
> 
> Could anybody tell me what the megaflow feature actually used for?
> 
> 
> For example, if I configure one match rule bellow,
> 
> 
> "in_port=1, dl_vlan=0x20, action set_vlan=0x10, output:2"
> 
> 
> then, if one packet 'dl_vlan=0x20, src_mac=A, dst_mac=B' arrived.
> 
> 
> what will be the difference of flow installed in kernel if I enable/disable 
> mega-flow?
> 
> 
> 
> 
> Looking for your reply. Thanks.
> 
> 
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
> 
> 
> 
> 
> 
> 
> --
> 
> Alex Wang,
> Open vSwitch developer
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to