[EXTERNAL] Re: [PATCH v5] cnxk: disable building template files

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Tue May 28 11:23:12 CEST 2024


> On Mon, May 27, 2024 at 09:04:29PM +0530, pbhagavatula at marvell.com
> wrote:
> > From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> >
> > Disable building template files when CNXK_DIS_TMPLT_FUNC
> > is defined as a part of c_args.
> > This option can be used when reworking datapath or debugging
> > issues to reduce Rx/Tx path compilation time.
> >
> > Example command:
> >         meson build -Dc_args='-DCNXK_DIS_TMPLT_FUNC'
> >         -Dexamples=all  --cross-file config/arm/arm64_cn10k_linux_gcc
> >
> Should this option be set in CI by default, or in test-meson-builds by
> default? When do we need to avoid setting this flag, vs setting it?
> 

Yes, we can set this option when testing builds to speed things up.
We would want to avoid setting the flag when we are packaging or generating
release binaries as it will negatively affect fastpath performance.

I am not sure how to integrate to test-meson-builds as there is no target option 
for cn10k/cn9k.

> Thanks,
> /Bruce

Thanks,
Pavan.


More information about the dev mailing list