[ofa-general] [PATCH] libibmad/dump: print more PortInfo:CapabilityMask bits
Sasha Khapyorsky
sashak at voltaire.com
Sat Oct 25 08:05:09 PDT 2008
Support (show) new PortInfo:CapabilityMask bits -
IsOtherLocalChangesNoticeSupported and
IsLinkSpeedWidthPairsTabaleSupported.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
libibmad/src/dump.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libibmad/src/dump.c b/libibmad/src/dump.c
index 4a780a7..de05d29 100644
--- a/libibmad/src/dump.c
+++ b/libibmad/src/dump.c
@@ -529,6 +529,10 @@ mad_dump_portcapmask(char *buf, int bufsz, void *val, int valsz)
s += sprintf(s, "\t\t\t\tIsLinkRoundTripLatencySupported\n");
if (mask & (1 << 25))
s += sprintf(s, "\t\t\t\tIsClientRegistrationSupported\n");
+ if (mask & (1 << 26))
+ s += sprintf(s, "\t\t\t\tIsOtherLocalChangesNoticeSupported\n");
+ if (mask & (1 << 27))
+ s += sprintf(s, "\t\t\t\tIsLinkSpeedWidthPairsTabaleSupported\n");
if (s != buf)
*(--s) = 0;
--
1.6.0.3.517.g759a
More information about the general
mailing list