diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-04-05 08:08:18 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-09 15:28:03 +0200 |
| commit | d52b761e4b1acc897e65bcc8eff42b0537ac0134 (patch) | |
| tree | 1f21b36091a3dfde120e39ab18e70a4eee11c834 /tools/perf/scripts/python | |
| parent | fea0dde081621e25bcf7efd40cce6c8272e3aa13 (diff) | |
kfifo: add kfifo_dma_out_prepare_mapped()
When the kfifo buffer is already dma-mapped, one cannot use the kfifo
API to fill in an SG list.
Add kfifo_dma_in_prepare_mapped() which allows exactly this. A mapped
dma_addr_t is passed and it is filled into provided sgl too. Including
the dma_len.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Cc: Stefani Seibold <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions