diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-19 14:04:56 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2017-08-10 13:21:54 +0300 |
| commit | 8030c8357a94ce6397dd8df6296925f0f4b1f9b7 (patch) | |
| tree | cf311a3832440d76f745c72842ae03633d18552c /tools/perf/scripts/python | |
| parent | RDMA/netlink: Rename netlink callback struct (diff) | |
| download | linux-8030c8357a94ce6397dd8df6296925f0f4b1f9b7.tar.gz linux-8030c8357a94ce6397dd8df6296925f0f4b1f9b7.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
