#
e24b8ad4 |
| 15-Nov-2022 |
Stephen Hemminger <stephen@networkplumber.org> |
doc: avoid meson deprecation in setup
The command "meson build" causes a deprecation warning with meson 0.64.0.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [
doc: avoid meson deprecation in setup
The command "meson build" causes a deprecation warning with meson 0.64.0.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Therefore fix the examples in the documentation.
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Stanislaw Kardach <kda@semihalf.com>
show more ...
|
#
4d69a76a |
| 25-Jan-2022 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: add arm64 cross file example
The docs mention modifications and additions to the cross file, but there is no demonstration of how those should look like.
Signed-off-by: Juraj Linkeš <juraj.lin
doc: add arm64 cross file example
The docs mention modifications and additions to the cross file, but there is no demonstration of how those should look like.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
88566746 |
| 25-Jan-2022 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: update arm64 cross build of numactl
Numactl cross compilation doesn't work with clang, remove it and fix the GCC cross compiler executable name.
Signed-off-by: Juraj Linkeš <juraj.linkes@panth
doc: update arm64 cross build of numactl
Numactl cross compilation doesn't work with clang, remove it and fix the GCC cross compiler executable name.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
6dad5e1e |
| 25-Jan-2022 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: add arm64 toolchain names update instructions
The newer versions have an extra -none- in the name.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang
doc: add arm64 toolchain names update instructions
The newer versions have an extra -none- in the name.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
6a4b58b8 |
| 25-Jan-2022 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: add CFLAGS/LDFLAGS alternatives for arm64 cross build
Remove CFLAGS and LDFLAGS since Meson doesn't support them well enough. Add Meson alternatives: -Dc_args and -Dc_link_args on the command l
doc: add CFLAGS/LDFLAGS alternatives for arm64 cross build
Remove CFLAGS and LDFLAGS since Meson doesn't support them well enough. Add Meson alternatives: -Dc_args and -Dc_link_args on the command line and in cross files.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
80e9ccc2 |
| 07-Jul-2021 |
Phil Yang <phil.yang@arm.com> |
doc: add aarch32 build guidance
Add cross-compiling guidance for 32-bit aarch32 DPDK on aarch64 host.
Signed-off-by: Phil Yang <phil.yang@arm.com> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com> Acke
doc: add aarch32 build guidance
Add cross-compiling guidance for 32-bit aarch32 DPDK on aarch64 host.
Signed-off-by: Phil Yang <phil.yang@arm.com> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Aaron Conole <aconole@redhat.com>
show more ...
|
#
c3946acf |
| 29-Apr-2021 |
David Marchand <david.marchand@redhat.com> |
doc: fix Arm SoCs list
Keep the list of SoCs in a single place and include it so that the documentation won't get outdated.
Fixes: 8f5ea6a464ac ("config/arm: fix implementer and its SoCs") Fixes: 1
doc: fix Arm SoCs list
Keep the list of SoCs in a single place and include it so that the documentation won't get outdated.
Fixes: 8f5ea6a464ac ("config/arm: fix implementer and its SoCs") Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K") Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng")
Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
f2340c85 |
| 14-Apr-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config/arm: add platform config option
Add Arm SoC configuration sets to Arm meson.build and add an arch agnostic meson option, 'platform', to select from these SoC configurations for meson native b
config/arm: add platform config option
Add Arm SoC configuration sets to Arm meson.build and add an arch agnostic meson option, 'platform', to select from these SoC configurations for meson native builds. This is preferable to specifying a cross file when doing aarch64 -> aarch64 builds, since the cross file specifies the toolchain as well.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
2e33309e |
| 14-Apr-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config: enable/disable drivers in Arm builds
Add support for enabling or disabling drivers for Arm cross build. Do not implement any enable/disable lists yet.
Enabling drivers is useful when buildi
config: enable/disable drivers in Arm builds
Add support for enabling or disabling drivers for Arm cross build. Do not implement any enable/disable lists yet.
Enabling drivers is useful when building for an SoC where we only want to build a few drivers. That way the list won't be too long.
Similarly, disabling drivers is useful when we want to disable only a few drivers.
Both of these are advantageous mainly in aarch64 -> aarch64 (or arch -> same arch) builds, where the build machine may have the required driver dependencies, yet we don't want to build drivers for a specific SoC.
If enable_drivers is a non-empty list, build only those drivers, otherwise build all drivers and add them to enable_drivers. If disable_drivers is non-empty list, build all drivers specified in enable_drivers except those in disable_drivers.
There are two drivers, bus/pci and bus/vdev, which break the build if not enabled. Address this by always enabling these if the user disables them or doesn't specify in their allowlist.
Also remove the old Makefile arm configuration options which don't do anything in Meson.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
eb0e12c0 |
| 21-Jan-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: add clang to aarch64 cross build guide
Reorganize and update the aarch64 cross guide with clang cross compilation. Update the GNU toolchain version which clang also uses. Reorganize into common
doc: add clang to aarch64 cross build guide
Reorganize and update the aarch64 cross guide with clang cross compilation. Update the GNU toolchain version which clang also uses. Reorganize into common part, GNU part and clang part.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
05a732f7 |
| 15-Jan-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config/arm: disable libnuma in cross builds
Some Arm SoCs are not NUMA systems. Add the capability to disable NUMA for cross build and disable NUMA in Arm cross files.
Signed-off-by: Juraj Linkeš <
config/arm: disable libnuma in cross builds
Some Arm SoCs are not NUMA systems. Add the capability to disable NUMA for cross build and disable NUMA in Arm cross files.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Tested-by: Vimal Chungath <vcchunga@amazon.com> Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
show more ...
|
#
fe4ae325 |
| 15-Jan-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config/arm: add core and NUMA counts to cross files
Add support for setting core count and numa nodes in cross files. The values specified in cross files will override the default values. Also add m
config/arm: add core and NUMA counts to cross files
Add support for setting core count and numa nodes in cross files. The values specified in cross files will override the default values. Also add missing default values to Arm config.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Tested-by: Vimal Chungath <vcchunga@amazon.com> Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
show more ...
|
#
9ca2f16f |
| 15-Jan-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config/arm: isolate generic build
Use generic configuration for the only build where it makes sense - the generic build. For other builds, if we don't know either of implementer ID or part number, t
config/arm: isolate generic build
Use generic configuration for the only build where it makes sense - the generic build. For other builds, if we don't know either of implementer ID or part number, the build is not supported. Add part numbers to cross files where fallback to generic configuration is assumed.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Tested-by: Vimal Chungath <vcchunga@amazon.com> Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
show more ...
|
#
e7109798 |
| 15-Jan-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
config/arm: reformat and move config and comments
Change formatting so that it's more consistent and readable, add/modify comments/stdout messages, move configuration options to more appropriate pla
config/arm: reformat and move config and comments
Change formatting so that it's more consistent and readable, add/modify comments/stdout messages, move configuration options to more appropriate places and make the order consistent according to these rules: 1. First list generic configuration options, then list options that may be overwritten. List SoC-specific options last. 2. For SoC-specific options, list number of cores before the number of NUMA nodes, to make it consistent with config/meson.build.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Tested-by: Vimal Chungath <vcchunga@amazon.com> Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
show more ...
|
#
3cc6ecfd |
| 03-Sep-2020 |
Ciara Power <ciara.power@intel.com> |
build: remove makefiles
A decision was made [1] to no longer support Make in DPDK, this patch removes all Makefiles that do not make use of pkg-config, along with the mk directory previously used by
build: remove makefiles
A decision was made [1] to no longer support Make in DPDK, this patch removes all Makefiles that do not make use of pkg-config, along with the mk directory previously used by make.
[1] https://mails.dpdk.org/archives/dev/2020-April/162839.html
Signed-off-by: Ciara Power <ciara.power@intel.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
f31d1780 |
| 28-Nov-2019 |
Ali Alnubani <alialnu@mellanox.com> |
config: add pkgconfig for arm64
Meson fails to find a pkg-config executable if pkgconfig isn't set for aarch64. The environment variable `PKG_CONFIG_PATH` is useless in this case, and meson fails to
config: add pkgconfig for arm64
Meson fails to find a pkg-config executable if pkgconfig isn't set for aarch64. The environment variable `PKG_CONFIG_PATH` is useless in this case, and meson fails to locate dependencies that are built in non-standard paths.
Signed-off-by: Ali Alnubani <alialnu@mellanox.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
2bf752c1 |
| 28-Nov-2019 |
Joyce Kong <joyce.kong@arm.com> |
doc: update arm64 cross build tool version
Update the cross build tool version to gcc8.3.
Fixes: 01add9da25cd ("doc: add cross compiling guide") Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <joyc
doc: update arm64 cross build tool version
Update the cross build tool version to gcc8.3.
Fixes: 01add9da25cd ("doc: add cross compiling guide") Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
0fc0edb9 |
| 27-Nov-2019 |
Ali Alnubani <alialnu@mellanox.com> |
doc: update libnuma dependency on arm64
Previous versions of numactl may produce the following error on some systems (at least on Fedora 30 and RHEL7.4):
./.libs/libnuma.so: undefined reference t
doc: update libnuma dependency on arm64
Previous versions of numactl may produce the following error on some systems (at least on Fedora 30 and RHEL7.4):
./.libs/libnuma.so: undefined reference to `minor' ./.libs/libnuma.so: undefined reference to `major' collect2: error: ld returned 1 exit status
This was fixed in upstream commit: https://github.com/numactl/numactl/commit/25691a084a2012a339395ade567dbae814e237e9 The fix is available in v2.0.13.
Signed-off-by: Ali Alnubani <alialnu@mellanox.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
#
50f5aa10 |
| 28-Nov-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: reorder meson and make build instructions for Arm
Since the meson instructions are the simpler of the two sets, and also the ones most future-proof, put those first in the user documentation wi
doc: reorder meson and make build instructions for Arm
Since the meson instructions are the simpler of the two sets, and also the ones most future-proof, put those first in the user documentation with make instructions following them.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
#
487eec34 |
| 05-Nov-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
config: remove redundant DPAA2 build
dpaa and dpaa2 config have evolved to be same. The same binary can now work across the platforms. So, there is no need to maintain two different build configs. T
config: remove redundant DPAA2 build
dpaa and dpaa2 config have evolved to be same. The same binary can now work across the platforms. So, there is no need to maintain two different build configs. The dpaa config shall work for both generation of dpaa platforms.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
74ea082f |
| 15-May-2019 |
Ruifeng Wang <ruifeng.wang@arm.com> |
doc: fix Linux guide for arm64 cross-compilation
libnuma.so is needed to augment the cross toolchain with NUMA support. This fixed meson cross compiling issue.
Command used: meson arm64-build --cro
doc: fix Linux guide for arm64 cross-compilation
libnuma.so is needed to augment the cross toolchain with NUMA support. This fixed meson cross compiling issue.
Command used: meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc ninja -C arm64-build
Compiling error: .../aarch64-linux-gnu/bin/ld: lib/librte_eal.so.10.1: version node not found for symbol numa_run_on_node_mask@@libnuma_1.2 .../aarch64-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value collect2: error: ld returned 1 exit status [58/1370] Compiling C object 'lib/76b5a35@@rte_cmdline@sta/ librte_cmdline_cmdline_parse_string.c.o'. ninja: build stopped: subcommand failed.
Fixes: 01add9da25cd ("doc: add cross compiling guide") Cc: stable@dpdk.org
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
22d1d1cc |
| 08-May-2019 |
Yongseok Koh <yskoh@mellanox.com> |
doc: add Mellanox BlueField platform guide
Platform specific guide for Mellanox BlueField SoC is added.
Signed-off-by: Yongseok Koh <yskoh@mellanox.com> Acked-by: John McNamara <john.mcnamara@intel
doc: add Mellanox BlueField platform guide
Platform specific guide for Mellanox BlueField SoC is added.
Signed-off-by: Yongseok Koh <yskoh@mellanox.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
c5b72f68 |
| 11-Mar-2019 |
Joyce Kong <joyce.kong@arm.com> |
doc: update cross Arm toolchain in Linux guide
Update cross build tool links as newer cross build tools version are provided on Linaro, and attempts to download the old one give permission denied.
doc: update cross Arm toolchain in Linux guide
Update cross build tool links as newer cross build tools version are provided on Linaro, and attempts to download the old one give permission denied.
Fixes: 01add9da25cd ("doc: add cross compiling guide") Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Acked-by: Stephen Hemminger <sthemmin@microsoft.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
218c4e68 |
| 06-Mar-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
mk: use linux and freebsd in config names
Rather than using linuxapp and bsdapp everywhere, we can change things to use the, more readable, terms "linux" and "freebsd" in our build configs. Rather t
mk: use linux and freebsd in config names
Rather than using linuxapp and bsdapp everywhere, we can change things to use the, more readable, terms "linux" and "freebsd" in our build configs. Rather than renaming the configs we can just duplicate the existing ones with the new names using symlinks, and use the new names exclusively internally. ["make showconfigs" also only shows the new names to keep the list short] The result is that backward compatibility is kept fully but any new builds or development can be done using the newer names, i.e. both "make config T=x86_64-native-linuxapp-gcc" and "T=x86_64-native-linux-gcc" work.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
01add9da |
| 29-Jun-2018 |
Gavin Hu <gavin.hu@arm.com> |
doc: add cross compiling guide
This is the guide for cross compiling ARM64 DPDK from X86 hosts.
Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Steve Capper <steve.capper@arm.com> Reviewed-
doc: add cross compiling guide
This is the guide for cross compiling ARM64 DPDK from X86 hosts.
Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
show more ...
|