summaryrefslogtreecommitdiff
path: root/datapath-windows/include
diff options
context:
space:
mode:
authorEitan Eliahu <eliahue@vmware.com>2014-09-08 20:08:12 -0700
committerBen Pfaff <blp@nicira.com>2014-09-09 12:37:53 -0700
commit7fa09611015aa7789d790e8d46ce5414162c5d1f (patch)
tree22cd790b61dbf43bb5a6c076fff1ca51ebcee87d /datapath-windows/include
parent3b2a7e92dc8477b920a330535e8c83568c06b7b3 (diff)
downloadopenvswitch-7fa09611015aa7789d790e8d46ce5414162c5d1f.tar.gz
netlink-socket: Add support for async notification on Windows.
We keep an outstanding, out of band, I/O request in the driver at all time. Once an event generated the driver queues the event message, completes the pending I/O and unblocks the calling thread through setting the event in the overlapped structure in the NL socket. The thread will read all all event messages synchronously through the call of nl_sock_recv() Signed-off-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Samuel Ghinet <sghinet@cloudbasesolutions.com> Acked-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com> Acked-by: Saurabh Shah <ssaurabh@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/include')
-rw-r--r--datapath-windows/include/OvsDpInterfaceExt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath-windows/include/OvsDpInterfaceExt.h b/datapath-windows/include/OvsDpInterfaceExt.h
index 73dfcbe53..ab2088ad5 100644
--- a/datapath-windows/include/OvsDpInterfaceExt.h
+++ b/datapath-windows/include/OvsDpInterfaceExt.h
@@ -70,6 +70,7 @@
/* Commands available under the OVS_WIN_CONTROL_FAMILY. */
enum ovs_win_control_cmd {
OVS_CTRL_CMD_WIN_GET_PID,
+ OVS_CTRL_CMD_WIN_PEND_REQ
};
#endif /* __OVS_DP_INTERFACE_EXT_H_ */