• Swann Perarnau's avatar
    [refactor] remove generic functions from requests · 0a66735a
    Swann Perarnau authored
    This patch refactors dma request types to remove generic function
    pointers from the library. This include modifying the linux_seq
    implementation to:
    - move the copy/move implementation to the dma ops
    - remove one layer of indirection, as the request type no longer need
    _data and _ops substructures.
    
    Enforcing dma requests to have a fully qualified generic type, with
    function pointers, will cause issues for future kinds of dma
    implementation, that might require a different way of handling requests
    altogether.
    
    This work is driven by our current work on a parallel dma implementation.
    0a66735a
dma.c 1.92 KB