[EXT] Re: [PATCH v5 5/7] lib: move mbuf next pointer to first cache line

Shijith Thotton sthotton at marvell.com
Fri Oct 7 23:30:11 CEST 2022


>> 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.

Some drivers are using the offset of buf_iova.


More information about the dev mailing list