[PATCH v5 5/7] lib: move mbuf next pointer to first cache line
Stephen Hemminger
stephen at networkplumber.org
Fri Oct 7 23:22:16 CEST 2022
On Sat, 8 Oct 2022 02:32:09 +0530
Shijith Thotton <sthotton at marvell.com> wrote:
> Swapped position of mbuf next pointer and second dynamic field (dynfield2)
> if the build is configured to disable IOVA as PA. This is to move the
> mbuf next pointer to first cache line.
>
> Signed-off-by: Shijith Thotton <sthotton at marvell.com>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
Why not always move it?
Having things on different cache lines based on config options
could cause surprising performance impacts.
More information about the dev
mailing list