[dpdk-dev] [PATCH] config: set cache line as 128B in the generic arm64 config
Jerin Jacob
jerin.jacob at caviumnetworks.com
Fri Apr 28 07:03:00 CEST 2017
-----Original Message-----
> Date: Fri, 28 Apr 2017 10:14:11 +0800
> From: Jianbo Liu <jianbo.liu at linaro.org>
> To: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> Cc: dev at dpdk.org, thomas at monjalon.net, Hemant Agrawal
> <hemant.agrawal at nxp.com>, christian.ehrhardt at canonical.com
> Subject: Re: [dpdk-dev] [PATCH] config: set cache line as 128B in the
> generic arm64 config
>
> On 27 April 2017 at 00:29, Jerin Jacob <jerin.jacob at caviumnetworks.com> wrote:
> > armv8 implementations may have 64B or 128B cache line.
> > Setting to the maximum available cache line size in generic config to
> > address minimum DMA alignment across all arm64 implementations.
> >
> > Increasing the cacheline size has no negative impact to cache invalidation
> > on systems with a smaller cache line.
> >
> > The need for the minimum DMA alignment has impact on functional aspects
> > of the platform so default config should cater the functional aspects.
> >
> > There is an impact on memory usage with this scheme, but that's not too
> > important for the single image arm64 distribution use case.
> >
> > The arm64 linux kernel followed the similar approach for single
> > arm64 image use case.
> > http://lxr.free-electrons.com/source/arch/arm64/include/asm/cache.h
> >
> > Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> > ---
> > config/defconfig_arm64-armv8a-linuxapp-gcc | 5 +++++
> > config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 +
> > config/defconfig_arm64-xgene1-linuxapp-gcc | 1 +
> > 3 files changed, 7 insertions(+)
> > --
>
> Acked-by: Jianbo Liu <jianbo.liu at linaro.org>
Thomas,
Is it possible to merge this patch for v17.05-rc3?
More information about the dev
mailing list