[ovs-dev] [PATCH] tests/ofproto-dpif: Use vlog to test dpif behaviour.

Joe Stringer joestringer at nicira.com
Tue Apr 8 02:03:43 UTC 2014


On 8 April 2014 13:53, YAMAMOTO Takashi <yamamoto at valinux.co.jp> wrote:

> > To clarify, this patch is aimed at the following type of situation:
> > * netdev-dummy puts the packet on the queue.
> > * Upcall handler receives the packet, installs a flow.
> > * Revalidator decides to delete the flow (examples are the flow fails
> > revalidation, or flow is deemed unimportant, other such situations have
> > been reproduced on an upcoming patchset)
>
> can they happen with the current code and tests?


I don't think so. I saw these race conditions when writing patches that
modify revalidator behaviour. Perhaps I should re-post this patch with
those changes, to provide better context.


> > * The test script attempts to dump flows from the datapath, but there are
> > no flows.
>
> thanks for explanation.
>
> now i inderstand that your patch attempts to fix different races
> from my patch.  right?
>

Correct.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20140408/5424bd59/attachment-0005.html>


More information about the dev mailing list