diff options
author | Sorin Vinturis <svinturis@cloudbasesolutions.com> | 2016-03-25 14:49:27 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-03-25 08:24:33 -0700 |
commit | ee25964a60c6b2c6e60a4c5fbfc9e90cf304f970 (patch) | |
tree | aed6bb5d9fffd860d866be30a53c1e70f9bac9eb /datapath-windows/ovsext/Datapath.c | |
parent | a0045b428f1e6c20fd8a31dec22d7f16ffef86f3 (diff) | |
download | openvswitch-ee25964a60c6b2c6e60a4c5fbfc9e90cf304f970.tar.gz |
datapath-windows: Added recirculation support.
Recirculation support for the OVS extension.
Tested using PING and iperf with Driver Verifier enabled.
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Co-authored-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/104
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Datapath.c')
-rw-r--r-- | datapath-windows/ovsext/Datapath.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Datapath.c b/datapath-windows/ovsext/Datapath.c index a9a218d20..464fa9784 100644 --- a/datapath-windows/ovsext/Datapath.c +++ b/datapath-windows/ovsext/Datapath.c @@ -30,6 +30,7 @@ #include "Event.h" #include "User.h" #include "PacketIO.h" +#include "Recirc.h" #include "NetProto.h" #include "Flow.h" #include "User.h" @@ -384,6 +385,8 @@ OvsInit() gOvsCtrlLock = &ovsCtrlLockObj; NdisAllocateSpinLock(gOvsCtrlLock); OvsInitEventQueue(); + OvsDeferredActionsQueueAlloc(); + OvsDeferredActionsLevelAlloc(); } VOID @@ -394,6 +397,8 @@ OvsCleanup() NdisFreeSpinLock(gOvsCtrlLock); gOvsCtrlLock = NULL; } + OvsDeferredActionsQueueFree(); + OvsDeferredActionsLevelFree(); } VOID |