in the
non-commit case as well.
Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
CC: Joe Stringer <joestrin...@nicira.com>
CC: Justin Pettit <jpet...@nicira.com>
CC: Andy Zhou <az...@nicira.com>
CC: Thomas Graf <tg...@suug.ch>
Signed-off-by: Samuel Gauthier &
,
i.e not only in the commit case.
Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
CC: Joe Stringer <joestrin...@nicira.com>
CC: Justin Pettit <jpet...@nicira.com>
CC: Andy Zhou <az...@nicira.com>
CC: Thomas Graf <tg...@suug.ch>
Signed-off-by: Samuel G
2016-03-17 0:23 GMT+01:00 Jesse Gross <je...@kernel.org>:
> On Wed, Mar 16, 2016 at 8:07 AM, Samuel Gauthier
> <samuel.gauth...@6wind.com> wrote:
>> This patchset adds a netlink api to refresh an existing flow in
>> openvswitch.
>>
>> When a packet
' netlink
message refreshes the flow used time to the current time. The value in
OVS_FLOW_ATTR_USED attribute is not used in this case.
Signed-off-by: Samuel Gauthier <samuel.gauth...@6wind.com>
---
net/openvswitch/datapath.c | 2 ++
net/openvswitch/flow.c | 6 ++
net/openvswitch/
The function to update statistics takes a skbuff as parameter. It
would be handy to have the statistics update part in one function, and
the skbuff part in another one.
The next commit will make use of the new ovs_flow_stats_update
function.
Signed-off-by: Samuel Gauthier <samuel.ga
the behavior for
all the flows, which is not always what you want.
I tested this with a patch for the openvswitch tree of the
ovs-dpctl mod-flow command, which adds a --refresh flag. I will
submit the patch if this patchset is accepted.
Samuel Gauthier (2):
ovs: split ovs_flow_stats_update into skb
is used to validate the actions provided by
the userland.
This commit allows to use the ufid without having to provide the flow
key, as it is already done in the netlink 'flow get' and 'flow del'
path. The flow key remains mandatory when an action is provided.
Signed-off-by: Samuel Gauthier
allows to use the ufid without having to provide the flow
key, as it is already done in the netlink 'flow get' and 'flow del'
path.
Signed-off-by: Samuel Gauthier <samuel.gauth...@6wind.com>
---
net/openvswitch/datapath.c | 21 ++---
1 file changed, 10 insertions(+), 11 del