Skip to content

QDMA dma-perf: data is not received in user space when no_memcpy is enabled (ST C2H interface) #361

@ApoyanHovhannes

Description

@ApoyanHovhannes

Hello all,

dma-perf tool runs without errors, but no data is transferred to user space (with default configuration):

dma-perf -c dmaperf_config/st-c2h-pfetch1/st_1_1_pfetch-cmptsz1/c2h_st_1_1_pfetch-cmptsz1_4096

I found a place in the driver where data copying depends on the req->no_memcpy value, which is configured by dma-perf tool and enabled by default. When no_memcpy is disabled, the data is transferred to user space, but it also affects performance.

Is there a way to avoid intermediate copying and still receive data in user space? I want to understand whether the QDMA linux-kernel driver supports zero-copy or a similar mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions