diff options
| author | Parav Pandit <[email protected]> | 2019-02-26 13:56:11 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-03-28 14:52:02 -0300 |
| commit | cebe556bd755d16559c8bc0d1fe5545db6bbeaf0 (patch) | |
| tree | 4d62567121599d511c2ee582709ab8e3afd06810 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 629e6f9db6bf4c5702212dd77da534b838f14859 (diff) | |
RDMA/core: Introduce ib_core_device to hold device
In order to support sysfs entries in multiple net namespaces for a rdma
device, introduce a ib_core_device whose scope is limited to hold core
device and per port sysfs related entries.
This is preparation patch so that multiple ib_core_devices in each net
namespace can be created in subsequent patch who all can share ib_device.
(a) Move sysfs specific fields to ib_core_device.
(b) Make sysfs and device life cycle related routines to work on
ib_core_device.
(c) Introduce and use rdma_init_coredev() helper to initialize
coredev fields.
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions