Home
last modified time | relevance | path

Searched hist:"8030 c8357a94ce6397dd8df6296925f0f4b1f9b7" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/core/
H A Dcore_priv.hdiff 8030c8357a94ce6397dd8df6296925f0f4b1f9b7 Mon Jun 19 13:04:56 CEST 2017 Leon Romanovsky <leonro@mellanox.com> RDMA/core: Add iterator over ib_devices

The coming nldev needs to iterate over all IB devices in the system
and in order to 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 stage, but it can be easily extended for
other types.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
H A Ddevice.cdiff 8030c8357a94ce6397dd8df6296925f0f4b1f9b7 Mon Jun 19 13:04:56 CEST 2017 Leon Romanovsky <leonro@mellanox.com> RDMA/core: Add iterator over ib_devices

The coming nldev needs to iterate over all IB devices in the system
and in order to 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 stage, but it can be easily extended for
other types.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>