OSDN Git Service

NTB: perf: Don't require one more memory window than number of peers
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 9 Jan 2019 19:22:30 +0000 (12:22 -0700)
committerJon Mason <jdmason@kudzu.us>
Sat, 6 Jun 2020 00:02:08 +0000 (20:02 -0400)
commita9c4211ac918ade1522aced6b5acfbe824722f7d
treee7a6b3a80d3f3d1370221bfa8105b0b0b1614857
parentca93c45755da98302c93abdd788fc09113baf9e0
NTB: perf: Don't require one more memory window than number of peers

ntb_perf should not require more than one memory window per peer. This
was probably an off-by-one error.

Fixes: 5648e56d03fa ("NTB: ntb_perf: Add full multi-port NTB API support")
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Allen Hubbe <allenbh@gmail.com>
Tested-by: Alexander Fomichev <fomichev.ru@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c