diff options
author | Seraj Alijan <seraj.alijan@sondrel.com> | 2018-12-10 11:52:31 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-12-17 09:15:11 +0300 |
commit | d53513d5dc285d9a95a534fc41c5c08af6b60eac (patch) | |
tree | 0adf4b0aef80fbca6b89699de6baa69b95379e05 /net/lapb/lapb_timer.c | |
parent | 3f3c75541ffe082194e48ea9aa5edf2341f77753 (diff) | |
download | linux-d53513d5dc285d9a95a534fc41c5c08af6b60eac.tar.xz |
dmaengine: dmatest: Add support for multi channel testing
Add support for running tests on multiple channels simultaneously as the
driver currently limits to 1 channel per test run. This will add support
for stress testing DMA controllers with multi channel capabilities.
This is done by adding a callback function to the "channel" parameter
that registers the requested channel prior to the "run" parameter being
set to 1. Each time the "channel" parameter is populated with a new
dma channel, a new test is appended to the thread queue. Once the "run"
parameter is set to 1, the test will kick start all pending threads.
Signed-off-by: Seraj Alijan <seraj.alijan@sondrel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions