> Thanks, I applied this.

Thanks a lot Roland. But there was also a patch for ibsrpdm to
display the IO class of the target. I am including it below for
your convenience.

Regards,
Ram

Signed-off-by: Ramachandra K <[EMAIL PROTECTED]>

Index: userspace/srptools/src/srp-dm.c
===================================================================
--- userspace/srptools/src/srp-dm.c     (revision 7738)
+++ userspace/srptools/src/srp-dm.c     (working copy)
@@ -399,6 +399,7 @@
                        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("        ID:        %s\n", ioc_prof.id);
+                       pr_human("        IO class : %hx\n", 
ntohs(ioc_prof.io_class));
                        pr_human("        service entries: %d\n", 
ioc_prof.service_entries);
 
                        for (j = 0; j < ioc_prof.service_entries; j += 4) {
@@ -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,
+                                              ntohs(ioc_prof.io_class),
                                               (unsigned long long) 
ntohll(svc_entries.service[k].id));
                                }
                        }


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to