|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
e16b972b |
| 24-Jan-2022 |
Bruce Richardson <[email protected]> |
build: remove deprecated Meson functions
Starting in meson 0.56, the functions meson.source_root() and meson.build_root() are deprecated and to be replaced by the [more descriptive] functions: proje
build: remove deprecated Meson functions
Starting in meson 0.56, the functions meson.source_root() and meson.build_root() are deprecated and to be replaced by the [more descriptive] functions: project_source_root()/global_source_root() and project_build_root()/global_build_root(). Unfortunately, these new replacement functions were only added in 0.56 release too, so to use them we would need version checks for old/new functions to remove the deprecation warnings.
However, the functions "current_build_dir()" and "current_source_dir()" remain unaffected by all this, so we can bypass the versioning problem, by saving off these values to "dpdk_source_root" and "dpdk_build_root" in the top-level meson.build file
Bugzilla ID: 926 Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Jerin Jacob <[email protected]>
show more ...
|
| #
ecb904cc |
| 20-Jan-2022 |
Bruce Richardson <[email protected]> |
build: fix warnings when running external commands
Meson 0.61.1 is giving warnings that the calls to run_command do not always explicitly specify if the result is to be checked or not, i.e. there is
build: fix warnings when running external commands
Meson 0.61.1 is giving warnings that the calls to run_command do not always explicitly specify if the result is to be checked or not, i.e. there is a missing "check" parameter. This is because the default behaviour without the parameter is due to change in the future.
We can fix these warnings by explicitly adding into each call whether the result should be checked by meson or not. This patch therefore adds in "check: false" to each run_command call where the result is being checked by the DPDK meson.build code afterwards, and adds in "check: true" to any calls where the result is currently unchecked.
Bugzilla ID: 921 Cc: [email protected]
Reported-by: Jerin Jacob <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
c28e2165 |
| 19-Oct-2021 |
Aman Singh <[email protected]> |
kni: fix build for SLES15-SP3
As suse version numbering is inconsistent to determine Linux kernel API to be used. In this patch we check parameter of 'ndo_tx_timeout' API directly from the kernel so
kni: fix build for SLES15-SP3
As suse version numbering is inconsistent to determine Linux kernel API to be used. In this patch we check parameter of 'ndo_tx_timeout' API directly from the kernel source. This is done only for suse build.
Bugzilla ID: 812 Cc: [email protected]
Signed-off-by: Aman Singh <[email protected]> Acked-by: Ferruh Yigit <[email protected]> Tested-by: Longfeng Liang <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
99a2dd95 |
| 20-Apr-2021 |
Bruce Richardson <[email protected]> |
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also m
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
8dcb898c |
| 20-Apr-2021 |
Bruce Richardson <[email protected]> |
build: change indentation in infrastructure files
Switch from using tabs to 4 spaces for meson.build indentation, for the basic infrastructure and tooling files, as well as doc and kernel directorie
build: change indentation in infrastructure files
Switch from using tabs to 4 spaces for meson.build indentation, for the basic infrastructure and tooling files, as well as doc and kernel directories.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4 |
|
| #
3b4f41a1 |
| 11-Feb-2021 |
Juraj Linkeš <[email protected]> |
build: support KNI cross-compilation
The KNI linux module is using a custom target for building, which doesn't take into account any cross compilation arguments. The arguments in question are ARCH,
build: support KNI cross-compilation
The KNI linux module is using a custom target for building, which doesn't take into account any cross compilation arguments. The arguments in question are ARCH, CROSS_COMPILE (for gcc, clang) and CC, LD (for clang). Get those from the cross file and pass them to the custom target.
The user supplied path may not contain the 'build' directory, such as when using cross-compiled headers, so only append that in the default case (when no path is supplied in native builds) and use the unmodified path from the user otherwise. Also modify the install path accordingly.
Signed-off-by: Juraj Linkeš <[email protected]> Reviewed-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
905592f4 |
| 25-Oct-2020 |
Thomas Monjalon <[email protected]> |
kni: move header file from EAL
Since the kernel module is not part of EAL anymore, there is no need to have the common KNI header file in EAL. The file rte_kni_common.h is moved to librte_kni.
Sign
kni: move header file from EAL
Since the kernel module is not part of EAL anymore, there is no need to have the common KNI header file in EAL. The file rte_kni_common.h is moved to librte_kni.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
a083f8cc |
| 27-Mar-2020 |
Thomas Monjalon <[email protected]> |
eal: move OS-specific sub-directories
Since the kernel modules are moved to kernel/ directory, there is no need anymore for the sub-directory eal/ in linux/, freebsd/ and windows/.
Signed-off-by: T
eal: move OS-specific sub-directories
Since the kernel modules are moved to kernel/ directory, there is no need anymore for the sub-directory eal/ in linux/, freebsd/ and windows/.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
9c1e0dc3 |
| 27-Mar-2020 |
Thomas Monjalon <[email protected]> |
eal: move common header files
The EAL API (with doxygen documentation) is moved from common/include/ to include/, which makes more clear that it is the global API for all environments and architectu
eal: move common header files
The EAL API (with doxygen documentation) is moved from common/include/ to include/, which makes more clear that it is the global API for all environments and architectures.
Note that the arch-specific and OS-specific include files are not in this global include directory, but include/generic/ should cover the doxygen documentation for them.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1 |
|
| #
4a4ccf8a |
| 10-Jan-2020 |
Bruce Richardson <[email protected]> |
kni: fix meson warning about console keyword
Since kni no longer includes the ethtool code and so is faster to build, we no longer need the console parameter to have incremental screen updates as it
kni: fix meson warning about console keyword
Since kni no longer includes the ethtool code and so is faster to build, we no longer need the console parameter to have incremental screen updates as it builds. Therefore, we drop the keyword which removes the warning.
Fixes: b78f32cff94d ("kni: support meson build") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Aaron Conole <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
|
Revision tags: v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
317832f9 |
| 11-Jun-2019 |
Igor Ryzhov <[email protected]> |
kernel/linux: fix modules install path
Currently kernel modules are installed into /usr/src instead of /lib/modules when meson build system is used. This patch fixes that.
Cc: [email protected]
Sign
kernel/linux: fix modules install path
Currently kernel modules are installed into /usr/src instead of /lib/modules when meson build system is used. This patch fixes that.
Cc: [email protected]
Signed-off-by: Igor Ryzhov <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
ea6b39b5 |
| 24-May-2019 |
Ferruh Yigit <[email protected]> |
kni: remove ethtool support
Current design requires kernel drivers and they need to be probed by Linux up to some level so that they can be usable by DPDK for ethtool support, this requires maintain
kni: remove ethtool support
Current design requires kernel drivers and they need to be probed by Linux up to some level so that they can be usable by DPDK for ethtool support, this requires maintaining the Linux drivers in DPDK.
Also ethtool support is limited and hard, if not impossible, to expand to other PMDs.
Since KNI ethtool support is not used commonly, if not used at all, removing the support for the sake of simplicity and maintenance.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Neil Horman <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
91d7846c |
| 06-Mar-2019 |
Bruce Richardson <[email protected]> |
eal/linux: rename linuxapp to linux
The term "linuxapp" is a legacy one, but just calling the subdirectory "linux" is just clearer for all concerned.
Signed-off-by: Bruce Richardson <bruce.richards
eal/linux: rename linuxapp to linux
The term "linuxapp" is a legacy one, but just calling the subdirectory "linux" is just clearer for all concerned.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
b78f32cf |
| 12-Oct-2018 |
Luca Boccassi <[email protected]> |
kni: support meson build
A Kbuild is also included to allow users to use DKMS natively without additional code.
Signed-off-by: Luca Boccassi <[email protected]> Tested-by: Bruce Richardson <bruce.ri
kni: support meson build
A Kbuild is also included to allow users to use DKMS natively without additional code.
Signed-off-by: Luca Boccassi <[email protected]> Tested-by: Bruce Richardson <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|