diff options
| author | Or Har-Toov <ohartoov@nvidia.com> | 2025-12-18 18:58:40 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-01-05 10:42:59 +0300 |
| commit | d4adeff26c3e8f1a9bc86d5dfb14f227c9041070 (patch) | |
| tree | ca0fc0e4556ca3a18980ae9197da23e5f2e594a2 /include/uapi | |
| parent | 2941abac6d0bffd6bf8f438135505b39168a0a08 (diff) | |
| download | linux-d4adeff26c3e8f1a9bc86d5dfb14f227c9041070.tar.xz | |
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/uapi')
0 files changed, 0 insertions, 0 deletions
