On 2022/8/29 下午3:11, Akhil Goyal wrote:
Also UADK does not look to be a PMD name. It is some development kit Outside of DPDK. Can you rename it to something else?
Is there some dependency to build it using external libraries etc? Can you explain what exactly is UADK?
UADK is a framework for user application to access hardware accelerator . https://urldefense.proofpoint.com/v2/url?u=https- 3A__github.com_Linaro_uadk_blob_master_docs_wd- 5Fdesign.md&d=DwIDaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=DnL7Si2wl_PRwpZ9 TWey3eu68gBzn7DkPwuqhd6WNyo&m=5ceaLjLGdoHAuVeeh- 9uypoBDKCK43QrqhAOEbBu1vFFrSFxNpncZzByqSguUBUk&s=VSCYj_EhQ67Rxmz N-N8H38GXxRyzNnNsRsOtL5eUVIE&e=
UADK relies on SVA (Shared Virtual Address) that needs to be supported by IOMMU. As a result, user application can directly use virtual address for dma, since iommu and mmu share the same virtual address by coping the same page table, which enhance the performance as well as easy usability.
UADK provide algorithm libraries and api for application to use. The library will find the real hardware in the platform.
We also provide openssl engine for uadk, https://urldefense.proofpoint.com/v2/url?u=https- 3A__github.com_Linaro_uadk- 5Fengine&d=DwIDaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=DnL7Si2wl_PRwpZ9TW ey3eu68gBzn7DkPwuqhd6WNyo&m=5ceaLjLGdoHAuVeeh- 9uypoBDKCK43QrqhAOEbBu1vFFrSFxNpncZzByqSguUBUk&s=s4G4UzM5B3w8t7 b0IMKgAbWS5DN7n6ez4WkZpIZ1QGs&e= For alignment, we planned to provide uadk dpdk pmd as well, with the name as UADK.
Thanks for the explanation. Please add the information in documentation as well. Hardware PMDs are generally named after the hardware device and not on some other library.
Naming it with uadk would look like a software PMD.
Well, UADK is the brand HiSilicon want to advertise, just like Intel's QAT. And now, we are doing our best to build the UADK ecosystem. So if possible, we still want to keep the name, as part of the UADK ecosystem :)