]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 15 Mar 2018 20:10:53 +0000 (13:10 -0700)
commitbcec646a7d44772cb21fa0f78d953af04c12adcf
tree754e7fd8126d943dd46c1c9e532e82b483474752
parent6a7473336dca2c445c0fd4972c3fdb9f6cabd54e
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>
Orabug: 27687711
Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com>
(cherry-picked from upstream 3e153a93a1c12e3354dd38cca414fb51a15136a2)
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
drivers/infiniband/core/device.c
include/rdma/ib_verbs.h