erpc-io / eRPC

Efficient RPCs for datacenter networks
Other
851 stars 138 forks source link

Unremarkable bug for Mellanox ConnectX-6 #51

Closed CHINALJR closed 3 years ago

CHINALJR commented 3 years ago

ConnectX-6 is a new NIC with the higher speed (200Gb/s), while the port_attr.active_speed == 64. I think that the Compute the bandwidth in ./src/transport_impl/verbs_common.h:190 should be updated.

anujkaliaiitd commented 3 years ago

Thanks for reporting this bug! I've pushed a small change to try fixing this. Please LMK if it works, or if there are other changes needed for 200 Gbps NICs.