[ofa-general] [PATCH v2] libibmad/dump: print more PortInfo:CapabilityMask bits
Sasha Khapyorsky
sashak at voltaire.com
Sat Oct 25 08:52:18 PDT 2008
Support (show) new PortInfo:CapabilityMask bits -
IsOtherLocalChangesNoticeSupported and
IsLinkSpeedWidthPairsTabaleSupported.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
Change against original version - fix typo found by Hal.
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..052127f 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\tIsLinkSpeedWidthPairsTableSupported\n");
if (s != buf)
*(--s) = 0;
--
1.6.0.3.517.g759a
More information about the general
mailing list