I have been playing around with the idea to make some changes to avoid using
the mbuf's 2nd cache line in many common cases, which would reduce the cache
pressure significantly, and thus improve performance. I would like to discuss
if it is doable. (And let's just assume that ABI breakage is an
Playing around with the mbuf structure, trying to reduce the use of the
second cache line in some common scenarios.
Signed-off-by: Morten Brørup
---
lib/mbuf/rte_mbuf_core.h | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/lib/mbuf/rte_
Add "nonnull" function attribute to help the compiler detect a NULL
pointer being passed to a function not accepting NULL pointers as an
argument at build time.
Add "access" function attribute to tell the compiler how a function
accesses its pointer arguments.
Add these attributes to the rte_memc
3 matches
Mail list logo