diff options
author | 2024-12-19 19:58:31 +0200 | |
---|---|---|
committer | 2024-12-23 10:34:44 -0800 | |
commit | ddbb5ddc43ad000a984149db5af1133433938404 (patch) | |
tree | 823aa8e72eb4553e79fc1db23e59ee3ac44917d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'add-rds-ptp-library-for-microchip-phys' (diff) | |
download | wireguard-linux-ddbb5ddc43ad000a984149db5af1133433938404.tar.xz wireguard-linux-ddbb5ddc43ad000a984149db5af1133433938404.zip |
net/mlx5: LAG, Refactor lag logic
Wrap the lag pf access into two new macros:
1. ldev_for_each()
2. ldev_for_each_reverse()
The maximum number of lag ports and the index to `natvie_port_num`
mapping will be handled by the two new macros.
Users shouldn't use the for loop anymore.
Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241219175841.1094544-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions