commit | ee877b81c6b92c190e7186c1ffd054804b426c02 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Fri Aug 19 09:12:09 2016 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Sep 22 13:42:32 2016 +0200 |
tree | 9dea5cf1a3e6a6f01c23f524023e55490d91e816 | |
parent | 8cb63b78791eef67ea95831c6ef5e6039c572b14 [diff] |
s390/pci_dma: improve map_sg Our map_sg implementation mapped sg entries independently of each other. For ease of use and possible performance improvements this patch changes the implementation to try to map as many (likely physically non-contiguous) sglist entries as possible into a contiguous DMA segment. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>