[ovs-dev] [PATCH] netlink-socket.c: use read/write ioctl instead of ReadFile/WriteFile

Ben Pfaff blp at nicira.com
Thu Aug 28 15:55:25 UTC 2014


On Wed, Aug 27, 2014 at 08:36:19AM -0700, Nithin Raju wrote:
> The Windows datapath supports a READ/WRITE ioctl instead of ReadFile/WriteFile.
> In this change, we update the following:
> - WriteFile() in nl_sock_send__() to use DeviceIoControl(OVS_IOCTL_WRITE)
> - ReadFile() in nl_sock_recv__() to use DeviceIoControl(OVS_IOCTL_READ)
> 
> The WriteFile() call in nl_sock_transact_multiple__() has not been touched
> since it is not needed yet.
> 
> Main motive for this change is to be able to unblock the DP Dump workflow.
> 
> Signed-off-by: Nithin Raju <nithin at vmware.com>

Applied, thanks!



More information about the dev mailing list