diff mbox

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

Message ID 1432322567-9349-7-git-send-email-arlin.r.davis@intel.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Arlin Davis May 22, 2015, 7:22 p.m. UTC
From: Arlin Davis <arlin.r.davis@intel.com>

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---
 test/dtest/dtest.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff mbox

Patch

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();