RDMA/device: Consolidate ib_device per_port data into one place
There is no reason to have three allocations of per-port data. Combine
them together and make the lifetime for all the per-port data match the
struct ib_device.
Following patches will require more port-specific data, now there is a
good place to put it.
Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/core/cache.c 2 additions, 2 deletionsdrivers/infiniband/core/cache.c
- drivers/infiniband/core/device.c 22 additions, 48 deletionsdrivers/infiniband/core/device.c
- drivers/infiniband/core/security.c 11 additions, 13 deletionsdrivers/infiniband/core/security.c
- include/rdma/ib_verbs.h 43 additions, 31 deletionsinclude/rdma/ib_verbs.h
Loading
Please register or sign in to comment