| 3c458891 | 01-Apr-2019 |
Thomas Monjalon <[email protected]> |
eal: remove exec-env directory
Only one header file (rte_kni_common.h) was in the sub-directory include/exec-env/ This file was installed in a sub-directory of the same name in the makefile-based b
eal: remove exec-env directory
Only one header file (rte_kni_common.h) was in the sub-directory include/exec-env/ This file was installed in a sub-directory of the same name in the makefile-based build. Source and install directories are moved as below:
lib/librte_eal/linux/eal/include/exec-env/ -> lib/librte_eal/linux/eal/include/
build/include/exec-env/ -> build/include/
The consequence is to have a file hierarchy a bit more flat.
Signed-off-by: Thomas Monjalon <[email protected]> Reviewed-by: David Marchand <[email protected]> Tested-by: David Marchand <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
| d6cefc11 | 01-Apr-2019 |
Bruce Richardson <[email protected]> |
devtools: allow test build outside source directory
The test-meson-builds.sh script correctly detects the source directory and builds the native builds successfully in a directory outside of the sou
devtools: allow test build outside source directory
The test-meson-builds.sh script correctly detects the source directory and builds the native builds successfully in a directory outside of the source tree. However, the paths to the cross-files are not prefixed with the source directory path, so the cross-builds all fail. Fix this by prepending the source directory path appropriately.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| da68794d | 13-Mar-2019 |
Bruce Richardson <[email protected]> |
devtools: fix config check when building tags
The check for a valid configuration in build-tags.sh relied on the output of "make showconfig" rather than checking directly for a config file of that n
devtools: fix config check when building tags
The check for a valid configuration in build-tags.sh relied on the output of "make showconfig" rather than checking directly for a config file of that name. This broke when as part of the rename of the linuxapp/bsdapp configs to just linux/freebsd, as we stopped advertising the old names even if they worked. Changing the code to just look for the config file by name fixes this issue while shortening the code too.
Fixes: 218c4e68c1d9 ("mk: use linux and freebsd in config names") Fixes: aafaea3d3b70 ("devtools: add tags and cscope index generation")
Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Ferruh Yigit <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 5d917667 | 12-Mar-2019 |
Bruce Richardson <[email protected]> |
devtools: fix meson build test to exit on failure
When piping the ninja command through cat, we lose the error value from the call to ninja in the case of failure. This prevents the script from exit
devtools: fix meson build test to exit on failure
When piping the ninja command through cat, we lose the error value from the call to ninja in the case of failure. This prevents the script from exiting at the first broken build. Fix this by setting the "pipefail" shell option.
Fixes: 4bcb9b768604 ("devtools: add verbose option to meson build test")
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| 218c4e68 | 06-Mar-2019 |
Bruce Richardson <[email protected]> |
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 <[email protected]>
show more ...
|
| ae2f2fee | 06-Mar-2019 |
Bruce Richardson <[email protected]> |
build: rename linuxapp to linux in meson cross files
Rename the cross files for meson compilation from having linuxapp in the name to just linux in the name.
Signed-off-by: Bruce Richardson <bruce.
build: rename linuxapp to linux in meson cross files
Rename the cross files for meson compilation from having linuxapp in the name to just linux in the name.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| 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 ...
|
| 25c99fbd | 06-Mar-2019 |
Bruce Richardson <[email protected]> |
eal/bsd: rename bsdapp to freebsd
The term "bsdapp" is a legacy one, but just calling the subdirectory "freebsd" is just clearer for all concerned.
Signed-off-by: Bruce Richardson <bruce.richardson
eal/bsd: rename bsdapp to freebsd
The term "bsdapp" is a legacy one, but just calling the subdirectory "freebsd" is just clearer for all concerned.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| b66612e5 | 04-Mar-2019 |
Ferruh Yigit <[email protected]> |
devtools: fix index generation
build-tags.sh is broken because of removed 'test' folder, this breaks helper make targets like 'make cscope', 'make tags', etc...
Fixing it by removing 'test' from so
devtools: fix index generation
build-tags.sh is broken because of removed 'test' folder, this breaks helper make targets like 'make cscope', 'make tags', etc...
Fixing it by removing 'test' from source directories list.
Fixes: a9de470cc7c0 ("test: move to app directory")
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Jerin Jacob <[email protected]> Reviewed-by: Rami Rosen <[email protected]>
show more ...
|
| 1f616850 | 04-Mar-2019 |
Michael Santana <[email protected]> |
devtools: fix result of svg include check
Fix trivial bug. In sh shell, 'foo = 1' is not the same as 'foo=1'. Using 'foo = 1' makes the shell attempt to interpret foo as a command, rather than a sim
devtools: fix result of svg include check
Fix trivial bug. In sh shell, 'foo = 1' is not the same as 'foo=1'. Using 'foo = 1' makes the shell attempt to interpret foo as a command, rather than a simple variable assignment.
Fixes: dafc04c15174 ("devtools: fix return of forbidden addition checks") Cc: [email protected]
Signed-off-by: Michael Santana <[email protected]> Acked-by: Bruce Richardson <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| abdd3141 | 04-Mar-2019 |
Michael Santana <[email protected]> |
devtools: enable codespell in checkpatch
Enable codespell by default. codespell is a feature by checkpatch.pl that checks for common spelling mistakes in patches.
This feature is disabled by defaul
devtools: enable codespell in checkpatch
Enable codespell by default. codespell is a feature by checkpatch.pl that checks for common spelling mistakes in patches.
This feature is disabled by default. To enable it one must add the '--codespell' flag to the $options variable in checkpatches.sh. With this change codespell is enabled by default. The user can decide to turn off codespell from a one of the config files read by checkpatches.sh.
Signed-off-by: Michael Santana <[email protected]> Reviewed-by: Rami Rosen <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| 4bcb9b76 | 26-Feb-2019 |
Bruce Richardson <[email protected]> |
devtools: add verbose option to meson build test
When running ninja, the commands are, by default, always printed on top of each other. For those who want more detail in the output, two levels of ve
devtools: add verbose option to meson build test
When running ninja, the commands are, by default, always printed on top of each other. For those who want more detail in the output, two levels of verbose output has been added to the test-meson-builds script. When "-v" is passed, or the "TEST_MESON_BUILD_VERBOSE" flag is set in the environment, then the output of ninja is passed through "cat" to prevent each line overwriting the next. If "-vv" is passed, or "TEST_MESON_BUILD_VERY_VERBOSE" is set in the environment, then ninja is called with the "-v" flag to print out each command in full as it is executing.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| 3655096f | 25-Feb-2019 |
Bruce Richardson <[email protected]> |
devtools: fix build test on FreeBSD
readlink option "-m" is not supported on FreeBSD (checked on BSD 11), so change to the largely-equivalent "-f" flag.
Fixes: a55277a788df ("devtools: add test scr
devtools: fix build test on FreeBSD
readlink option "-m" is not supported on FreeBSD (checked on BSD 11), so change to the largely-equivalent "-f" flag.
Fixes: a55277a788df ("devtools: add test script for meson builds") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| a9de470c | 26-Feb-2019 |
Bruce Richardson <[email protected]> |
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we ca
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we can move it back to where it all started in early versions of DPDK - the "app/" folder.
This move has a couple of advantages: * This reduces clutter at the top level of the project, due to one less folder. * It eliminates the separate build task necessary for building the autotests using make "make test-build" which means that developers are less likely to miss something in their own compilation tests * It re-aligns the final location of the test binary in the app folder when building with make with it's location in the source tree.
For meson builds, the autotest app is different from the other apps in that it needs a series of different test cases defined for it for use by "meson test". Therefore, it does not get built as part of the main loop in the app folder, but gets built separately at the end.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| 9c3650aa | 29-Jan-2019 |
Ferruh Yigit <[email protected]> |
devtools: add git log checks for DCB, TOS and TTL
Add case check to DCB, TOS and TTL abbreviations.
Signed-off-by: Ferruh Yigit <[email protected]> |
| 8fdac86a | 12-Feb-2019 |
Thomas Monjalon <[email protected]> |
devtools: fix test of some build options
CONFIG_RTE_LIBRTE_PMD_ISAL was not tested because of a typo.
CONFIG_RTE_LIBRTE_PMD_QAT_SYM was not tested since it has been introduced and made CONFIG_RTE_L
devtools: fix test of some build options
CONFIG_RTE_LIBRTE_PMD_ISAL was not tested because of a typo.
CONFIG_RTE_LIBRTE_PMD_QAT_SYM was not tested since it has been introduced and made CONFIG_RTE_LIBRTE_PMD_QAT enabled by default.
While at it, DPDK_DEP_JSON is now checked for "y", as other DPDK_DEP_* variables, instead of non-empty.
Fixes: 3c32e89f68e1 ("compress/isal: add skeleton ISA-L compression PMD") Fixes: 7a34c2155716 ("compress/qat: add empty driver") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Fiona Trahe <[email protected]>
show more ...
|
| fbe71342 | 12-Feb-2019 |
Thomas Monjalon <[email protected]> |
devtools: test build of zlib PMD
The PMD zlib was not enabled in devtools/test-build.sh. It is fixed by using the environment variable DPDK_DEP_ZLIB.
Fixes: 0c4e4c16b004 ("compress/zlib: introduce
devtools: test build of zlib PMD
The PMD zlib was not enabled in devtools/test-build.sh. It is fixed by using the environment variable DPDK_DEP_ZLIB.
Fixes: 0c4e4c16b004 ("compress/zlib: introduce zlib PMD") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| 814ad2a9 | 12-Feb-2019 |
Thomas Monjalon <[email protected]> |
devtools: add libelf dependency to build test
The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled with test-build.sh. It is fixed with the environment variable DPDK_DEP_ELF.
Fixes: 5dba93ae5f2d
devtools: add libelf dependency to build test
The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled with test-build.sh. It is fixed with the environment variable DPDK_DEP_ELF.
Fixes: 5dba93ae5f2d ("bpf: add ability to load eBPF program from ELF object file") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| 85e5fd8b | 10-Jan-2019 |
Bruce Richardson <[email protected]> |
devtools: fix build check for whether meson has run
The current check to see whether we need to call meson or just ninja simply checked if the build directory existed. However, if meson was run but
devtools: fix build check for whether meson has run
The current check to see whether we need to call meson or just ninja simply checked if the build directory existed. However, if meson was run but failed, the build directory would still exist. We can fix this by instead checking for the build.ninja file inside the directory. Once that is present, we can use ninja safely and let it worry about rerunning meson if necessary.
Fixes: a55277a788df ("devtools: add test script for meson builds") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| 40fd8748 | 21-Dec-2018 |
Gavin Hu <[email protected]> |
devtools: fix wrong headline lowercase for arm
Change to the new wording according to Arm corp: https://mails.dpdk.org/archives/dev/2018-October/115174.html otherwise, "Wrong headline lowercase" may
devtools: fix wrong headline lowercase for arm
Change to the new wording according to Arm corp: https://mails.dpdk.org/archives/dev/2018-October/115174.html otherwise, "Wrong headline lowercase" may be falsely reported.
Fixes: f146ada21d1e ("scripts: add more git log checks") Cc: [email protected]
Signed-off-by: Gavin Hu <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| dafc04c1 | 18-Dec-2018 |
Arnon Warshavsky <[email protected]> |
devtools: fix return of forbidden addition checks
Explicitly collect the error code of the multiple awk script calls.
Bugzilla ID: 165 Fixes: 4d4c612e6a30 ("devtools: check wrong svg include in gui
devtools: fix return of forbidden addition checks
Explicitly collect the error code of the multiple awk script calls.
Bugzilla ID: 165 Fixes: 4d4c612e6a30 ("devtools: check wrong svg include in guides") Cc: [email protected]
Signed-off-by: Arnon Warshavsky <[email protected]>
show more ...
|
| b0aa225b | 30-Nov-2018 |
David Marchand <[email protected]> |
devtools: fix symbol check when adding experimental section
The incriminated commit did relax the condition to catch all sections but dropped the + removal which can trigger false detection of the s
devtools: fix symbol check when adding experimental section
The incriminated commit did relax the condition to catch all sections but dropped the + removal which can trigger false detection of the special EXPERIMENTAL section when adding symbols and the section in the same patch.
Fixes: 7281cf520f89 ("devtools: relax rule for identifying symbol section") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| 0fc7178e | 30-Nov-2018 |
David Marchand <[email protected]> |
devtools: report the incorrect section when complaining
It does not hurt reporting the incriminated section.
Before: ERROR: symbol rte_plop is added in a section other than the EXPERIMENTAL section
devtools: report the incorrect section when complaining
It does not hurt reporting the incriminated section.
Before: ERROR: symbol rte_plop is added in a section other than the EXPERIMENTAL section of the version map
After: ERROR: symbol rte_plop is added in the DPDK_19.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
Signed-off-by: David Marchand <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| 5a5f4676 | 01-Nov-2018 |
Neil Horman <[email protected]> |
devtools: fix regex in symbol addition check
The regex to determine the end of the map file chunk in a patch seems to be wrong, It was using perl regex syntax, which awk doesn't appear to support (
devtools: fix regex in symbol addition check
The regex to determine the end of the map file chunk in a patch seems to be wrong, It was using perl regex syntax, which awk doesn't appear to support (I'm still not sure how it was working previously). Regardless, it wasn't triggering and as a result symbols were getting added to the mapdb that shouldn't be there.
Fix it by converting the regex to use traditional posix syntax, matching only on the negation of the character class [^map]
Tested and shown to be working on the ip_frag patch set provided by [email protected]
Fixes: 4bec48184e33 ("devtools: add checks for ABI symbol addition") Cc: [email protected]
Reported-by: Cody Doucette <[email protected]> Signed-off-by: Neil Horman <[email protected]>
show more ...
|
| b467d382 | 02-Nov-2018 |
Arnon Warshavsky <[email protected]> |
devtools: add explicit warnings for forbidden tokens
Replace the content of warning in the forbidden tokens script from using the searched regex into using explicit messages
Signed-off-by: Arnon Wa
devtools: add explicit warnings for forbidden tokens
Replace the content of warning in the forbidden tokens script from using the searched regex into using explicit messages
Signed-off-by: Arnon Warshavsky <[email protected]>
show more ...
|