History

IB/mlx5: Add HDR speed support to query port

Report HDR speed when HDR is supported in CapabilityMask2 and the actual speed is HDR.

Michael Guralnik committed 7 years ago

Commit b8741551 parent 4106a751 file · +5 −0Browse files

Unified · Split

drivers/infiniband/hw/mlx5/mad.c+5−0
@@ -583,6 +583,11 @@ int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u8 port, · 582 unmodified lines
583 case 2:583 case 2:
584 props->active_speed = 32; /* EDR */584 props->active_speed = 32; /* EDR */
585 break;585 break;
586 case 4:
587 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP &&
588 props->port_cap_flags2 & IB_PORT_LINK_SPEED_HDR_SUP)
589 props->active_speed = IB_SPEED_HDR;
590 break;
586 }591 }
587 }592 }
588 593

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t