]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Save the device attributes on the device structure
authorIra Weiny <ira.weiny@intel.com>
Fri, 18 Dec 2015 08:59:44 +0000 (10:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Dec 2015 19:39:00 +0000 (14:39 -0500)
commitef7c5591c393819c37074d3540ba5461d0515c32
treed37c48936ad158d529edada8ca9abc3d0262c18c
parentdc80e22806cf8fc9e27ef5eb1756fd5d7836c35a
IB/core: Save the device attributes on the device structure

This way both the IB core and upper level drivers can access these cached
device attributes rather than querying or caching them on their own.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/device.c
include/rdma/ib_verbs.h