RE: [PATCH rdma-next 07/19] RDMA/core: Add iterator over ib_devices

2017-06-21 Thread Steve Wise
> From: Leon Romanovsky > > The coming nldev needs iterate over all IB devices in the system > and in order do not expose the ib_devices list outside the devices.c, > it is necessary to provide function iterator. nit: "needs iterate over" -> "needs to iterate over..." nit: "order do" -> "order t

[PATCH rdma-next 07/19] RDMA/core: Add iterator over ib_devices

2017-06-20 Thread Leon Romanovsky
From: Leon Romanovsky The coming nldev needs iterate over all IB devices in the system and in order do not expose the ib_devices list outside the devices.c, it is necessary to provide function iterator. Current version is written explicitly for nldev callback to avoid over-engineering at this st