[ovs-git] [openvswitch/ovs] 7fa096: netlink-socket: Add support for async notification...

GitHub noreply at github.com
Tue Sep 9 19:40:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7fa09611015aa7789d790e8d46ce5414162c5d1f
      https://github.com/openvswitch/ovs/commit/7fa09611015aa7789d790e8d46ce5414162c5d1f
  Author: Eitan Eliahu <eliahue at vmware.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M datapath-windows/include/OvsDpInterfaceExt.h
    M lib/netlink-socket.c

  Log Message:
  -----------
  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 at vmware.com>
Acked-by: Samuel Ghinet <sghinet at cloudbasesolutions.com>
Acked-by: Ankur Sharma <ankursharma at vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Saurabh Shah <ssaurabh at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list