diff options
author | Nithin Raju <nithin@vmware.com> | 2014-08-27 08:36:19 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-08-28 08:52:52 -0700 |
commit | fd972eb87a888242fb1a8ec2394fa7b3030fbd7d (patch) | |
tree | c8fee55ca9946a58b2cb2e379b09372ddd230b86 /datapath-windows/ovsext/Datapath.h | |
parent | 8721a6e2f00fbaedaafa414cc74cf1ca66c177be (diff) | |
download | openvswitch-fd972eb87a888242fb1a8ec2394fa7b3030fbd7d.tar.gz |
netlink-socket: Use read/write ioctl instead of ReadFile/WriteFile.
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@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Diffstat (limited to 'datapath-windows/ovsext/Datapath.h')
0 files changed, 0 insertions, 0 deletions