[ovs-dev] [PATCH 5/9 v3] datapath-windows: add description to members of OVS_USER_PARAMS_CONTEXT

Ankur Sharma ankursharma at vmware.com
Fri Aug 29 19:04:29 UTC 2014


Signed-off-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Ankur Sharma <ankursharma at vmware.com>
Acked-by: Ankur Sharma <ankursharma at vmware.com>
---
Please attribute this to Nithin Raju <nithin at vmware.com>
---
 datapath-windows/ovsext/Datapath.h | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/datapath-windows/ovsext/Datapath.h b/datapath-windows/ovsext/Datapath.h
index 2b55919..5afa9d6 100644
--- a/datapath-windows/ovsext/Datapath.h
+++ b/datapath-windows/ovsext/Datapath.h
@@ -89,14 +89,15 @@ NTSTATUS OvsCompleteIrpRequest(PIRP irp, ULONG_PTR infoPtr, NTSTATUS status);
  * passed during a call from userspace.
  */
 typedef struct _OVS_USER_PARAMS_CONTEXT {
-    PIRP irp;
-    POVS_OPEN_INSTANCE ovsInstance;
-    UINT32 devOp;
-    POVS_MESSAGE ovsMsg;
-    PVOID inputBuffer;
-    UINT32 inputLength;
-    PVOID outputBuffer;
-    UINT32 outputLength;
+    PIRP irp;            /* The IRP used for the userspace call. */
+    POVS_OPEN_INSTANCE ovsInstance; /* Private data of the device handle. */
+    UINT32 devOp;        /* Device operation of the userspace call. */
+    POVS_MESSAGE ovsMsg; /* OVS message that userspace passed down. */
+    PVOID inputBuffer;   /* Input data specified by userspace. Maybe NULL. */
+    UINT32 inputLength;  /* Length of input buffer. */
+    PVOID outputBuffer;  /* Output buffer specified by userspace for reading
+                          * data. Maybe NULL. */
+    UINT32 outputLength; /* Length of output buffer. */
 } OVS_USER_PARAMS_CONTEXT, *POVS_USER_PARAMS_CONTEXT;
 
 static __inline VOID
-- 
1.8.3.2




More information about the dev mailing list