[EXTERNAL] Re: [PATCH v4 1/1] lib/dma: add control-plane APIs for inter-domain DMA transfers

Thomas Monjalon thomas at monjalon.net
Sun Oct 19 10:59:44 CEST 2025


19/10/2025 10:37, Vamsi Krishna Attunuru:
> >I'm not sure about having different API functions for leave and destroy.
> >I think the last leaving should automatically call the destroy driver function.
> 
> Thanks Thomas. The leave and destroy operations are invoked from different contexts.
> Group joiners call leave to exit the group, whereas group creator calls destroy to
> terminate the group after all members have left.

I understand that, but why having a different function?
You could destroy automatically when all have left.




More information about the dev mailing list