dma/cnxk: add scatter-gather copy
authorRadha Mohan Chintakuntla <radhac@marvell.com>
Wed, 3 Nov 2021 18:01:49 +0000 (11:01 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 7 Nov 2021 23:08:45 +0000 (00:08 +0100)
commit3340c3e227839146b5d5febebb27a4594763a9f1
tree32b70e93a87b868e5c4b5c642b4255e6085ee63e
parentb56f1e2dad38067fad0572063d6f8e72108bf6a4
dma/cnxk: add scatter-gather copy

Add the copy_sg function that will do the multiple DMA transfers of
different sizes and different source/destination as well.

Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>
drivers/dma/cnxk/cnxk_dmadev.c