diff options
| author | Rongwei Liu <[email protected]> | 2024-12-19 17:58:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-23 18:34:44 +0000 |
| commit | ddbb5ddc43ad000a984149db5af1133433938404 (patch) | |
| tree | 823aa8e72eb4553e79fc1db23e59ee3ac44917d0 /drivers/fpga/xilinx-spi.c | |
| parent | Merge branch 'add-rds-ptp-library-for-microchip-phys' (diff) | |
| download | kernel-ddbb5ddc43ad000a984149db5af1133433938404.tar.gz kernel-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 <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
