[RFC v3 0/2] An API for Stashing Packets into CPU caches
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 22 23:23:25 CEST 2024
On Tue, 22 Oct 2024 18:37:09 +0000
Wathsala Wathawana Vithanage <wathsala.vithanage at 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.
More information about the dev
mailing list