IB: Add node_guid to struct ib_device
authorSean Hefty <sean.hefty@intel.com>
Tue, 10 Jan 2006 15:39:34 +0000 (07:39 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jan 2006 15:39:34 +0000 (07:39 -0800)
commitcf311cd49a78f1e431787068cc31d29d06a415e6
tree369bb01420f5120df73c12903eb9e7783b8489ad
parent87635b71b544563f29050a9cecaa12b5d2a3e34a
IB: Add node_guid to struct ib_device

Add a node_guid field to struct ib_device.  It is the responsibility
of the low-level driver to initialize this field before registering a
device with the midlayer.  Convert everyone to looking at this field
instead of calling ib_query_device() when all they want is the node
GUID, and remove the node_guid field from struct ib_device_attr.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/sysfs.c
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/infiniband/ulp/srp/ib_srp.c
include/rdma/ib_verbs.h