]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: correct the spread of queues over mw's
authorJon Mason <jon.mason@intel.com>
Thu, 19 Jun 2014 17:11:13 +0000 (10:11 -0700)
committerJon Mason <jdmason@kudzu.us>
Sun, 14 Sep 2014 04:10:38 +0000 (00:10 -0400)
commitec558a64b8441892d6a90b08d497c274c87eff28
treed74ee70d01d1fd19213b934fa497d006a5cd0421
parent6237e8e500a1f7f27aeba0beac5abaafca06367a
NTB: correct the spread of queues over mw's

The detection of an uneven number of queues on the given memory windows
was not correct.  The mw_num is zero based and the mod should be
division to spread them evenly over the mw's.

Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_transport.c