diff options
| author | Li Tian <litian@redhat.com> | 2025-09-10 08:37:32 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-11 18:07:42 -0700 |
| commit | 5577352b55833d0f4350eb5d62eda2df09e84922 (patch) | |
| tree | f05d3669a731d5718eb0bfb708bd20fd20c87b28 /scripts/gdb/linux/proc.py | |
| parent | 247981eecd3dd6ff51bd0a0223deba8af39c5498 (diff) | |
net/mlx5: Not returning mlx5_link_info table when speed is unknown
Because mlx5e_link_info and mlx5e_ext_link_info have holes
e.g. Azure mlx5 reports PTYS 19. Do not return it unless speed
is retrieved successfully.
Fixes: 65a5d35571849 ("net/mlx5: Refactor link speed handling with mlx5_link_info struct")
Suggested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Li Tian <litian@redhat.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250910003732.5973-1-litian@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
