Olivier, Andrew, any comments?
21/07/2023 18:28, Dharmik Thakkar: > From: Morten Brørup <[email protected]> > > Zero-copy access to mempool caches is beneficial for PMD performance. > Furthermore, having a zero-copy mempool API is considered a precondition > for fixing a certain category of bugs, present in some PMDs: For > performance reasons, some PMDs had bypassed the mempool API in order to > achieve zero-copy access to the mempool cache. This can only be fixed > in those PMDs without a performance regression if the mempool library > offers zero-copy access APIs, so the PMDs can use the proper mempool > API instead of copy-pasting code from the mempool library. > Furthermore, the copy-pasted code in those PMDs has not been kept up to > date with the improvements of the mempool library, so when they bypass > the mempool API, mempool trace is missing and mempool statistics is not > updated. > > Bugzilla ID: 1052 > > Signed-off-by: Morten Brørup <[email protected]> > Signed-off-by: Kamalakshitha Aligeri <[email protected]> > Signed-off-by: Dharmik Thakkar <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> > Acked-by: Konstantin Ananyev <[email protected]> > Acked-by: Chengwen Feng <[email protected]>

