[openib-general] [PATCH] (Resend) SRPTOOLS: print out the target io_class in ibsrpdm
Ramchandra K
rkuchimanchi at silverstorm.com
Thu Jun 1 07:12:32 PDT 2006
Hi Roland,
Resending the patch that prints out the target io class value
in ibsrpdm to aid in specifying the target creation
parameter - io_class.
Regards,
Ram
Signed-off-by: Ramachandra K <rkuchimanchi at silverstorm.com>
Index: userspace/srptools/src/srp-dm.c
===================================================================
--- userspace/srptools/src/srp-dm.c (revision 7617)
+++ userspace/srptools/src/srp-dm.c (working copy)
@@ -398,6 +398,7 @@
(unsigned long long) ntohll(ioc_prof.guid));
pr_human(" vendor ID: %06x\n", ntohl(ioc_prof.vendor_id) >> 8);
pr_human(" device ID: %06x\n", ntohl(ioc_prof.device_id));
+ pr_human(" IO class : %hx\n", ntohs(ioc_prof.io_class));
pr_human(" ID: %s\n", ioc_prof.id);
pr_human(" service entries: %d\n", ioc_prof.service_entries);
@@ -429,11 +430,13 @@
"ioc_guid=%016llx,"
"dgid=%016llx%016llx,"
"pkey=ffff,"
+ "io_class=%hx,"
"service_id=%016llx\n",
id_ext,
(unsigned long long) ntohll(ioc_prof.guid),
(unsigned long long) subnet_prefix,
(unsigned long long) guid,
+ (unsigned short) ntohs(ioc_prof.io_class),
(unsigned long long) ntohll(svc_entries.service[k].id));
}
}
More information about the general
mailing list