@@ -115,6 +115,9 @@ char *dump_linkspeedext_compat(uint32_t espeed, uint32_t speed, uint32_t fdr10)
case 2:
return ("EDR");
break;
+ case 4:
+ return ("HDR");
+ break;
}
return ("???");
}
@@ -356,7 +356,12 @@ static void validate_speed(int speed, int peerspeed, int lsa)
static void validate_extended_speed(int espeed, int peerespeed, int lsea)
{
- if ((espeed & peerespeed & 0x2)) {
+ if ((espeed & peerespeed & 0x4)) {
+ if (lsea != 4)
+ IBWARN
+ ("Peer ports operating at active extended speed %d rather than 4 (53.125 Gbps)",
+ lsea);
+ } else if ((espeed & peerespeed & 0x2)) {
if (lsea != 2)
IBWARN
("Peer ports operating at active extended speed %d rather than 2 (25.78125 Gbps)",
Per MgtWG comments #9364-9366 Signed-off-by: Hal Rosenstock <hal@mellanox.com> --- src/ibnetdiscover.c | 3 +++ src/ibportstate.c | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-)