[Bug 285305] RDMA/libibverbs: active_speed value from ibv_devinfo shows as invalid speed for 400G
Date: Sat, 15 Mar 2025 04:45:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285305
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=5963423232e869b8dbe8e9a65134e92735dfb521
commit 5963423232e869b8dbe8e9a65134e92735dfb521
Author: Slava Shwartsman <slavash@nvidia.com>
AuthorDate: 2025-03-12 08:49:37 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-03-15 04:44:07 +0000
libibverbs: Extend support of NDR rates
NDR(106.25 Gbps) support exposed new data rates:
800 Gbps - NDR 8x.
1200 Gbps - NDR 12x.
Utility methods were updated to support the new rates mentioned above:
1) Rate to mult - Convert the IB rate enum to a multiple of 2.5 Gbps.
2) Rate to mbps - Convert IB rate enum to the mbps value.
In addition, speed_str() of ibv_devinfo was updated to consider the new
NDR rate.
Reference: IB Spec Release 1.5
PR: 285305
MFC after: 1 week
Sponsored by: NVidia networking
Change-Id: I77541e406f700585fbfeddc162d5a0e7b79a1c11
Signed-off-by: Slava Shwartsman <slavash@nvidia.com>
contrib/ofed/libibverbs/examples/devinfo.c | 1 +
contrib/ofed/libibverbs/verbs.c | 8 ++++++++
contrib/ofed/libibverbs/verbs.h | 2 ++
3 files changed, 11 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.