Skip to content

Commit

Permalink
UCT/IB: Detect NDR
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemy-Mellanox committed Jan 2, 2022
1 parent b98911f commit b64c500
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/uct/ib/base/ib_iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,11 @@ ucs_status_t uct_ib_iface_query(uct_ib_iface_t *iface, size_t xport_hdr_len,
signal_rate = 25.78125e9 * 2;
encoding = 64.0/66.0;
break;
case 128: /* NDR */
iface_attr->latency.c = 600e-9; /* TODO t.b.d. */
signal_rate = 100e9;
encoding = 64.0/66.0;
break;
default:
ucs_error("Invalid active_speed on " UCT_IB_IFACE_FMT ": %d",
UCT_IB_IFACE_ARG(iface), active_speed);
Expand Down

0 comments on commit b64c500

Please sign in to comment.