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

Samuel Ghinet sghinet at cloudbasesolutions.com
Fri Aug 29 10:41:01 UTC 2014


Nithin,

This patch goes: Not acked-by: Samuel Ghinet <sghinet at cloudbasesolutions.com>

Regards,
Sam
________________________________________

Message: 1
Date: Fri, 29 Aug 2014 01:15:17 -0700
From: Nithin Raju <nithin at vmware.com>
To: dev at openvswitch.org
Subject: [ovs-dev] [PATCH 5/9 v2] datapath-windows: add description to
        members of OVS_USER_PARAMS_CONTEXT
Message-ID: <1409300121-13568-5-git-send-email-nithin at vmware.com>

Signed-off-by: Nithin Raju <nithin at vmware.com>
Acked-by: Ankur Sharma <ankursharma at vmware.com>
Acked-by: Samuel Ghinet <sghinet at cloudbasesolutions.com>
---
 datapath-windows/ovsext/Datapath.h |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/datapath-windows/ovsext/Datapath.h b/datapath-windows/ovsext/Datapath.h
index e796e8c..d0b6d19 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.7.4.1



More information about the dev mailing list