]> 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)
commitb7de8ef4174773d7a4819132fc5dfdcc51188507
treed74ee70d01d1fd19213b934fa497d006a5cd0421
parentb982d29d3df0cbb1f103209051766d99b860ab08
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