diff options
author | Konstantin Taranov <kotaranov@microsoft.com> | 2024-01-22 15:23:00 -0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-01-25 12:03:07 +0200 |
commit | 3b73eb3a4acdf563de49d825968bb5f10300acd4 (patch) | |
tree | 6ea39c18bfe93a58e8666f0ec4af09c7763aa15e /tools/perf/scripts/python/task-analyzer.py | |
parent | 71c8cbfcdc8f1dc651b976d4c12dc9b9fce675c1 (diff) |
RDMA/mana_ib: Introduce mana_ib_get_netdev helper function
Use a helper function to access netdevs using a port number.
This patch removes code repetitions as well as removes the need
to explicitly use gdma_dev, which was error-prone.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1705965781-3235-3-git-send-email-kotaranov@linux.microsoft.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions