net/rds: Avoid calling ib_query_device
authorOr Gerlitz <ogerlitz@mellanox.com>
Fri, 18 Dec 2015 08:59:47 +0000 (10:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Dec 2015 19:39:00 +0000 (14:39 -0500)
commit0353261c12c3c40483921a872d74d2f90c1bd46b
treef1d87de2736b89db74507a068c1c8264a28d264a
parent4a061b287b1eb58676875cc45929679911d1ca38
net/rds: Avoid calling ib_query_device

Instead, use the cached copy of the attributes present on the device.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
net/rds/ib.c
net/rds/iw.c