From: Jan Scheurich <jan.scheur...@ericsson.com> This forces updating of flow stat at the next re-validation, even for flows that are being created when the revalidation has already commenced.
It enables reliable testing of fast path flow stats using ovs-appctl time/warp after flow creation. Signed-off-by: Jan Scheurich <jan.scheur...@ericsson.com> --- ofproto/ofproto-dpif-upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 5d9f7ed..241cce1 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -1118,7 +1118,7 @@ upcall_xlate(struct udpif *udpif, struct upcall *upcall, * with pushing its stats eventually. */ } - upcall->dump_seq = seq_read(udpif->dump_seq); + upcall->dump_seq = 0; upcall->reval_seq = seq_read(udpif->reval_seq); xlate_actions(&xin, &upcall->xout); -- 2.7.4 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev