]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8b90eecb49e6b3925a79391e99c588670948fcd
tree1b2bbe4b795149637127ff210105ea4c9f9c9370
parent50228b579984d57f35089e5580592ed311815be1
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