diff options
| author | Daniel Drake <drake@endlessm.com> | 2019-04-01 08:42:15 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-04-15 12:55:54 +0300 |
| commit | c278150e0d2a4ac0551f86c9db042665ad51c1e4 (patch) | |
| tree | 832f161506fb840e67b10eda51b1a255b89cffb8 /net/lapb/lapb_in.c | |
| parent | e374e87538f4c7cd364bce6b9048ad5829ccc604 (diff) | |
| download | linux-c278150e0d2a4ac0551f86c9db042665ad51c1e4.tar.xz | |
mmc: alcor: enable DMA transfer of large buffers
DMA on this hardware is limited to dealing with a single page at a
time. Previously, the driver was set up accordingly to request single-page
DMA buffers, however that had the effect of generating a large number
of small MMC requests for data I/O.
Improve the driver to accept scatter-gather DMA buffers of larger sizes.
Iterate through those buffers a page at a time.
Testing with dd, this increases write performance from 2mb/sec to
10mb/sec, and increases read performance from 4mb/sec to 14mb/sec.
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
