Jason Gunthorpe ea1075edcb 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: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-19 10:13:39 -07:00
..
2015-06-12 14:49:18 -04:00
2019-02-19 10:13:39 -07:00
2019-01-07 11:43:03 -07:00
2019-02-19 10:13:39 -07:00
2019-02-19 10:13:39 -07:00
2018-12-12 07:40:16 -07:00
2019-02-19 10:13:39 -07:00
2016-05-13 13:37:18 -04:00
2019-02-19 10:13:39 -07:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2018-12-12 07:40:16 -07:00
2019-02-19 10:13:39 -07:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2019-02-04 14:53:42 -07:00
2018-12-20 15:18:24 -07:00
2019-02-08 16:51:04 -07:00