vSphere+

 View Only

[ vSphere ] [ ESXi ] [ vmkernel ] API's to expose vSphere ESXi DMA controller driver resources.

  • 1.  [ vSphere ] [ ESXi ] [ vmkernel ] API's to expose vSphere ESXi DMA controller driver resources.

    Posted May 27, 2024 10:02 AM

    Hi,

    Can you please let me know does vSphere ESXi vmkernel support DMA API's to share DMA resources from (independent) DMA controller to client driver/ Device Driver / Application / VM for performing DMA operations?

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    For better understanding about the query let's take the below example for reference :

    • DMA controller which can expose 8 DMA channels to perform certain DMA operations.
    • These 8 DMA channels can be used by any SW/Device Driver running on ESXi host for posting or performing certain DMA operations based on channel resource availability.
    • DMA controller native Driver will expose these resources so that Device Driver/ Client Driver / Application can use these DMA resources on ESXi host.
    • Similar example of this APIs present in Linux are as follows: 
       @device_alloc_chan_resources, @device_prep_dma_memcpy, @device_issue_pending, @device_tx_status, @device_free_chan_resources etc...

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    *As part of nativeddk-8.0 does support DMA on device.

    Can you please also help whether DMA channel resource API's support are present in the nativeddk-8.0 guide as well? If so, can you please provide some pointers?

    Thanks