diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-12-18 10:59:45 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-22 14:39:00 -0500 |
commit | 86bee4c9c126b4f73e3f152cd43c806cac9135ad (patch) | |
tree | c57b8c7a04f0a415549f5cd2d1c9195ae9a16e20 /lib/stmp_device.c | |
parent | 3e153a93a1c12e3354dd38cca414fb51a15136a2 (diff) | |
download | linux-86bee4c9c126b4f73e3f152cd43c806cac9135ad.tar.bz2 |
IB/core: Avoid calling ib_query_device
Use the cached copy of the attributes present on the device, except for
the case of a query originating from user-space, where we have to invoke
the driver query_device entry, so they can fill in their udata.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions