On Tue, Oct 26, 2021 at 9:37 PM Thomas Monjalon <tho...@monjalon.net> wrote:
> 26/10/2021 17:56, Aman Kumar: > > linux guide updated with AMD platform related build > > instructions. > > > > Signed-off-by: Aman Kumar <aman.ku...@vvdntech.in> > > --- > > doc/guides/linux_gsg/build_dpdk.rst | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/doc/guides/linux_gsg/build_dpdk.rst > b/doc/guides/linux_gsg/build_dpdk.rst > > index 0b08492ca2..3110448467 100644 > > --- a/doc/guides/linux_gsg/build_dpdk.rst > > +++ b/doc/guides/linux_gsg/build_dpdk.rst > > @@ -113,6 +113,10 @@ The instruction set will be set automatically by > default according to these rule > > To override what instruction set will be used, set the > ``cpu_instruction_set`` > > parameter to the instruction set of your choice (such as ``corei7``, > ``power8``, etc.). > > All possible values are not documented here. > If you want to mention znverX, I suggest just adding znver3 after corei7 > above, > and remove the lines below. > Note: such change should be squashed with the meson change. > Noted. Will squash this with meson changes. > > > +To build dpdk for AMD Zen CPU based platforms, pass > ``-Dcpu_instruction_set=<znverX>`` > > s/dpdk/DPDK/ > > > +to meson when configuring the build folder initially. Supported options > are znver1, > > +znver2 and znver3. > > You can start a new line when starting a new sentence. > > If you want to document AMD platform, you can add a file in > doc/guides/platform/ > For describing tuning on Linux you can do the same as > doc/guides/linux_gsg/nic_perf_intel_platform.rst > > For now, the above entry in the build_dpdk.rst will suffice. We will add a separate platform doc once we have more platform specific items.