diff options
| author | Or Har-Toov <ohartoov@nvidia.com> | 2025-12-18 17:58:40 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-01-05 02:42:59 -0500 |
| commit | d4adeff26c3e8f1a9bc86d5dfb14f227c9041070 (patch) | |
| tree | ca0fc0e4556ca3a18980ae9197da23e5f2e594a2 /include/rdma | |
| parent | 2941abac6d0bffd6bf8f438135505b39168a0a08 (diff) | |
IB/core: Refactor rate_show to use ib_port_attr_to_rate()
Update sysfs rate_show() to rely on ib_port_attr_to_speed_info() for
converting IB port speed and width attributes to data rate and speed
string.
Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions
