On Tue, 22 Oct 2024 18:37:09 +0000 Wathsala Wathawana Vithanage <wathsala.vithan...@arm.com> wrote:
> > 2. The API's should be used in the drivers and core, not exposed up > > to the application. Most of the hot data structures are in the > > drivers now. > > > PMDs don't know which CPU and cache level to use with TPH. > That information needs to be conveyed to the PMD, for it to work. > Please suggest alternatives. It would be better if EAL had a representation of CPU and cache hierarchy which it built. Then have the PMD (if it cared) be able to query the topology. That way the application would not have to care. The DPDK already leaks too many PCI details in the API.