Skip to content
Snippets Groups Projects
Commit ea1075ed authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

RDMA: Add and use rdma_for_each_port


We have many loops iterating over all of the end port numbers on a struct
ib_device, simplify them with a for_each helper.

Reviewed-by: default avatarParav Pandit <parav@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent f2a0e45f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment