Re: [PATCH net v2] openvswitch: Zero flows on allocation.

2015-09-22 Thread David Miller
From: Jesse Gross Date: Mon, 21 Sep 2015 20:21:20 -0700 > When support for megaflows was introduced, OVS needed to start > installing flows with a mask applied to them. Since masking is an > expensive operation, OVS also had an optimization that would only > take the parts of the flow keys that w

Re: [PATCH net v2] openvswitch: Zero flows on allocation.

2015-09-22 Thread Pravin Shelar
On Mon, Sep 21, 2015 at 8:21 PM, Jesse Gross wrote: > When support for megaflows was introduced, OVS needed to start > installing flows with a mask applied to them. Since masking is an > expensive operation, OVS also had an optimization that would only > take the parts of the flow keys that were c

[PATCH net v2] openvswitch: Zero flows on allocation.

2015-09-21 Thread Jesse Gross
When support for megaflows was introduced, OVS needed to start installing flows with a mask applied to them. Since masking is an expensive operation, OVS also had an optimization that would only take the parts of the flow keys that were covered by a non-zero mask. The values stored in the remaining