From 7fa09611015aa7789d790e8d46ce5414162c5d1f Mon Sep 17 00:00:00 2001 From: Eitan Eliahu Date: Mon, 8 Sep 2014 20:08:12 -0700 Subject: 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 Acked-by: Samuel Ghinet Acked-by: Ankur Sharma Acked-by: Alin Gabriel Serdean Acked-by: Saurabh Shah Signed-off-by: Ben Pfaff --- datapath-windows/include/OvsDpInterfaceExt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'datapath-windows/include') 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_ */ -- cgit v1.2.1