|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2 |
|
| #
b232b2aa |
| 15-Feb-2022 |
Bruce Richardson <[email protected]> |
buildtools/chkincs: check SDK headers for C++ compatibility
With a one-line change to the lib meson.build file we can add the SDK headers to the list of files to be checked using the chkincs binary.
buildtools/chkincs: check SDK headers for C++ compatibility
With a one-line change to the lib meson.build file we can add the SDK headers to the list of files to be checked using the chkincs binary. Unfortunately, many of those SDK header depend upon headers in the PCI and vdev bus drivers, so we need to update chkincs build to ensure those dependencies are added. We also need to allow internal APIs to be present in these SDK headers.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
|
Revision tags: v22.03-rc1 |
|
| #
9412af91 |
| 19-Jan-2022 |
Bruce Richardson <[email protected]> |
build: make cfgfile optional
Allow disabling of the cfgfile library in builds.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]>
build: make cfgfile optional
Allow disabling of the cfgfile library in builds.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
a7d53af2 |
| 19-Jan-2022 |
Bruce Richardson <[email protected]> |
build: make "packet framework" optional
Add port, table and pipeline libraries - collectively often known as the "packet framework" - to the list of optional libraries, and ensure tests can build w
build: make "packet framework" optional
Add port, table and pipeline libraries - collectively often known as the "packet framework" - to the list of optional libraries, and ensure tests can build with them disabled.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
6a9145ca |
| 19-Jan-2022 |
Bruce Richardson <[email protected]> |
build: make flow classification optional
Add the flow_classify library to the list of optional libraries, and ensure tests can build with it disabled.
Signed-off-by: Bruce Richardson <bruce.richard
build: make flow classification optional
Add the flow_classify library to the list of optional libraries, and ensure tests can build with it disabled.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
e46cf9ff |
| 19-Jan-2022 |
Bruce Richardson <[email protected]> |
build: make node optional
Allow the 'node' library to be disabled in builds.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Ac
build: make node optional
Allow the 'node' library to be disabled in builds.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
e7162699 |
| 19-Jan-2022 |
Bruce Richardson <[email protected]> |
build: allow recursive disabling of libraries
Align the code in lib/meson.build with that in drivers/meson.build to enable recursive disabling of libraries, i.e. if library b depends on library a, d
build: allow recursive disabling of libraries
Align the code in lib/meson.build with that in drivers/meson.build to enable recursive disabling of libraries, i.e. if library b depends on library a, disable library b if a is disabled (either explicitly or implicitly). This allows libraries to be optional even if other DPDK libs depend on them, something that was not previously possible.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4 |
|
| #
f64b299c |
| 17-Nov-2021 |
Elena Agostini <[email protected]> |
build: make gpudev optional
This library can be made optional. drivers/gpu and app/test-gpudev depend on this library, so they are automatically disabled if the lib is disabled.
Signed-off-by: Elen
build: make gpudev optional
This library can be made optional. drivers/gpu and app/test-gpudev depend on this library, so they are automatically disabled if the lib is disabled.
Signed-off-by: Elena Agostini <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc3 |
|
| #
cbff4d8d |
| 17-Nov-2021 |
David Marchand <[email protected]> |
build: make pdump optional
This library can be made optional. dumpcap and pdump applications depend on this library, check for dependencies like what we have for examples.
Signed-off-by: David Marc
build: make pdump optional
This library can be made optional. dumpcap and pdump applications depend on this library, check for dependencies like what we have for examples.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
bb9be9a4 |
| 17-Nov-2021 |
David Marchand <[email protected]> |
build: make metrics libraries optional
metrics, bitratestats, jobstats and latencystats libraries can be made optional as they provide standalone features.
Signed-off-by: David Marchand <david.marc
build: make metrics libraries optional
metrics, bitratestats, jobstats and latencystats libraries can be made optional as they provide standalone features.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
6970401e |
| 17-Nov-2021 |
David Marchand <[email protected]> |
build: make GRO/GSO libraries optional
GRO and GSO integration in testpmd is relatively self contained and easy to extract. Those libraries can be made optional as they provide standalone features.
build: make GRO/GSO libraries optional
GRO and GSO integration in testpmd is relatively self contained and easy to extract. Those libraries can be made optional as they provide standalone features.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2 |
|
| #
8b8036a6 |
| 08-Nov-2021 |
Elena Agostini <[email protected]> |
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev i
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev is for dealing with GPGPU computing devices from a DPDK application running on the CPU.
The infrastructure is prepared to welcome drivers in drivers/gpu/.
Signed-off-by: Elena Agostini <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
b1094939 |
| 20-Oct-2021 |
Bruce Richardson <[email protected]> |
build/windows: remove separate list of libs
Rather than maintaining a separate list of libraries which are to be built on windows, use the standard library list and explicitly add to each library th
build/windows: remove separate list of libs
Rather than maintaining a separate list of libraries which are to be built on windows, use the standard library list and explicitly add to each library that is not to be built a check for windows and disable the library at that per-lib level. As well as shortening the main lib/meson.build file, this also leads to the build summary at the end of the meson config run correctly listing the libraries which are not to be built.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
fed60088 |
| 20-Oct-2021 |
Bruce Richardson <[email protected]> |
dmadev: enable build on Windows
The dmadev library was not added to the list of libraries built on Windows, meaning it was skipped in those builds and also that none of the drivers were being consid
dmadev: enable build on Windows
The dmadev library was not added to the list of libraries built on Windows, meaning it was skipped in those builds and also that none of the drivers were being considered for build. Adding dmadev to the list fixes this, and also enables the skeleton dmadev driver to be built - all-be-it with a small fix necessary.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Chengwen Feng <[email protected]> Tested-by: Conor Walsh <[email protected]>
show more ...
|
| #
10f726ef |
| 20-Oct-2021 |
Stephen Hemminger <[email protected]> |
pdump: support pcapng and filtering
This enhances the DPDK pdump library to support new pcapng format and filtering via BPF.
The internal client/server protocol is changed to support two versions:
pdump: support pcapng and filtering
This enhances the DPDK pdump library to support new pcapng format and filtering via BPF.
The internal client/server protocol is changed to support two versions: the original pdump basic version and a new pcapng version.
The internal version number (not part of exposed API or ABI) is intentionally increased to cause any attempt to try mismatched primary/secondary process to fail.
Add new API to do allow filtering of captured packets with DPDK BPF (eBPF) filter program. It keeps statistics on packets captured, filtered, and missed (because ring was full).
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Reshma Pattan <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| #
8d23ce8f |
| 20-Oct-2021 |
Stephen Hemminger <[email protected]> |
pcapng: add new library for writing pcapng files
This is utility library for writing pcapng format files used by Wireshark family of utilities. Older tcpdump also knows how to read (but not write) t
pcapng: add new library for writing pcapng files
This is utility library for writing pcapng format files used by Wireshark family of utilities. Older tcpdump also knows how to read (but not write) this format.
See https://github.com/pcapng/pcapng/
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Reshma Pattan <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| #
09644b58 |
| 20-Oct-2021 |
Stephen Hemminger <[email protected]> |
pdump: disable on Windows
The current version of the pdump library was building on Windows, but it was useless since the pdump utility was not being built and Windows does not have multi-process sup
pdump: disable on Windows
The current version of the pdump library was building on Windows, but it was useless since the pdump utility was not being built and Windows does not have multi-process support.
The new version of pdump with filtering now has dependency on bpf. But bpf library is not available on Windows.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]>
show more ...
|
| #
b36970f2 |
| 13-Oct-2021 |
Chengwen Feng <[email protected]> |
dmadev: introduce DMA device library
The 'dmadev' is a generic type of DMA device.
This patch introduce the 'dmadev' device allocation functions.
The infrastructure is prepared to welcome drivers
dmadev: introduce DMA device library
The 'dmadev' is a generic type of DMA device.
This patch introduce the 'dmadev' device allocation functions.
The infrastructure is prepared to welcome drivers in drivers/dma/
Signed-off-by: Chengwen Feng <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Jerin Jacob <[email protected]> Reviewed-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
56d2c1aa |
| 06-Oct-2021 |
Tal Shnaiderman <[email protected]> |
security: build on Windows
Build the security library on Windows.
Remove unneeded export of inline functions from version file.
Signed-off-by: Tal Shnaiderman <[email protected]> Acked-by: Akhil G
security: build on Windows
Build the security library on Windows.
Remove unneeded export of inline functions from version file.
Signed-off-by: Tal Shnaiderman <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: William Tu <[email protected]>
show more ...
|
| #
cb7b6898 |
| 06-Oct-2021 |
Tal Shnaiderman <[email protected]> |
cryptodev: build on Windows
Build the cryptography device library on Windows OS by removing unneeded include and exports of inline functions blocking the compilation.
Signed-off-by: Tal Shnaiderman
cryptodev: build on Windows
Build the cryptography device library on Windows OS by removing unneeded include and exports of inline functions blocking the compilation.
Signed-off-by: Tal Shnaiderman <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: William Tu <[email protected]>
show more ...
|
| #
09e4ecea |
| 01-Oct-2021 |
Jie Zhou <[email protected]> |
mempool/stack: build on Windows
Enable build of mempool/stack on Windows.
Signed-off-by: Jie Zhou <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]>
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
786881d1 |
| 29-Jun-2021 |
Jie Zhou <[email protected]> |
lib: build testpmd dependencies on Windows
Enable building libraries that testpmd depends on for Windows
Signed-off-by: Jie Zhou <[email protected]> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@
lib: build testpmd dependencies on Windows
Enable building libraries that testpmd depends on for Windows
Signed-off-by: Jie Zhou <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]>
show more ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2 |
|
| #
eeded204 |
| 26-Apr-2021 |
David Marchand <[email protected]> |
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new macros: - RTE_LOG_REGISTER_DEFAULT can be used when a single logtype is used in a component. It is associated to the default name provided by the build system, - RTE_LOG_REGISTER_SUFFIX can be used when multiple logtypes are used, and then the passed name is appended to the default name,
RTE_LOG_REGISTER is left untouched for existing external users and for components that do not comply with the convention.
There is a new Meson variable log_prefix to adapt the default name for baseband (pmd.bb.), bus (no pmd.) and mempool (no pmd.) classes.
Note: achieved with below commands + reverted change on net/bonding + edits on crypto/virtio, compress/mlx5, regex/mlx5
$ git grep -l RTE_LOG_REGISTER drivers/ | while read file; do pattern=${file##drivers/}; class=${pattern%%/*}; pattern=${pattern#$class/}; drv=${pattern%%/*}; case "$class" in baseband) pattern=pmd.bb.$drv;; bus) pattern=bus.$drv;; mempool) pattern=mempool.$drv;; *) pattern=pmd.$class.$drv;; esac sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
$ git grep -l RTE_LOG_REGISTER lib/ | while read file; do pattern=${file##lib/}; pattern=lib.${pattern%%/*}; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
Signed-off-by: David Marchand <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
627c5b41 |
| 07-May-2021 |
David Marchand <[email protected]> |
build: fix default drivers list without Python
If no enable_drivers option is passed, the default is to build the drivers list by calling list-dir-globs.py.
But if no Python interpreter is installe
build: fix default drivers list without Python
If no enable_drivers option is passed, the default is to build the drivers list by calling list-dir-globs.py.
But if no Python interpreter is installed, no error is reported and all drivers end up being disabled.
Example on a minimal FreeBSD VM:
dpdk@freebsd:~/dpdk $ meson setup build ... drivers: common/cpt: not in enabled drivers build config common/dpaax: not in enabled drivers build config common/iavf: not in enabled drivers build config common/mvep: not in enabled drivers build config common/octeontx: not in enabled drivers build config common/octeontx2: not in enabled drivers build config bus/dpaa: not in enabled drivers build config bus/fslmc: not in enabled drivers build config ...
dpdk@freebsd:~/dpdk $ cd drivers/ dpdk@freebsd:~/dpdk/drivers $ ~/dpdk/buildtools/list-dir-globs.py */* env: python3: No such file or directory
Rely on meson internal interpreter. Check return code when calling this script.
Fixes: ab9407c3addd ("build: allow using wildcards to disable drivers") Fixes: 2e33309ebe03 ("config: enable/disable drivers in Arm builds") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
2223b6ce |
| 05-May-2021 |
David Marchand <[email protected]> |
lib: restore developer mode checks
Most of the checks on developer_mode have been accidentally dropped. Restore them.
Fixes: 7d611e35b077 ("lib: simplify main build file")
Signed-off-by: David Mar
lib: restore developer mode checks
Most of the checks on developer_mode have been accidentally dropped. Restore them.
Fixes: 7d611e35b077 ("lib: simplify main build file")
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|