NTB: Read peer info from local SPAD in transport
authorDave Jiang <dave.jiang@intel.com>
Tue, 2 Jun 2015 07:45:07 +0000 (03:45 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 4 Jul 2015 18:06:00 +0000 (14:06 -0400)
commit0f69a7dff94d3e82ee51685f6a8fea7860b023b8
tree1b2bbe4b795149637127ff210105ea4c9f9c9370
parente26a5843f7f5014ae4460030ca4de029a3ac35d3
NTB: Read peer info from local SPAD in transport

The transport was writing and then reading the peer scratch pad,
essentially reading what it just wrote instead of exchanging any
information with the peer.  The transport expects the peer values to be
the same as the local values, so this issue was not obvious.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c