Thread (1 message) 1 message, 1 author, 2015-05-22

[PATCH 7/7] dapl dtest: add logging of provider private data size with -v

DORMANTno replies

From: <hidden>
Date: 2015-05-22 19:22:47
Subsystem: the rest · Maintainer: Linus Torvalds

From: Arlin Davis <redacted>

Signed-off-by: Arlin Davis <redacted>
---
 test/dtest/dtest.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c
index c9e58ec..bd30207 100755
--- a/test/dtest/dtest.c
+++ b/test/dtest/dtest.c
@@ -710,7 +710,7 @@ int main(int argc, char **argv)
 
 	/* Provider specific attributes */
 	for (i=0; i<pr_attr.num_provider_specific_attr; i++) {
-		LOGPRINTF("%d Provider_attr[%d] %s = %s \n",
+		LOGPRINTF("%d provider_specific_attr[%d] %s = %s \n",
 			  getpid(), i,
 			  pr_attr.provider_specific_attr[i].name,
 			  pr_attr.provider_specific_attr[i].value);
@@ -718,6 +718,8 @@ int main(int argc, char **argv)
 		    !strcmp(pr_attr.provider_specific_attr[i].value,"TRUE") && !write_only)
 			rdma_read = 1;
 	}
+	LOGPRINTF("%d provider_attr->max_private_data_size = %d\n",
+		   getpid(), pr_attr.max_private_data_size);
 
 	/* Create Protection Zone */
 	start = get_time();
-- 
1.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help