[PATCH infiniband-diags 1/6] ibdiag_common.c: In is_port_info_extended_supported, query PortInfo for port, 0 when node is a switch for HDR support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Per MgtWG comment #9363

Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx>
---
 libibmad/src/dump.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libibmad/src/dump.c b/libibmad/src/dump.c
index 2244f38..1f41e62 100644
--- a/libibmad/src/dump.c
+++ b/libibmad/src/dump.c
@@ -632,6 +632,8 @@ void mad_dump_portcapmask2(char *buf, int bufsz, void *val, int valsz)
 		s += sprintf(s, "\t\t\t\tIsSwitchPortStateTableSupported\n");
 	if (mask & (1 << 4))
 		s += sprintf(s, "\t\t\t\tIsLinkWidth2xSupported\n");
+	if (mask & (1 << 5))
+		s += sprintf(s, "\t\t\t\tIsLinkSpeedHDRSupported\n");
 
 	if (s != buf)
 		*(--s) = 0;
-- 
2.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux