NTB: ntb_test: add parameter for doorbell bitmask
authorAllen Hubbe <Allen.Hubbe@dell.com>
Wed, 28 Dec 2016 00:12:28 +0000 (19:12 -0500)
committerJon Mason <jdmason@kudzu.us>
Thu, 6 Jul 2017 15:30:06 +0000 (11:30 -0400)
commit7c49c9855a890ce32ea08f01366ecb221a027ad8
tree63f9c8c80e42e87310002b42e4756b2b50ec89e3
parentc2d42edb528af75890cf73658e86e6dc9ac2b22b
NTB: ntb_test: add parameter for doorbell bitmask

If the test attempts to clear doorbell bits that are invalid for the
hardware, then the test will fail.  Provide a parameter to specify the
doorbell bits to clear.  Set default doorbell bits that work for XEON.

Signed-off-by: Allen Hubbe <Allen.Hubbe@dell.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
tools/testing/selftests/ntb/ntb_test.sh