Build file update proposals
Subsystems (11)
cover Build file update proposals
This RFC contains 5 changes/updates to the DPDK build and build files. These updates all assume that the minimum version for DPDK has increased to at least meson 0.49 as proposed in [1].
The changes in this set are:
1. Use "continue" keyword, new in 0.49 to shorten and reduce indentation levels in the foreach loops when building library or driver components.
2. For libraries, drop support for header-only libraries, which was added just for the "compat" lib which had a single header, and is now part of EAL. This similarly reduces indentation levels and makes the code easier to follow
3. Since the larger blocks of meson code in our repo is seeing massive whitespace changes, take the opportunity to switch our indentation style for meson files from that of C-files using tabs, to Meson/Python style using spaces. [More below on this for discussion]
4. Remove the "librte_" prefix from all our library directories. While as useful cleanup, the main driver for this was that it simplifies the matching for #5 below.
5. Add a "disable_libs" build option to allow the user to optionally not build certain components. Include in this an explicit list of libraries which are "known safe" to disable in the build. For now this is a short list of three libs, all of which are safe because they are not buildable on FreeBSD. More work is needed to expand this list in future.
Of these changes, I expect #3 to be most controversial. The initial implementation of meson build for DPDK should have originally been done using the correct meson style using spaces[2], but sadly it was not done that way. If we are to ever change, I believe it should be now while other rework such as this is being done. Here are the arguments for/against, as I see them.
Reasons to change:
* Align with official meson style, used on other projects
* Reduce indentation levels in code. NOTE: While not normally a consideration in programming, this is a possible issue with meson compared to C or Python, because we cannot create separate functions to move inner loops to lower indentation levels.
* It's probably now or never.
Reasons not to change:
* Outstanding patches for meson would need respin
* More work involved in backports - though with the more complicated meson blocks changing whitespace levels anyway due to #1 and #2 above, it's probably no more difficult than it would otherwise be. The extra changes to e.g. list indentation, require work to adjust whitespace, but are trivial to fix.
* Code churn
Feedback on these patches and proposed changes welcome, as always.
[1] http://patches.dpdk.org/project/dpdk/list/?series=15827
[2] https://mesonbuild.com/Style-guide.html#tabs-or-spaces
Bruce Richardson (14):
editorconfig: add entry for meson files
build: simplify library build file
build: correct indentation in list of libs
build: simplify the driver build configuration file
build: clean up driver list indentation
build: reduce indentation in app build spec
build: reduce indentation in examples build spec
build: change infrastructure file tabs to spaces
lib: change meson file tabs to spaces
drivers: change meson file tabs to spaces
examples: change meson file tabs to spaces
app: change meson file tabs to spaces
lib: remove librte_ prefix from directory names
lib: allow disabling optional libraries
.editorconfig | 5 +
MAINTAINERS | 212 ++---
app/meson.build | 100 +--
app/test-bbdev/meson.build | 12 +-
app/test-compress-perf/meson.build | 10 +-
app/test-crypto-perf/meson.build | 20 +-
app/test-eventdev/meson.build | 24 +-
app/test-flow-perf/meson.build | 8 +-
app/test-pipeline/meson.build | 18 +-
app/test-pmd/meson.build | 60 +-
app/test/meson.build | 812 +++++++++---------
app/test/test_eal_fs.c | 2 +-
app/test/test_memzone.c | 2 +-
app/test/test_telemetry_json.c | 2 +-
buildtools/chkincs/meson.build | 24 +-
buildtools/meson.build | 34 +-
buildtools/pkg-config/meson.build | 34 +-
config/arm/meson.build | 448 +++++-----
config/meson.build | 278 +++---
config/ppc/meson.build | 8 +-
config/x86/meson.build | 64 +-
devtools/build-tags.sh | 14 +-
doc/api/doxy-api.conf.in | 104 +--
doc/api/meson.build | 36 +-
doc/guides/contributing/abi_versioning.rst | 12 +-
doc/guides/contributing/coding_style.rst | 4 +-
doc/guides/contributing/documentation.rst | 10 +-
doc/guides/meson.build | 24 +-
doc/guides/prog_guide/event_timer_adapter.rst | 2 +-
doc/guides/prog_guide/qos_framework.rst | 4 +-
doc/guides/prog_guide/rawdev.rst | 2 +-
doc/guides/rel_notes/known_issues.rst | 2 +-
doc/meson.build | 6 +-
drivers/baseband/meson.build | 8 +-
drivers/baseband/turbo_sw/meson.build | 46 +-
drivers/bus/dpaa/meson.build | 28 +-
drivers/bus/fslmc/meson.build | 30 +-
drivers/bus/ifpga/meson.build | 6 +-
drivers/bus/meson.build | 7 +-
drivers/bus/pci/meson.build | 24 +-
drivers/bus/vdev/meson.build | 2 +-
drivers/bus/vmbus/meson.build | 22 +-
drivers/common/cpt/meson.build | 2 +-
drivers/common/dpaax/meson.build | 8 +-
drivers/common/meson.build | 9 +-
drivers/common/mlx5/linux/meson.build | 350 ++++----
drivers/common/mlx5/meson.build | 40 +-
drivers/common/mlx5/windows/meson.build | 30 +-
drivers/common/mvep/meson.build | 6 +-
drivers/common/octeontx2/meson.build | 18 +-
drivers/common/qat/meson.build | 60 +-
drivers/common/sfc_efx/base/meson.build | 142 +--
drivers/common/sfc_efx/meson.build | 24 +-
drivers/compress/isal/meson.build | 4 +-
drivers/compress/meson.build | 7 +-
drivers/compress/mlx5/meson.build | 24 +-
drivers/compress/zlib/meson.build | 4 +-
drivers/crypto/aesni_gcm/meson.build | 22 +-
drivers/crypto/aesni_mb/meson.build | 22 +-
drivers/crypto/armv8/meson.build | 6 +-
drivers/crypto/bcmfs/meson.build | 26 +-
drivers/crypto/caam_jr/meson.build | 10 +-
drivers/crypto/ccp/meson.build | 16 +-
drivers/crypto/dpaa2_sec/meson.build | 6 +-
drivers/crypto/dpaa_sec/meson.build | 4 +-
drivers/crypto/kasumi/meson.build | 20 +-
drivers/crypto/meson.build | 38 +-
drivers/crypto/mvsam/meson.build | 6 +-
drivers/crypto/nitrox/meson.build | 20 +-
drivers/crypto/octeontx/meson.build | 12 +-
drivers/crypto/octeontx2/meson.build | 16 +-
drivers/crypto/openssl/meson.build | 4 +-
drivers/crypto/qat/meson.build | 20 +-
drivers/crypto/scheduler/meson.build | 18 +-
drivers/crypto/snow3g/meson.build | 18 +-
drivers/crypto/virtio/meson.build | 4 +-
drivers/crypto/zuc/meson.build | 20 +-
drivers/event/dlb/meson.build | 14 +-
drivers/event/dlb2/meson.build | 14 +-
drivers/event/dpaa/meson.build | 4 +-
drivers/event/dpaa2/meson.build | 8 +-
drivers/event/dsw/meson.build | 2 +-
drivers/event/meson.build | 17 +-
drivers/event/octeontx/meson.build | 12 +-
drivers/event/octeontx2/meson.build | 24 +-
drivers/event/opdl/meson.build | 10 +-
drivers/event/sw/meson.build | 8 +-
drivers/mempool/bucket/meson.build | 4 +-
drivers/mempool/dpaa/meson.build | 4 +-
drivers/mempool/dpaa2/meson.build | 4 +-
drivers/mempool/meson.build | 8 +-
drivers/mempool/octeontx/meson.build | 6 +-
drivers/mempool/octeontx2/meson.build | 20 +-
drivers/mempool/stack/meson.build | 4 +-
drivers/meson.build | 394 +++++----
drivers/net/af_packet/meson.build | 4 +-
drivers/net/af_xdp/meson.build | 24 +-
drivers/net/ark/meson.build | 24 +-
drivers/net/atlantic/meson.build | 22 +-
drivers/net/avp/meson.build | 4 +-
drivers/net/axgbe/meson.build | 16 +-
drivers/net/bnx2x/meson.build | 18 +-
drivers/net/bnxt/meson.build | 124 +--
drivers/net/bonding/meson.build | 8 +-
drivers/net/cxgbe/meson.build | 30 +-
drivers/net/dpaa/meson.build | 16 +-
drivers/net/dpaa2/meson.build | 26 +-
drivers/net/e1000/base/meson.build | 50 +-
drivers/net/e1000/meson.build | 20 +-
drivers/net/ena/meson.build | 10 +-
drivers/net/enetc/meson.build | 6 +-
drivers/net/enic/meson.build | 46 +-
drivers/net/failsafe/meson.build | 24 +-
drivers/net/fm10k/base/meson.build | 28 +-
drivers/net/fm10k/meson.build | 12 +-
drivers/net/hinic/base/meson.build | 26 +-
drivers/net/hinic/meson.build | 16 +-
drivers/net/hns3/meson.build | 46 +-
drivers/net/i40e/base/meson.build | 32 +-
drivers/net/i40e/meson.build | 110 +--
drivers/net/iavf/meson.build | 94 +-
drivers/net/ice/base/meson.build | 40 +-
drivers/net/ice/meson.build | 100 +--
drivers/net/igc/base/meson.build | 20 +-
drivers/net/igc/meson.build | 16 +-
drivers/net/ionic/meson.build | 20 +-
drivers/net/ipn3ke/meson.build | 18 +-
drivers/net/ixgbe/base/meson.build | 42 +-
drivers/net/ixgbe/meson.build | 32 +-
drivers/net/kni/meson.build | 6 +-
drivers/net/liquidio/meson.build | 12 +-
drivers/net/memif/meson.build | 6 +-
drivers/net/meson.build | 102 +--
drivers/net/mlx4/meson.build | 160 ++--
drivers/net/mlx5/linux/meson.build | 14 +-
drivers/net/mlx5/meson.build | 78 +-
drivers/net/mlx5/windows/meson.build | 10 +-
drivers/net/mvneta/meson.build | 16 +-
drivers/net/mvpp2/meson.build | 22 +-
drivers/net/netvsc/meson.build | 6 +-
drivers/net/nfb/meson.build | 6 +-
drivers/net/nfp/meson.build | 28 +-
drivers/net/null/meson.build | 6 +-
drivers/net/octeontx/base/meson.build | 18 +-
drivers/net/octeontx/meson.build | 12 +-
drivers/net/octeontx2/meson.build | 62 +-
drivers/net/pcap/meson.build | 10 +-
drivers/net/pfe/meson.build | 12 +-
drivers/net/qede/base/meson.build | 78 +-
drivers/net/qede/meson.build | 22 +-
drivers/net/ring/meson.build | 6 +-
drivers/net/sfc/meson.build | 64 +-
drivers/net/softnic/meson.build | 32 +-
drivers/net/szedata2/meson.build | 6 +-
drivers/net/tap/meson.build | 42 +-
drivers/net/thunderx/base/meson.build | 10 +-
drivers/net/thunderx/meson.build | 14 +-
drivers/net/txgbe/base/meson.build | 26 +-
drivers/net/txgbe/meson.build | 24 +-
drivers/net/vdev_netvsc/meson.build | 4 +-
drivers/net/vhost/meson.build | 6 +-
drivers/net/virtio/meson.build | 78 +-
drivers/net/vmxnet3/meson.build | 12 +-
drivers/raw/ifpga/base/meson.build | 54 +-
drivers/raw/ifpga/meson.build | 8 +-
drivers/raw/ioat/meson.build | 18 +-
drivers/raw/meson.build | 15 +-
drivers/raw/ntb/meson.build | 2 +-
drivers/raw/octeontx2_dma/meson.build | 8 +-
drivers/raw/octeontx2_ep/meson.build | 6 +-
drivers/regex/meson.build | 3 +-
drivers/regex/mlx5/meson.build | 32 +-
drivers/regex/octeontx2/meson.build | 22 +-
drivers/vdpa/meson.build | 4 +-
drivers/vdpa/mlx5/meson.build | 38 +-
examples/bbdev_app/meson.build | 2 +-
examples/bond/meson.build | 2 +-
examples/cmdline/meson.build | 2 +-
examples/distributor/meson.build | 4 +-
examples/ethtool/meson.build | 8 +-
examples/eventdev_pipeline/meson.build | 6 +-
examples/fips_validation/meson.build | 22 +-
examples/flow_classify/meson.build | 2 +-
examples/flow_filtering/meson.build | 2 +-
examples/helloworld/meson.build | 2 +-
examples/ioat/meson.build | 4 +-
examples/ip_fragmentation/meson.build | 2 +-
examples/ip_pipeline/meson.build | 30 +-
examples/ip_reassembly/meson.build | 2 +-
examples/ipsec-secgw/meson.build | 26 +-
examples/ipv4_multicast/meson.build | 2 +-
examples/kni/meson.build | 4 +-
examples/l2fwd-cat/meson.build | 4 +-
examples/l2fwd-crypto/meson.build | 4 +-
examples/l2fwd-event/meson.build | 12 +-
examples/l2fwd-jobstats/meson.build | 2 +-
examples/l2fwd-keepalive/meson.build | 6 +-
examples/l2fwd/meson.build | 2 +-
examples/l3fwd-acl/meson.build | 2 +-
examples/l3fwd-graph/meson.build | 2 +-
examples/l3fwd-power/meson.build | 2 +-
examples/l3fwd/meson.build | 4 +-
examples/link_status_interrupt/meson.build | 2 +-
examples/meson.build | 158 ++--
.../client_server_mp/mp_client/meson.build | 2 +-
.../client_server_mp/mp_server/meson.build | 2 +-
examples/multi_process/hotplug_mp/meson.build | 2 +-
examples/multi_process/simple_mp/meson.build | 2 +-
.../multi_process/symmetric_mp/meson.build | 2 +-
examples/ntb/meson.build | 8 +-
examples/packet_ordering/meson.build | 2 +-
.../l3fwd-thread/meson.build | 20 +-
.../pthread_shim/meson.build | 22 +-
examples/pipeline/meson.build | 12 +-
examples/ptpclient/meson.build | 2 +-
examples/qos_meter/meson.build | 2 +-
examples/qos_sched/meson.build | 4 +-
examples/rxtx_callbacks/meson.build | 2 +-
examples/service_cores/meson.build | 2 +-
examples/skeleton/meson.build | 2 +-
examples/timer/meson.build | 2 +-
examples/vdpa/meson.build | 6 +-
examples/vhost/meson.build | 10 +-
examples/vhost_blk/meson.build | 10 +-
examples/vhost_crypto/meson.build | 4 +-
.../vm_power_manager/guest_cli/meson.build | 2 +-
examples/vm_power_manager/meson.build | 20 +-
examples/vmdq/meson.build | 2 +-
examples/vmdq_dcb/meson.build | 2 +-
kernel/freebsd/meson.build | 32 +-
kernel/linux/kni/meson.build | 40 +-
kernel/linux/meson.build | 112 +--
lib/{librte_acl => acl}/acl.h | 0
lib/{librte_acl => acl}/acl_bld.c | 0
lib/{librte_acl => acl}/acl_gen.c | 0
lib/{librte_acl => acl}/acl_run.h | 0
lib/{librte_acl => acl}/acl_run_altivec.c | 0
lib/{librte_acl => acl}/acl_run_altivec.h | 0
lib/{librte_acl => acl}/acl_run_avx2.c | 0
lib/{librte_acl => acl}/acl_run_avx2.h | 0
lib/{librte_acl => acl}/acl_run_avx512.c | 0
.../acl_run_avx512_common.h | 0
lib/{librte_acl => acl}/acl_run_avx512x16.h | 0
lib/{librte_acl => acl}/acl_run_avx512x8.h | 0
lib/{librte_acl => acl}/acl_run_neon.c | 0
lib/{librte_acl => acl}/acl_run_neon.h | 0
lib/{librte_acl => acl}/acl_run_scalar.c | 0
lib/{librte_acl => acl}/acl_run_sse.c | 0
lib/{librte_acl => acl}/acl_run_sse.h | 0
lib/{librte_acl => acl}/acl_vect.h | 0
lib/acl/meson.build | 83 ++
lib/{librte_acl => acl}/rte_acl.c | 0
lib/{librte_acl => acl}/rte_acl.h | 0
lib/{librte_acl => acl}/rte_acl_osdep.h | 0
lib/{librte_acl => acl}/tb_mem.c | 0
lib/{librte_acl => acl}/tb_mem.h | 0
lib/{librte_acl => acl}/version.map | 0
lib/{librte_bbdev => bbdev}/meson.build | 4 +-
lib/{librte_bbdev => bbdev}/rte_bbdev.c | 0
lib/{librte_bbdev => bbdev}/rte_bbdev.h | 0
lib/{librte_bbdev => bbdev}/rte_bbdev_op.h | 0
lib/{librte_bbdev => bbdev}/rte_bbdev_pmd.h | 0
lib/{librte_bbdev => bbdev}/version.map | 0
.../meson.build | 0
.../rte_bitrate.c | 0
.../rte_bitrate.h | 0
.../version.map | 0
lib/{librte_bpf => bpf}/bpf.c | 0
lib/{librte_bpf => bpf}/bpf_def.h | 0
lib/{librte_bpf => bpf}/bpf_exec.c | 0
lib/{librte_bpf => bpf}/bpf_impl.h | 0
lib/{librte_bpf => bpf}/bpf_jit_arm64.c | 0
lib/{librte_bpf => bpf}/bpf_jit_x86.c | 0
lib/{librte_bpf => bpf}/bpf_load.c | 0
lib/{librte_bpf => bpf}/bpf_load_elf.c | 0
lib/{librte_bpf => bpf}/bpf_pkt.c | 0
lib/{librte_bpf => bpf}/bpf_validate.c | 0
lib/{librte_bpf => bpf}/meson.build | 22 +-
lib/{librte_bpf => bpf}/rte_bpf.h | 0
lib/{librte_bpf => bpf}/rte_bpf_ethdev.h | 0
lib/{librte_bpf => bpf}/version.map | 0
lib/{librte_cfgfile => cfgfile}/meson.build | 0
lib/{librte_cfgfile => cfgfile}/rte_cfgfile.c | 0
lib/{librte_cfgfile => cfgfile}/rte_cfgfile.h | 0
lib/{librte_cfgfile => cfgfile}/version.map | 0
lib/{librte_cmdline => cmdline}/cmdline.c | 0
lib/{librte_cmdline => cmdline}/cmdline.h | 0
.../cmdline_cirbuf.c | 0
.../cmdline_cirbuf.h | 0
.../cmdline_os_unix.c | 0
.../cmdline_os_windows.c | 0
.../cmdline_parse.c | 0
.../cmdline_parse.h | 0
.../cmdline_parse_etheraddr.c | 0
.../cmdline_parse_etheraddr.h | 0
.../cmdline_parse_ipaddr.c | 0
.../cmdline_parse_ipaddr.h | 0
.../cmdline_parse_num.c | 0
.../cmdline_parse_num.h | 0
.../cmdline_parse_portlist.c | 0
.../cmdline_parse_portlist.h | 0
.../cmdline_parse_string.c | 0
.../cmdline_parse_string.h | 0
.../cmdline_private.h | 0
.../cmdline_rdline.c | 0
.../cmdline_rdline.h | 0
.../cmdline_socket.c | 0
.../cmdline_socket.h | 0
.../cmdline_vt100.c | 0
.../cmdline_vt100.h | 0
lib/cmdline/meson.build | 34 +
lib/{librte_cmdline => cmdline}/version.map | 0
.../meson.build | 10 +-
.../rte_comp.c | 0
.../rte_comp.h | 0
.../rte_compressdev.c | 0
.../rte_compressdev.h | 0
.../rte_compressdev_internal.h | 0
.../rte_compressdev_pmd.c | 0
.../rte_compressdev_pmd.h | 0
.../version.map | 0
.../cryptodev_trace_points.c | 0
.../meson.build | 12 +-
.../rte_crypto.h | 0
.../rte_crypto_asym.h | 0
.../rte_crypto_sym.h | 0
.../rte_cryptodev.c | 0
.../rte_cryptodev.h | 0
.../rte_cryptodev_pmd.c | 0
.../rte_cryptodev_pmd.h | 0
.../rte_cryptodev_trace.h | 0
.../rte_cryptodev_trace_fp.h | 0
.../version.map | 0
.../distributor_private.h | 0
.../meson.build | 4 +-
.../rte_distributor.c | 0
.../rte_distributor.h | 0
.../rte_distributor_match_generic.c | 0
.../rte_distributor_match_sse.c | 0
.../rte_distributor_single.c | 0
.../rte_distributor_single.h | 0
.../version.map | 0
lib/eal/arm/include/meson.build | 33 +
.../arm/include/rte_atomic.h | 0
.../arm/include/rte_atomic_32.h | 0
.../arm/include/rte_atomic_64.h | 0
.../arm/include/rte_byteorder.h | 0
.../arm/include/rte_cpuflags.h | 0
.../arm/include/rte_cpuflags_32.h | 0
.../arm/include/rte_cpuflags_64.h | 0
.../arm/include/rte_cycles.h | 0
.../arm/include/rte_cycles_32.h | 0
.../arm/include/rte_cycles_64.h | 0
lib/{librte_eal => eal}/arm/include/rte_io.h | 0
.../arm/include/rte_io_64.h | 0
.../arm/include/rte_mcslock.h | 0
.../arm/include/rte_memcpy.h | 0
.../arm/include/rte_memcpy_32.h | 0
.../arm/include/rte_memcpy_64.h | 0
.../arm/include/rte_pause.h | 0
.../arm/include/rte_pause_32.h | 0
.../arm/include/rte_pause_64.h | 0
.../arm/include/rte_power_intrinsics.h | 0
.../arm/include/rte_prefetch.h | 0
.../arm/include/rte_prefetch_32.h | 0
.../arm/include/rte_prefetch_64.h | 0
.../arm/include/rte_rwlock.h | 0
.../arm/include/rte_spinlock.h | 0
.../arm/include/rte_ticketlock.h | 0
.../arm/include/rte_vect.h | 0
lib/{librte_eal => eal}/arm/meson.build | 8 +-
lib/{librte_eal => eal}/arm/rte_cpuflags.c | 0
lib/{librte_eal => eal}/arm/rte_cycles.c | 0
lib/{librte_eal => eal}/arm/rte_hypervisor.c | 0
.../arm/rte_power_intrinsics.c | 0
.../common/eal_common_bus.c | 0
.../common/eal_common_class.c | 0
.../common/eal_common_config.c | 0
.../common/eal_common_cpuflags.c | 0
.../common/eal_common_debug.c | 0
.../common/eal_common_dev.c | 0
.../common/eal_common_devargs.c | 0
.../common/eal_common_dynmem.c | 0
.../common/eal_common_errno.c | 0
.../common/eal_common_fbarray.c | 0
.../common/eal_common_hexdump.c | 0
.../common/eal_common_hypervisor.c | 0
.../common/eal_common_launch.c | 0
.../common/eal_common_lcore.c | 0
.../common/eal_common_log.c | 0
.../common/eal_common_mcfg.c | 0
.../common/eal_common_memalloc.c | 0
.../common/eal_common_memory.c | 0
.../common/eal_common_memzone.c | 0
.../common/eal_common_options.c | 0
.../common/eal_common_proc.c | 0
.../common/eal_common_string_fns.c | 0
.../common/eal_common_tailqs.c | 0
.../common/eal_common_thread.c | 0
.../common/eal_common_timer.c | 0
.../common/eal_common_trace.c | 0
.../common/eal_common_trace_ctf.c | 0
.../common/eal_common_trace_points.c | 0
.../common/eal_common_trace_utils.c | 0
.../common/eal_common_uuid.c | 0
.../common/eal_filesystem.h | 0
.../common/eal_hugepages.h | 0
.../common/eal_internal_cfg.h | 0
lib/{librte_eal => eal}/common/eal_memalloc.h | 0
lib/{librte_eal => eal}/common/eal_memcfg.h | 0
lib/{librte_eal => eal}/common/eal_options.h | 0
lib/{librte_eal => eal}/common/eal_private.h | 0
lib/{librte_eal => eal}/common/eal_thread.h | 0
lib/{librte_eal => eal}/common/eal_trace.h | 0
lib/{librte_eal => eal}/common/hotplug_mp.c | 0
lib/{librte_eal => eal}/common/hotplug_mp.h | 0
lib/{librte_eal => eal}/common/malloc_elem.c | 0
lib/{librte_eal => eal}/common/malloc_elem.h | 0
lib/{librte_eal => eal}/common/malloc_heap.c | 0
lib/{librte_eal => eal}/common/malloc_heap.h | 0
lib/{librte_eal => eal}/common/malloc_mp.c | 0
lib/{librte_eal => eal}/common/malloc_mp.h | 0
lib/eal/common/meson.build | 88 ++
.../common/rte_keepalive.c | 0
lib/{librte_eal => eal}/common/rte_malloc.c | 0
lib/{librte_eal => eal}/common/rte_random.c | 0
.../common/rte_reciprocal.c | 0
lib/{librte_eal => eal}/common/rte_service.c | 0
lib/{librte_eal => eal}/common/rte_version.c | 0
lib/{librte_eal => eal}/freebsd/eal.c | 0
lib/{librte_eal => eal}/freebsd/eal_alarm.c | 0
.../freebsd/eal_alarm_private.h | 0
.../freebsd/eal_cpuflags.c | 0
lib/{librte_eal => eal}/freebsd/eal_debug.c | 0
lib/{librte_eal => eal}/freebsd/eal_dev.c | 0
.../freebsd/eal_hugepage_info.c | 0
.../freebsd/eal_interrupts.c | 0
lib/{librte_eal => eal}/freebsd/eal_lcore.c | 0
.../freebsd/eal_memalloc.c | 0
lib/{librte_eal => eal}/freebsd/eal_memory.c | 0
lib/{librte_eal => eal}/freebsd/eal_thread.c | 0
lib/{librte_eal => eal}/freebsd/eal_timer.c | 0
.../freebsd/include/meson.build | 0
.../freebsd/include/rte_os.h | 0
lib/eal/freebsd/meson.build | 21 +
.../include/generic/rte_atomic.h | 0
.../include/generic/rte_byteorder.h | 0
.../include/generic/rte_cpuflags.h | 0
.../include/generic/rte_cycles.h | 0
.../include/generic/rte_io.h | 0
.../include/generic/rte_mcslock.h | 0
.../include/generic/rte_memcpy.h | 0
.../include/generic/rte_pause.h | 0
.../include/generic/rte_power_intrinsics.h | 0
.../include/generic/rte_prefetch.h | 0
.../include/generic/rte_rwlock.h | 0
.../include/generic/rte_spinlock.h | 0
.../include/generic/rte_ticketlock.h | 0
.../include/generic/rte_vect.h | 0
lib/eal/include/meson.build | 70 ++
lib/{librte_eal => eal}/include/rte_alarm.h | 0
lib/{librte_eal => eal}/include/rte_bitmap.h | 0
lib/{librte_eal => eal}/include/rte_bitops.h | 0
.../include/rte_branch_prediction.h | 0
lib/{librte_eal => eal}/include/rte_bus.h | 0
lib/{librte_eal => eal}/include/rte_class.h | 0
lib/{librte_eal => eal}/include/rte_common.h | 0
lib/{librte_eal => eal}/include/rte_compat.h | 0
lib/{librte_eal => eal}/include/rte_debug.h | 0
lib/{librte_eal => eal}/include/rte_dev.h | 0
lib/{librte_eal => eal}/include/rte_devargs.h | 0
lib/{librte_eal => eal}/include/rte_eal.h | 0
.../include/rte_eal_interrupts.h | 0
.../include/rte_eal_memconfig.h | 0
.../include/rte_eal_paging.h | 0
.../include/rte_eal_trace.h | 0
lib/{librte_eal => eal}/include/rte_errno.h | 0
lib/{librte_eal => eal}/include/rte_fbarray.h | 0
.../include/rte_function_versioning.h | 0
lib/{librte_eal => eal}/include/rte_hexdump.h | 0
.../include/rte_hypervisor.h | 0
.../include/rte_interrupts.h | 0
.../include/rte_keepalive.h | 0
lib/{librte_eal => eal}/include/rte_launch.h | 0
lib/{librte_eal => eal}/include/rte_lcore.h | 0
lib/{librte_eal => eal}/include/rte_log.h | 0
lib/{librte_eal => eal}/include/rte_malloc.h | 0
lib/{librte_eal => eal}/include/rte_memory.h | 0
lib/{librte_eal => eal}/include/rte_memzone.h | 0
.../include/rte_pci_dev_feature_defs.h | 0
.../include/rte_pci_dev_features.h | 0
.../include/rte_per_lcore.h | 0
lib/{librte_eal => eal}/include/rte_random.h | 0
.../include/rte_reciprocal.h | 0
lib/{librte_eal => eal}/include/rte_service.h | 0
.../include/rte_service_component.h | 0
.../include/rte_string_fns.h | 0
lib/{librte_eal => eal}/include/rte_tailq.h | 0
lib/{librte_eal => eal}/include/rte_test.h | 0
lib/{librte_eal => eal}/include/rte_thread.h | 0
lib/{librte_eal => eal}/include/rte_time.h | 0
lib/{librte_eal => eal}/include/rte_trace.h | 0
.../include/rte_trace_point.h | 0
.../include/rte_trace_point_register.h | 0
lib/{librte_eal => eal}/include/rte_uuid.h | 0
lib/{librte_eal => eal}/include/rte_version.h | 0
lib/{librte_eal => eal}/include/rte_vfio.h | 0
lib/{librte_eal => eal}/linux/eal.c | 0
lib/{librte_eal => eal}/linux/eal_alarm.c | 0
lib/{librte_eal => eal}/linux/eal_cpuflags.c | 0
lib/{librte_eal => eal}/linux/eal_debug.c | 0
lib/{librte_eal => eal}/linux/eal_dev.c | 0
.../linux/eal_hugepage_info.c | 0
.../linux/eal_interrupts.c | 0
lib/{librte_eal => eal}/linux/eal_lcore.c | 0
lib/{librte_eal => eal}/linux/eal_log.c | 0
lib/{librte_eal => eal}/linux/eal_memalloc.c | 0
lib/{librte_eal => eal}/linux/eal_memory.c | 0
lib/{librte_eal => eal}/linux/eal_thread.c | 0
lib/{librte_eal => eal}/linux/eal_timer.c | 0
lib/{librte_eal => eal}/linux/eal_vfio.c | 0
lib/{librte_eal => eal}/linux/eal_vfio.h | 0
.../linux/eal_vfio_mp_sync.c | 0
.../linux/include/meson.build | 0
.../linux/include/rte_os.h | 0
lib/eal/linux/meson.build | 27 +
lib/{librte_eal => eal}/meson.build | 8 +-
lib/eal/ppc/include/meson.build | 21 +
.../ppc/include/rte_altivec.h | 0
.../ppc/include/rte_atomic.h | 0
.../ppc/include/rte_byteorder.h | 0
.../ppc/include/rte_cpuflags.h | 0
.../ppc/include/rte_cycles.h | 0
lib/{librte_eal => eal}/ppc/include/rte_io.h | 0
.../ppc/include/rte_mcslock.h | 0
.../ppc/include/rte_memcpy.h | 0
.../ppc/include/rte_pause.h | 0
.../ppc/include/rte_power_intrinsics.h | 0
.../ppc/include/rte_prefetch.h | 0
.../ppc/include/rte_rwlock.h | 0
.../ppc/include/rte_spinlock.h | 0
.../ppc/include/rte_ticketlock.h | 0
.../ppc/include/rte_vect.h | 0
lib/{librte_eal => eal}/ppc/meson.build | 8 +-
lib/{librte_eal => eal}/ppc/rte_cpuflags.c | 0
lib/{librte_eal => eal}/ppc/rte_cycles.c | 0
lib/{librte_eal => eal}/ppc/rte_hypervisor.c | 0
.../ppc/rte_power_intrinsics.c | 0
lib/{librte_eal => eal}/rte_eal_exports.def | 0
lib/{librte_eal => eal}/unix/eal_file.c | 0
.../unix/eal_unix_memory.c | 0
lib/{librte_eal => eal}/unix/eal_unix_timer.c | 0
lib/{librte_eal => eal}/unix/meson.build | 8 +-
lib/{librte_eal => eal}/unix/rte_thread.c | 0
lib/{librte_eal => eal}/version.map | 0
lib/{librte_eal => eal}/windows/eal.c | 0
lib/{librte_eal => eal}/windows/eal_alarm.c | 0
lib/{librte_eal => eal}/windows/eal_debug.c | 0
lib/{librte_eal => eal}/windows/eal_file.c | 0
.../windows/eal_hugepages.c | 0
.../windows/eal_interrupts.c | 0
lib/{librte_eal => eal}/windows/eal_lcore.c | 0
lib/{librte_eal => eal}/windows/eal_log.c | 0
.../windows/eal_memalloc.c | 0
lib/{librte_eal => eal}/windows/eal_memory.c | 0
lib/{librte_eal => eal}/windows/eal_mp.c | 0
lib/{librte_eal => eal}/windows/eal_thread.c | 0
lib/{librte_eal => eal}/windows/eal_timer.c | 0
lib/{librte_eal => eal}/windows/eal_windows.h | 0
lib/{librte_eal => eal}/windows/fnmatch.c | 0
lib/{librte_eal => eal}/windows/getopt.c | 0
.../windows/include/arpa/inet.h | 0
.../windows/include/dirent.h | 0
.../windows/include/fnmatch.h | 0
.../windows/include/getopt.h | 0
.../windows/include/meson.build | 0
.../windows/include/netinet/in.h | 0
.../windows/include/netinet/ip.h | 0
.../windows/include/pthread.h | 0
.../windows/include/regex.h | 0
.../windows/include/rte_os.h | 0
.../windows/include/rte_virt2phys.h | 0
.../windows/include/rte_windows.h | 0
.../windows/include/sched.h | 0
.../windows/include/sys/queue.h | 0
.../windows/include/sys/socket.h | 0
.../windows/include/unistd.h | 0
lib/eal/windows/meson.build | 25 +
lib/{librte_eal => eal}/windows/rte_thread.c | 0
lib/eal/x86/include/meson.build | 29 +
.../x86/include/rte_atomic.h | 0
.../x86/include/rte_atomic_32.h | 0
.../x86/include/rte_atomic_64.h | 0
.../x86/include/rte_byteorder.h | 0
.../x86/include/rte_byteorder_32.h | 0
.../x86/include/rte_byteorder_64.h | 0
.../x86/include/rte_cpuflags.h | 0
.../x86/include/rte_cycles.h | 0
lib/{librte_eal => eal}/x86/include/rte_io.h | 0
.../x86/include/rte_mcslock.h | 0
.../x86/include/rte_memcpy.h | 0
.../x86/include/rte_pause.h | 0
.../x86/include/rte_power_intrinsics.h | 0
.../x86/include/rte_prefetch.h | 0
lib/{librte_eal => eal}/x86/include/rte_rtm.h | 0
.../x86/include/rte_rwlock.h | 0
.../x86/include/rte_spinlock.h | 0
.../x86/include/rte_ticketlock.h | 0
.../x86/include/rte_vect.h | 0
lib/{librte_eal => eal}/x86/meson.build | 10 +-
lib/{librte_eal => eal}/x86/rte_cpuflags.c | 0
lib/{librte_eal => eal}/x86/rte_cpuid.h | 0
lib/{librte_eal => eal}/x86/rte_cycles.c | 0
lib/{librte_eal => eal}/x86/rte_hypervisor.c | 0
.../x86/rte_power_intrinsics.c | 0
lib/{librte_eal => eal}/x86/rte_spinlock.c | 0
lib/{librte_efd => efd}/meson.build | 0
lib/{librte_efd => efd}/rte_efd.c | 0
lib/{librte_efd => efd}/rte_efd.h | 0
lib/{librte_efd => efd}/rte_efd_arm64.h | 0
lib/{librte_efd => efd}/rte_efd_x86.h | 0
lib/{librte_efd => efd}/version.map | 0
lib/{librte_ethdev => ethdev}/ethdev_driver.h | 0
lib/{librte_ethdev => ethdev}/ethdev_pci.h | 0
.../ethdev_private.c | 0
.../ethdev_private.h | 0
.../ethdev_profile.c | 0
.../ethdev_profile.h | 0
.../ethdev_trace_points.c | 0
lib/{librte_ethdev => ethdev}/ethdev_vdev.h | 0
lib/ethdev/meson.build | 27 +
lib/{librte_ethdev => ethdev}/rte_class_eth.c | 0
lib/{librte_ethdev => ethdev}/rte_dev_info.h | 0
lib/{librte_ethdev => ethdev}/rte_eth_ctrl.h | 0
lib/{librte_ethdev => ethdev}/rte_ethdev.c | 0
lib/{librte_ethdev => ethdev}/rte_ethdev.h | 0
.../rte_ethdev_core.h | 0
.../rte_ethdev_trace.h | 0
.../rte_ethdev_trace_fp.h | 0
lib/{librte_ethdev => ethdev}/rte_flow.c | 0
lib/{librte_ethdev => ethdev}/rte_flow.h | 0
.../rte_flow_driver.h | 0
lib/{librte_ethdev => ethdev}/rte_mtr.c | 0
lib/{librte_ethdev => ethdev}/rte_mtr.h | 0
.../rte_mtr_driver.h | 0
lib/{librte_ethdev => ethdev}/rte_tm.c | 0
lib/{librte_ethdev => ethdev}/rte_tm.h | 0
lib/{librte_ethdev => ethdev}/rte_tm_driver.h | 0
lib/{librte_ethdev => ethdev}/version.map | 0
.../eventdev_pmd.h | 0
.../eventdev_pmd_pci.h | 0
.../eventdev_pmd_vdev.h | 0
.../eventdev_trace_points.c | 0
lib/eventdev/meson.build | 27 +
.../rte_event_crypto_adapter.c | 0
.../rte_event_crypto_adapter.h | 0
.../rte_event_eth_rx_adapter.c | 0
.../rte_event_eth_rx_adapter.h | 0
.../rte_event_eth_tx_adapter.c | 0
.../rte_event_eth_tx_adapter.h | 0
.../rte_event_ring.c | 0
.../rte_event_ring.h | 0
.../rte_event_timer_adapter.c | 0
.../rte_event_timer_adapter.h | 0
.../rte_event_timer_adapter_pmd.h | 0
.../rte_eventdev.c | 0
.../rte_eventdev.h | 0
.../rte_eventdev_trace.h | 0
.../rte_eventdev_trace_fp.h | 0
lib/{librte_eventdev => eventdev}/version.map | 0
lib/{librte_fib => fib}/dir24_8.c | 0
lib/{librte_fib => fib}/dir24_8.h | 0
lib/{librte_fib => fib}/dir24_8_avx512.c | 0
lib/{librte_fib => fib}/dir24_8_avx512.h | 0
lib/fib/meson.build | 58 ++
lib/{librte_fib => fib}/rte_fib.c | 0
lib/{librte_fib => fib}/rte_fib.h | 0
lib/{librte_fib => fib}/rte_fib6.c | 0
lib/{librte_fib => fib}/rte_fib6.h | 0
lib/{librte_fib => fib}/trie.c | 0
lib/{librte_fib => fib}/trie.h | 0
lib/{librte_fib => fib}/trie_avx512.c | 0
lib/{librte_fib => fib}/trie_avx512.h | 0
lib/{librte_fib => fib}/version.map | 0
.../meson.build | 0
.../rte_flow_classify.c | 0
.../rte_flow_classify.h | 0
.../rte_flow_classify_parse.c | 0
.../rte_flow_classify_parse.h | 0
.../version.map | 0
lib/{librte_graph => graph}/graph.c | 0
lib/{librte_graph => graph}/graph_debug.c | 0
lib/{librte_graph => graph}/graph_ops.c | 0
lib/{librte_graph => graph}/graph_populate.c | 0
lib/{librte_graph => graph}/graph_private.h | 0
lib/{librte_graph => graph}/graph_stats.c | 0
lib/{librte_graph => graph}/meson.build | 0
lib/{librte_graph => graph}/node.c | 0
lib/{librte_graph => graph}/rte_graph.h | 0
.../rte_graph_worker.h | 0
lib/{librte_graph => graph}/version.map | 0
lib/{librte_gro => gro}/gro_tcp4.c | 0
lib/{librte_gro => gro}/gro_tcp4.h | 0
lib/{librte_gro => gro}/gro_udp4.c | 0
lib/{librte_gro => gro}/gro_udp4.h | 0
lib/{librte_gro => gro}/gro_vxlan_tcp4.c | 0
lib/{librte_gro => gro}/gro_vxlan_tcp4.h | 0
lib/{librte_gro => gro}/gro_vxlan_udp4.c | 0
lib/{librte_gro => gro}/gro_vxlan_udp4.h | 0
lib/{librte_gro => gro}/meson.build | 0
lib/{librte_gro => gro}/rte_gro.c | 0
lib/{librte_gro => gro}/rte_gro.h | 0
lib/{librte_gro => gro}/version.map | 0
lib/{librte_gso => gso}/gso_common.c | 0
lib/{librte_gso => gso}/gso_common.h | 0
lib/{librte_gso => gso}/gso_tcp4.c | 0
lib/{librte_gso => gso}/gso_tcp4.h | 0
lib/{librte_gso => gso}/gso_tunnel_tcp4.c | 0
lib/{librte_gso => gso}/gso_tunnel_tcp4.h | 0
lib/{librte_gso => gso}/gso_tunnel_udp4.c | 0
lib/{librte_gso => gso}/gso_tunnel_udp4.h | 0
lib/{librte_gso => gso}/gso_udp4.c | 0
lib/{librte_gso => gso}/gso_udp4.h | 0
lib/{librte_gso => gso}/meson.build | 2 +-
lib/{librte_gso => gso}/rte_gso.c | 0
lib/{librte_gso => gso}/rte_gso.h | 0
lib/{librte_gso => gso}/version.map | 0
lib/{librte_hash => hash}/meson.build | 8 +-
lib/{librte_hash => hash}/rte_cmp_arm64.h | 0
lib/{librte_hash => hash}/rte_cmp_x86.h | 0
lib/{librte_hash => hash}/rte_crc_arm64.h | 0
lib/{librte_hash => hash}/rte_cuckoo_hash.c | 0
lib/{librte_hash => hash}/rte_cuckoo_hash.h | 0
lib/{librte_hash => hash}/rte_fbk_hash.c | 0
lib/{librte_hash => hash}/rte_fbk_hash.h | 0
lib/{librte_hash => hash}/rte_hash.h | 0
lib/{librte_hash => hash}/rte_hash_crc.h | 0
lib/{librte_hash => hash}/rte_jhash.h | 0
lib/{librte_hash => hash}/rte_thash.h | 0
lib/{librte_hash => hash}/version.map | 0
.../ip_frag_common.h | 0
.../ip_frag_internal.c | 0
lib/{librte_ip_frag => ip_frag}/meson.build | 10 +-
lib/{librte_ip_frag => ip_frag}/rte_ip_frag.h | 0
.../rte_ip_frag_common.c | 0
.../rte_ipv4_fragmentation.c | 0
.../rte_ipv4_reassembly.c | 0
.../rte_ipv6_fragmentation.c | 0
.../rte_ipv6_reassembly.c | 0
lib/{librte_ip_frag => ip_frag}/version.map | 0
lib/{librte_ipsec => ipsec}/crypto.h | 0
lib/{librte_ipsec => ipsec}/esp_inb.c | 0
lib/{librte_ipsec => ipsec}/esp_outb.c | 0
lib/{librte_ipsec => ipsec}/iph.h | 0
lib/{librte_ipsec => ipsec}/ipsec_sad.c | 0
lib/{librte_ipsec => ipsec}/ipsec_sqn.h | 0
lib/{librte_ipsec => ipsec}/meson.build | 0
lib/{librte_ipsec => ipsec}/misc.h | 0
lib/{librte_ipsec => ipsec}/pad.h | 0
lib/{librte_ipsec => ipsec}/rte_ipsec.h | 0
lib/{librte_ipsec => ipsec}/rte_ipsec_group.h | 0
lib/{librte_ipsec => ipsec}/rte_ipsec_sa.h | 0
lib/{librte_ipsec => ipsec}/rte_ipsec_sad.h | 0
lib/{librte_ipsec => ipsec}/sa.c | 0
lib/{librte_ipsec => ipsec}/sa.h | 0
lib/{librte_ipsec => ipsec}/ses.c | 0
lib/{librte_ipsec => ipsec}/version.map | 0
lib/{librte_jobstats => jobstats}/meson.build | 0
.../rte_jobstats.c | 0
.../rte_jobstats.h | 0
lib/{librte_jobstats => jobstats}/version.map | 0
lib/{librte_kni => kni}/meson.build | 4 +-
lib/{librte_kni => kni}/rte_kni.c | 0
lib/{librte_kni => kni}/rte_kni.h | 0
lib/{librte_kni => kni}/rte_kni_common.h | 0
lib/{librte_kni => kni}/rte_kni_fifo.h | 0
lib/{librte_kni => kni}/version.map | 0
lib/{librte_kvargs => kvargs}/meson.build | 0
lib/{librte_kvargs => kvargs}/rte_kvargs.c | 0
lib/{librte_kvargs => kvargs}/rte_kvargs.h | 0
lib/{librte_kvargs => kvargs}/version.map | 0
.../meson.build | 0
.../rte_latencystats.c | 0
.../rte_latencystats.h | 0
.../version.map | 0
lib/librte_acl/meson.build | 83 --
lib/librte_cmdline/meson.build | 34 -
lib/librte_eal/arm/include/meson.build | 33 -
lib/librte_eal/common/meson.build | 88 --
lib/librte_eal/freebsd/meson.build | 21 -
lib/librte_eal/include/meson.build | 70 --
lib/librte_eal/linux/meson.build | 27 -
lib/librte_eal/ppc/include/meson.build | 21 -
lib/librte_eal/windows/meson.build | 25 -
lib/librte_eal/x86/include/meson.build | 29 -
lib/librte_ethdev/meson.build | 27 -
lib/librte_eventdev/meson.build | 27 -
lib/librte_fib/meson.build | 58 --
lib/librte_net/meson.build | 110 ---
lib/librte_pipeline/meson.build | 16 -
lib/librte_port/meson.build | 46 -
lib/librte_power/meson.build | 17 -
lib/librte_ring/meson.build | 19 -
lib/librte_table/meson.build | 36 -
lib/{librte_lpm => lpm}/meson.build | 0
lib/{librte_lpm => lpm}/rte_lpm.c | 0
lib/{librte_lpm => lpm}/rte_lpm.h | 0
lib/{librte_lpm => lpm}/rte_lpm6.c | 0
lib/{librte_lpm => lpm}/rte_lpm6.h | 0
lib/{librte_lpm => lpm}/rte_lpm_altivec.h | 0
lib/{librte_lpm => lpm}/rte_lpm_neon.h | 0
lib/{librte_lpm => lpm}/rte_lpm_sse.h | 0
lib/{librte_lpm => lpm}/rte_lpm_sve.h | 0
lib/{librte_lpm => lpm}/version.map | 0
lib/{librte_mbuf => mbuf}/meson.build | 6 +-
lib/{librte_mbuf => mbuf}/rte_mbuf.c | 0
lib/{librte_mbuf => mbuf}/rte_mbuf.h | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_core.h | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_dyn.c | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_dyn.h | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_pool_ops.c | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_pool_ops.h | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_ptype.c | 0
lib/{librte_mbuf => mbuf}/rte_mbuf_ptype.h | 0
lib/{librte_mbuf => mbuf}/version.map | 0
lib/{librte_member => member}/meson.build | 0
lib/{librte_member => member}/rte_member.c | 0
lib/{librte_member => member}/rte_member.h | 0
lib/{librte_member => member}/rte_member_ht.c | 0
lib/{librte_member => member}/rte_member_ht.h | 0
.../rte_member_vbf.c | 0
.../rte_member_vbf.h | 0
.../rte_member_x86.h | 0
lib/{librte_member => member}/version.map | 0
.../mempool_trace_points.c | 0
lib/{librte_mempool => mempool}/meson.build | 10 +-
lib/{librte_mempool => mempool}/rte_mempool.c | 0
lib/{librte_mempool => mempool}/rte_mempool.h | 0
.../rte_mempool_ops.c | 0
.../rte_mempool_ops_default.c | 0
.../rte_mempool_trace.h | 0
.../rte_mempool_trace_fp.h | 0
lib/{librte_mempool => mempool}/version.map | 0
lib/meson.build | 387 +++++----
lib/{librte_meter => meter}/meson.build | 0
lib/{librte_meter => meter}/rte_meter.c | 0
lib/{librte_meter => meter}/rte_meter.h | 0
lib/{librte_meter => meter}/version.map | 0
lib/{librte_metrics => metrics}/meson.build | 4 +-
lib/{librte_metrics => metrics}/rte_metrics.c | 0
lib/{librte_metrics => metrics}/rte_metrics.h | 0
.../rte_metrics_telemetry.c | 0
.../rte_metrics_telemetry.h | 0
lib/{librte_metrics => metrics}/version.map | 0
lib/net/meson.build | 110 +++
lib/{librte_net => net}/net_crc.h | 0
lib/{librte_net => net}/net_crc_avx512.c | 0
lib/{librte_net => net}/net_crc_neon.c | 0
lib/{librte_net => net}/net_crc_sse.c | 0
lib/{librte_net => net}/rte_arp.c | 0
lib/{librte_net => net}/rte_arp.h | 0
lib/{librte_net => net}/rte_ecpri.h | 0
lib/{librte_net => net}/rte_esp.h | 0
lib/{librte_net => net}/rte_ether.c | 0
lib/{librte_net => net}/rte_ether.h | 0
lib/{librte_net => net}/rte_geneve.h | 0
lib/{librte_net => net}/rte_gre.h | 0
lib/{librte_net => net}/rte_gtp.h | 0
lib/{librte_net => net}/rte_higig.h | 0
lib/{librte_net => net}/rte_icmp.h | 0
lib/{librte_net => net}/rte_ip.h | 0
lib/{librte_net => net}/rte_mpls.h | 0
lib/{librte_net => net}/rte_net.c | 0
lib/{librte_net => net}/rte_net.h | 0
lib/{librte_net => net}/rte_net_crc.c | 0
lib/{librte_net => net}/rte_net_crc.h | 0
lib/{librte_net => net}/rte_sctp.h | 0
lib/{librte_net => net}/rte_tcp.h | 0
lib/{librte_net => net}/rte_udp.h | 0
lib/{librte_net => net}/rte_vxlan.h | 0
lib/{librte_net => net}/version.map | 0
lib/{librte_node => node}/ethdev_ctrl.c | 0
lib/{librte_node => node}/ethdev_rx.c | 0
lib/{librte_node => node}/ethdev_rx_priv.h | 0
lib/{librte_node => node}/ethdev_tx.c | 0
lib/{librte_node => node}/ethdev_tx_priv.h | 0
lib/{librte_node => node}/ip4_lookup.c | 0
lib/{librte_node => node}/ip4_lookup_neon.h | 0
lib/{librte_node => node}/ip4_lookup_sse.h | 0
lib/{librte_node => node}/ip4_rewrite.c | 0
lib/{librte_node => node}/ip4_rewrite_priv.h | 0
lib/{librte_node => node}/log.c | 0
lib/{librte_node => node}/meson.build | 2 +-
lib/{librte_node => node}/node_private.h | 0
lib/{librte_node => node}/null.c | 0
lib/{librte_node => node}/pkt_cls.c | 0
lib/{librte_node => node}/pkt_cls_priv.h | 0
lib/{librte_node => node}/pkt_drop.c | 0
lib/{librte_node => node}/rte_node_eth_api.h | 0
lib/{librte_node => node}/rte_node_ip4_api.h | 0
lib/{librte_node => node}/version.map | 0
lib/{librte_pci => pci}/meson.build | 0
lib/{librte_pci => pci}/rte_pci.c | 0
lib/{librte_pci => pci}/rte_pci.h | 0
lib/{librte_pci => pci}/version.map | 0
lib/{librte_pdump => pdump}/meson.build | 0
lib/{librte_pdump => pdump}/rte_pdump.c | 0
lib/{librte_pdump => pdump}/rte_pdump.h | 0
lib/{librte_pdump => pdump}/version.map | 0
lib/pipeline/meson.build | 16 +
.../rte_pipeline.c | 0
.../rte_pipeline.h | 0
.../rte_port_in_action.c | 0
.../rte_port_in_action.h | 0
.../rte_swx_ctl.c | 0
.../rte_swx_ctl.h | 0
.../rte_swx_extern.h | 0
.../rte_swx_pipeline.c | 0
.../rte_swx_pipeline.h | 0
.../rte_swx_pipeline_spec.c | 0
.../rte_table_action.c | 0
.../rte_table_action.h | 0
lib/{librte_pipeline => pipeline}/version.map | 0
lib/port/meson.build | 46 +
lib/{librte_port => port}/rte_port.h | 0
lib/{librte_port => port}/rte_port_ethdev.c | 0
lib/{librte_port => port}/rte_port_ethdev.h | 0
lib/{librte_port => port}/rte_port_eventdev.c | 0
lib/{librte_port => port}/rte_port_eventdev.h | 0
lib/{librte_port => port}/rte_port_fd.c | 0
lib/{librte_port => port}/rte_port_fd.h | 0
lib/{librte_port => port}/rte_port_frag.c | 0
lib/{librte_port => port}/rte_port_frag.h | 0
lib/{librte_port => port}/rte_port_kni.c | 0
lib/{librte_port => port}/rte_port_kni.h | 0
lib/{librte_port => port}/rte_port_ras.c | 0
lib/{librte_port => port}/rte_port_ras.h | 0
lib/{librte_port => port}/rte_port_ring.c | 0
lib/{librte_port => port}/rte_port_ring.h | 0
lib/{librte_port => port}/rte_port_sched.c | 0
lib/{librte_port => port}/rte_port_sched.h | 0
.../rte_port_source_sink.c | 0
.../rte_port_source_sink.h | 0
.../rte_port_sym_crypto.c | 0
.../rte_port_sym_crypto.h | 0
lib/{librte_port => port}/rte_swx_port.h | 0
.../rte_swx_port_ethdev.c | 0
.../rte_swx_port_ethdev.h | 0
lib/{librte_port => port}/rte_swx_port_fd.c | 0
lib/{librte_port => port}/rte_swx_port_fd.h | 0
lib/{librte_port => port}/rte_swx_port_ring.c | 0
lib/{librte_port => port}/rte_swx_port_ring.h | 0
.../rte_swx_port_source_sink.c | 0
.../rte_swx_port_source_sink.h | 0
lib/{librte_port => port}/version.map | 0
lib/{librte_power => power}/guest_channel.c | 0
lib/{librte_power => power}/guest_channel.h | 0
lib/power/meson.build | 17 +
.../power_acpi_cpufreq.c | 0
.../power_acpi_cpufreq.h | 0
lib/{librte_power => power}/power_common.c | 0
lib/{librte_power => power}/power_common.h | 0
lib/{librte_power => power}/power_kvm_vm.c | 0
lib/{librte_power => power}/power_kvm_vm.h | 0
.../power_pstate_cpufreq.c | 0
.../power_pstate_cpufreq.h | 0
lib/{librte_power => power}/rte_power.c | 0
lib/{librte_power => power}/rte_power.h | 0
.../rte_power_empty_poll.c | 0
.../rte_power_empty_poll.h | 0
.../rte_power_guest_channel.h | 0
.../rte_power_pmd_mgmt.c | 0
.../rte_power_pmd_mgmt.h | 0
lib/{librte_power => power}/version.map | 0
lib/{librte_rawdev => rawdev}/meson.build | 0
lib/{librte_rawdev => rawdev}/rte_rawdev.c | 0
lib/{librte_rawdev => rawdev}/rte_rawdev.h | 0
.../rte_rawdev_pmd.h | 0
lib/{librte_rawdev => rawdev}/version.map | 0
lib/{librte_rcu => rcu}/meson.build | 0
lib/{librte_rcu => rcu}/rcu_qsbr_pvt.h | 0
lib/{librte_rcu => rcu}/rte_rcu_qsbr.c | 0
lib/{librte_rcu => rcu}/rte_rcu_qsbr.h | 0
lib/{librte_rcu => rcu}/version.map | 0
lib/{librte_regexdev => regexdev}/meson.build | 2 +-
.../rte_regexdev.c | 0
.../rte_regexdev.h | 0
.../rte_regexdev_core.h | 0
.../rte_regexdev_driver.h | 0
lib/{librte_regexdev => regexdev}/version.map | 0
lib/{librte_reorder => reorder}/meson.build | 0
lib/{librte_reorder => reorder}/rte_reorder.c | 0
lib/{librte_reorder => reorder}/rte_reorder.h | 0
lib/{librte_reorder => reorder}/version.map | 0
lib/{librte_rib => rib}/meson.build | 0
lib/{librte_rib => rib}/rte_rib.c | 0
lib/{librte_rib => rib}/rte_rib.h | 0
lib/{librte_rib => rib}/rte_rib6.c | 0
lib/{librte_rib => rib}/rte_rib6.h | 0
lib/{librte_rib => rib}/version.map | 0
lib/ring/meson.build | 19 +
lib/{librte_ring => ring}/rte_ring.c | 0
lib/{librte_ring => ring}/rte_ring.h | 0
lib/{librte_ring => ring}/rte_ring_c11_pvt.h | 0
lib/{librte_ring => ring}/rte_ring_core.h | 0
lib/{librte_ring => ring}/rte_ring_elem.h | 0
lib/{librte_ring => ring}/rte_ring_elem_pvt.h | 0
.../rte_ring_generic_pvt.h | 0
lib/{librte_ring => ring}/rte_ring_hts.h | 0
.../rte_ring_hts_elem_pvt.h | 0
lib/{librte_ring => ring}/rte_ring_peek.h | 0
.../rte_ring_peek_elem_pvt.h | 0
lib/{librte_ring => ring}/rte_ring_peek_zc.h | 0
lib/{librte_ring => ring}/rte_ring_rts.h | 0
.../rte_ring_rts_elem_pvt.h | 0
lib/{librte_ring => ring}/version.map | 0
lib/{librte_sched => sched}/meson.build | 2 +-
lib/{librte_sched => sched}/rte_approx.c | 0
lib/{librte_sched => sched}/rte_approx.h | 0
lib/{librte_sched => sched}/rte_red.c | 0
lib/{librte_sched => sched}/rte_red.h | 0
lib/{librte_sched => sched}/rte_sched.c | 0
lib/{librte_sched => sched}/rte_sched.h | 0
.../rte_sched_common.h | 0
lib/{librte_sched => sched}/version.map | 0
lib/{librte_security => security}/meson.build | 0
.../rte_security.c | 0
.../rte_security.h | 0
.../rte_security_driver.h | 0
lib/{librte_security => security}/version.map | 0
lib/{librte_stack => stack}/meson.build | 8 +-
lib/{librte_stack => stack}/rte_stack.c | 0
lib/{librte_stack => stack}/rte_stack.h | 0
lib/{librte_stack => stack}/rte_stack_lf.c | 0
lib/{librte_stack => stack}/rte_stack_lf.h | 0
.../rte_stack_lf_c11.h | 0
.../rte_stack_lf_generic.h | 0
.../rte_stack_lf_stubs.h | 0
lib/{librte_stack => stack}/rte_stack_std.c | 0
lib/{librte_stack => stack}/rte_stack_std.h | 0
lib/{librte_stack => stack}/stack_pvt.h | 0
lib/{librte_stack => stack}/version.map | 0
lib/table/meson.build | 36 +
lib/{librte_table => table}/rte_lru.h | 0
lib/{librte_table => table}/rte_lru_arm64.h | 0
lib/{librte_table => table}/rte_lru_x86.h | 0
lib/{librte_table => table}/rte_swx_table.h | 0
.../rte_swx_table_em.c | 0
.../rte_swx_table_em.h | 0
.../rte_swx_table_wm.c | 0
.../rte_swx_table_wm.h | 0
lib/{librte_table => table}/rte_table.h | 0
lib/{librte_table => table}/rte_table_acl.c | 0
lib/{librte_table => table}/rte_table_acl.h | 0
lib/{librte_table => table}/rte_table_array.c | 0
lib/{librte_table => table}/rte_table_array.h | 0
lib/{librte_table => table}/rte_table_hash.h | 0
.../rte_table_hash_cuckoo.c | 0
.../rte_table_hash_cuckoo.h | 0
.../rte_table_hash_ext.c | 0
.../rte_table_hash_func.h | 0
.../rte_table_hash_func_arm64.h | 0
.../rte_table_hash_key16.c | 0
.../rte_table_hash_key32.c | 0
.../rte_table_hash_key8.c | 0
.../rte_table_hash_lru.c | 0
lib/{librte_table => table}/rte_table_lpm.c | 0
lib/{librte_table => table}/rte_table_lpm.h | 0
.../rte_table_lpm_ipv6.c | 0
.../rte_table_lpm_ipv6.h | 0
lib/{librte_table => table}/rte_table_stub.c | 0
lib/{librte_table => table}/rte_table_stub.h | 0
lib/{librte_table => table}/version.map | 0
.../meson.build | 2 +-
.../rte_telemetry.h | 0
.../telemetry.c | 0
.../telemetry_data.c | 0
.../telemetry_data.h | 0
.../telemetry_internal.h | 0
.../telemetry_json.h | 0
.../telemetry_legacy.c | 0
.../version.map | 0
lib/{librte_timer => timer}/meson.build | 0
lib/{librte_timer => timer}/rte_timer.c | 0
lib/{librte_timer => timer}/rte_timer.h | 0
lib/{librte_timer => timer}/version.map | 0
lib/{librte_vhost => vhost}/fd_man.c | 0
lib/{librte_vhost => vhost}/fd_man.h | 0
lib/{librte_vhost => vhost}/iotlb.c | 0
lib/{librte_vhost => vhost}/iotlb.h | 0
lib/{librte_vhost => vhost}/meson.build | 20 +-
lib/{librte_vhost => vhost}/rte_vdpa.h | 0
lib/{librte_vhost => vhost}/rte_vdpa_dev.h | 0
lib/{librte_vhost => vhost}/rte_vhost.h | 0
lib/{librte_vhost => vhost}/rte_vhost_async.h | 0
.../rte_vhost_crypto.h | 0
lib/{librte_vhost => vhost}/socket.c | 0
lib/{librte_vhost => vhost}/vdpa.c | 0
lib/{librte_vhost => vhost}/version.map | 0
lib/{librte_vhost => vhost}/vhost.c | 0
lib/{librte_vhost => vhost}/vhost.h | 0
lib/{librte_vhost => vhost}/vhost_crypto.c | 0
lib/{librte_vhost => vhost}/vhost_user.c | 0
lib/{librte_vhost => vhost}/vhost_user.h | 0
lib/{librte_vhost => vhost}/virtio_crypto.h | 0
lib/{librte_vhost => vhost}/virtio_net.c | 0
license/exceptions.txt | 6 +-
meson.build | 82 +-
meson_options.txt | 36 +-
usertools/meson.build | 8 +-
1110 files changed, 4738 insertions(+), 4688 deletions(-)
rename lib/{librte_acl => acl}/acl.h (100%)
rename lib/{librte_acl => acl}/acl_bld.c (100%)
rename lib/{librte_acl => acl}/acl_gen.c (100%)
rename lib/{librte_acl => acl}/acl_run.h (100%)
rename lib/{librte_acl => acl}/acl_run_altivec.c (100%)
rename lib/{librte_acl => acl}/acl_run_altivec.h (100%)
rename lib/{librte_acl => acl}/acl_run_avx2.c (100%)
rename lib/{librte_acl => acl}/acl_run_avx2.h (100%)
rename lib/{librte_acl => acl}/acl_run_avx512.c (100%)
rename lib/{librte_acl => acl}/acl_run_avx512_common.h (100%)
rename lib/{librte_acl => acl}/acl_run_avx512x16.h (100%)
rename lib/{librte_acl => acl}/acl_run_avx512x8.h (100%)
rename lib/{librte_acl => acl}/acl_run_neon.c (100%)
rename lib/{librte_acl => acl}/acl_run_neon.h (100%)
rename lib/{librte_acl => acl}/acl_run_scalar.c (100%)
rename lib/{librte_acl => acl}/acl_run_sse.c (100%)
rename lib/{librte_acl => acl}/acl_run_sse.h (100%)
rename lib/{librte_acl => acl}/acl_vect.h (100%)
create mode 100644 lib/acl/meson.build
rename lib/{librte_acl => acl}/rte_acl.c (100%)
rename lib/{librte_acl => acl}/rte_acl.h (100%)
rename lib/{librte_acl => acl}/rte_acl_osdep.h (100%)
rename lib/{librte_acl => acl}/tb_mem.c (100%)
rename lib/{librte_acl => acl}/tb_mem.h (100%)
rename lib/{librte_acl => acl}/version.map (100%)
rename lib/{librte_bbdev => bbdev}/meson.build (74%)
rename lib/{librte_bbdev => bbdev}/rte_bbdev.c (100%)
rename lib/{librte_bbdev => bbdev}/rte_bbdev.h (100%)
rename lib/{librte_bbdev => bbdev}/rte_bbdev_op.h (100%)
rename lib/{librte_bbdev => bbdev}/rte_bbdev_pmd.h (100%)
rename lib/{librte_bbdev => bbdev}/version.map (100%)
rename lib/{librte_bitratestats => bitratestats}/meson.build (100%)
rename lib/{librte_bitratestats => bitratestats}/rte_bitrate.c (100%)
rename lib/{librte_bitratestats => bitratestats}/rte_bitrate.h (100%)
rename lib/{librte_bitratestats => bitratestats}/version.map (100%)
rename lib/{librte_bpf => bpf}/bpf.c (100%)
rename lib/{librte_bpf => bpf}/bpf_def.h (100%)
rename lib/{librte_bpf => bpf}/bpf_exec.c (100%)
rename lib/{librte_bpf => bpf}/bpf_impl.h (100%)
rename lib/{librte_bpf => bpf}/bpf_jit_arm64.c (100%)
rename lib/{librte_bpf => bpf}/bpf_jit_x86.c (100%)
rename lib/{librte_bpf => bpf}/bpf_load.c (100%)
rename lib/{librte_bpf => bpf}/bpf_load_elf.c (100%)
rename lib/{librte_bpf => bpf}/bpf_pkt.c (100%)
rename lib/{librte_bpf => bpf}/bpf_validate.c (100%)
rename lib/{librte_bpf => bpf}/meson.build (52%)
rename lib/{librte_bpf => bpf}/rte_bpf.h (100%)
rename lib/{librte_bpf => bpf}/rte_bpf_ethdev.h (100%)
rename lib/{librte_bpf => bpf}/version.map (100%)
rename lib/{librte_cfgfile => cfgfile}/meson.build (100%)
rename lib/{librte_cfgfile => cfgfile}/rte_cfgfile.c (100%)
rename lib/{librte_cfgfile => cfgfile}/rte_cfgfile.h (100%)
rename lib/{librte_cfgfile => cfgfile}/version.map (100%)
rename lib/{librte_cmdline => cmdline}/cmdline.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_cirbuf.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_cirbuf.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_os_unix.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_os_windows.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_etheraddr.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_etheraddr.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_ipaddr.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_ipaddr.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_num.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_num.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_portlist.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_portlist.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_string.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_parse_string.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_private.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_rdline.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_rdline.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_socket.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_socket.h (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_vt100.c (100%)
rename lib/{librte_cmdline => cmdline}/cmdline_vt100.h (100%)
create mode 100644 lib/cmdline/meson.build
rename lib/{librte_cmdline => cmdline}/version.map (100%)
rename lib/{librte_compressdev => compressdev}/meson.build (58%)
rename lib/{librte_compressdev => compressdev}/rte_comp.c (100%)
rename lib/{librte_compressdev => compressdev}/rte_comp.h (100%)
rename lib/{librte_compressdev => compressdev}/rte_compressdev.c (100%)
rename lib/{librte_compressdev => compressdev}/rte_compressdev.h (100%)
rename lib/{librte_compressdev => compressdev}/rte_compressdev_internal.h (100%)
rename lib/{librte_compressdev => compressdev}/rte_compressdev_pmd.c (100%)
rename lib/{librte_compressdev => compressdev}/rte_compressdev_pmd.h (100%)
rename lib/{librte_compressdev => compressdev}/version.map (100%)
rename lib/{librte_cryptodev => cryptodev}/cryptodev_trace_points.c (100%)
rename lib/{librte_cryptodev => cryptodev}/meson.build (60%)
rename lib/{librte_cryptodev => cryptodev}/rte_crypto.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_crypto_asym.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_crypto_sym.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev.c (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev_pmd.c (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev_pmd.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev_trace.h (100%)
rename lib/{librte_cryptodev => cryptodev}/rte_cryptodev_trace_fp.h (100%)
rename lib/{librte_cryptodev => cryptodev}/version.map (100%)
rename lib/{librte_distributor => distributor}/distributor_private.h (100%)
rename lib/{librte_distributor => distributor}/meson.build (68%)
rename lib/{librte_distributor => distributor}/rte_distributor.c (100%)
rename lib/{librte_distributor => distributor}/rte_distributor.h (100%)
rename lib/{librte_distributor => distributor}/rte_distributor_match_generic.c (100%)
rename lib/{librte_distributor => distributor}/rte_distributor_match_sse.c (100%)
rename lib/{librte_distributor => distributor}/rte_distributor_single.c (100%)
rename lib/{librte_distributor => distributor}/rte_distributor_single.h (100%)
rename lib/{librte_distributor => distributor}/version.map (100%)
create mode 100644 lib/eal/arm/include/meson.build
rename lib/{librte_eal => eal}/arm/include/rte_atomic.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_atomic_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_atomic_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_byteorder.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cpuflags.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cpuflags_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cpuflags_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cycles.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cycles_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_cycles_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_io.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_io_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_mcslock.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_memcpy.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_memcpy_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_memcpy_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_pause.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_pause_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_pause_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_power_intrinsics.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_prefetch.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_prefetch_32.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_prefetch_64.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_rwlock.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_spinlock.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_ticketlock.h (100%)
rename lib/{librte_eal => eal}/arm/include/rte_vect.h (100%)
rename lib/{librte_eal => eal}/arm/meson.build (55%)
rename lib/{librte_eal => eal}/arm/rte_cpuflags.c (100%)
rename lib/{librte_eal => eal}/arm/rte_cycles.c (100%)
rename lib/{librte_eal => eal}/arm/rte_hypervisor.c (100%)
rename lib/{librte_eal => eal}/arm/rte_power_intrinsics.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_bus.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_class.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_config.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_cpuflags.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_debug.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_dev.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_devargs.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_dynmem.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_errno.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_fbarray.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_hexdump.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_hypervisor.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_launch.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_lcore.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_log.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_mcfg.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_memalloc.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_memory.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_memzone.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_options.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_proc.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_string_fns.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_tailqs.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_thread.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_timer.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_trace.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_trace_ctf.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_trace_points.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_trace_utils.c (100%)
rename lib/{librte_eal => eal}/common/eal_common_uuid.c (100%)
rename lib/{librte_eal => eal}/common/eal_filesystem.h (100%)
rename lib/{librte_eal => eal}/common/eal_hugepages.h (100%)
rename lib/{librte_eal => eal}/common/eal_internal_cfg.h (100%)
rename lib/{librte_eal => eal}/common/eal_memalloc.h (100%)
rename lib/{librte_eal => eal}/common/eal_memcfg.h (100%)
rename lib/{librte_eal => eal}/common/eal_options.h (100%)
rename lib/{librte_eal => eal}/common/eal_private.h (100%)
rename lib/{librte_eal => eal}/common/eal_thread.h (100%)
rename lib/{librte_eal => eal}/common/eal_trace.h (100%)
rename lib/{librte_eal => eal}/common/hotplug_mp.c (100%)
rename lib/{librte_eal => eal}/common/hotplug_mp.h (100%)
rename lib/{librte_eal => eal}/common/malloc_elem.c (100%)
rename lib/{librte_eal => eal}/common/malloc_elem.h (100%)
rename lib/{librte_eal => eal}/common/malloc_heap.c (100%)
rename lib/{librte_eal => eal}/common/malloc_heap.h (100%)
rename lib/{librte_eal => eal}/common/malloc_mp.c (100%)
rename lib/{librte_eal => eal}/common/malloc_mp.h (100%)
create mode 100644 lib/eal/common/meson.build
rename lib/{librte_eal => eal}/common/rte_keepalive.c (100%)
rename lib/{librte_eal => eal}/common/rte_malloc.c (100%)
rename lib/{librte_eal => eal}/common/rte_random.c (100%)
rename lib/{librte_eal => eal}/common/rte_reciprocal.c (100%)
rename lib/{librte_eal => eal}/common/rte_service.c (100%)
rename lib/{librte_eal => eal}/common/rte_version.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_alarm.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_alarm_private.h (100%)
rename lib/{librte_eal => eal}/freebsd/eal_cpuflags.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_debug.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_dev.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_hugepage_info.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_interrupts.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_lcore.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_memalloc.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_memory.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_thread.c (100%)
rename lib/{librte_eal => eal}/freebsd/eal_timer.c (100%)
rename lib/{librte_eal => eal}/freebsd/include/meson.build (100%)
rename lib/{librte_eal => eal}/freebsd/include/rte_os.h (100%)
create mode 100644 lib/eal/freebsd/meson.build
rename lib/{librte_eal => eal}/include/generic/rte_atomic.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_byteorder.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_cpuflags.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_cycles.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_io.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_mcslock.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_memcpy.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_pause.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_power_intrinsics.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_prefetch.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_rwlock.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_spinlock.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_ticketlock.h (100%)
rename lib/{librte_eal => eal}/include/generic/rte_vect.h (100%)
create mode 100644 lib/eal/include/meson.build
rename lib/{librte_eal => eal}/include/rte_alarm.h (100%)
rename lib/{librte_eal => eal}/include/rte_bitmap.h (100%)
rename lib/{librte_eal => eal}/include/rte_bitops.h (100%)
rename lib/{librte_eal => eal}/include/rte_branch_prediction.h (100%)
rename lib/{librte_eal => eal}/include/rte_bus.h (100%)
rename lib/{librte_eal => eal}/include/rte_class.h (100%)
rename lib/{librte_eal => eal}/include/rte_common.h (100%)
rename lib/{librte_eal => eal}/include/rte_compat.h (100%)
rename lib/{librte_eal => eal}/include/rte_debug.h (100%)
rename lib/{librte_eal => eal}/include/rte_dev.h (100%)
rename lib/{librte_eal => eal}/include/rte_devargs.h (100%)
rename lib/{librte_eal => eal}/include/rte_eal.h (100%)
rename lib/{librte_eal => eal}/include/rte_eal_interrupts.h (100%)
rename lib/{librte_eal => eal}/include/rte_eal_memconfig.h (100%)
rename lib/{librte_eal => eal}/include/rte_eal_paging.h (100%)
rename lib/{librte_eal => eal}/include/rte_eal_trace.h (100%)
rename lib/{librte_eal => eal}/include/rte_errno.h (100%)
rename lib/{librte_eal => eal}/include/rte_fbarray.h (100%)
rename lib/{librte_eal => eal}/include/rte_function_versioning.h (100%)
rename lib/{librte_eal => eal}/include/rte_hexdump.h (100%)
rename lib/{librte_eal => eal}/include/rte_hypervisor.h (100%)
rename lib/{librte_eal => eal}/include/rte_interrupts.h (100%)
rename lib/{librte_eal => eal}/include/rte_keepalive.h (100%)
rename lib/{librte_eal => eal}/include/rte_launch.h (100%)
rename lib/{librte_eal => eal}/include/rte_lcore.h (100%)
rename lib/{librte_eal => eal}/include/rte_log.h (100%)
rename lib/{librte_eal => eal}/include/rte_malloc.h (100%)
rename lib/{librte_eal => eal}/include/rte_memory.h (100%)
rename lib/{librte_eal => eal}/include/rte_memzone.h (100%)
rename lib/{librte_eal => eal}/include/rte_pci_dev_feature_defs.h (100%)
rename lib/{librte_eal => eal}/include/rte_pci_dev_features.h (100%)
rename lib/{librte_eal => eal}/include/rte_per_lcore.h (100%)
rename lib/{librte_eal => eal}/include/rte_random.h (100%)
rename lib/{librte_eal => eal}/include/rte_reciprocal.h (100%)
rename lib/{librte_eal => eal}/include/rte_service.h (100%)
rename lib/{librte_eal => eal}/include/rte_service_component.h (100%)
rename lib/{librte_eal => eal}/include/rte_string_fns.h (100%)
rename lib/{librte_eal => eal}/include/rte_tailq.h (100%)
rename lib/{librte_eal => eal}/include/rte_test.h (100%)
rename lib/{librte_eal => eal}/include/rte_thread.h (100%)
rename lib/{librte_eal => eal}/include/rte_time.h (100%)
rename lib/{librte_eal => eal}/include/rte_trace.h (100%)
rename lib/{librte_eal => eal}/include/rte_trace_point.h (100%)
rename lib/{librte_eal => eal}/include/rte_trace_point_register.h (100%)
rename lib/{librte_eal => eal}/include/rte_uuid.h (100%)
rename lib/{librte_eal => eal}/include/rte_version.h (100%)
rename lib/{librte_eal => eal}/include/rte_vfio.h (100%)
rename lib/{librte_eal => eal}/linux/eal.c (100%)
rename lib/{librte_eal => eal}/linux/eal_alarm.c (100%)
rename lib/{librte_eal => eal}/linux/eal_cpuflags.c (100%)
rename lib/{librte_eal => eal}/linux/eal_debug.c (100%)
rename lib/{librte_eal => eal}/linux/eal_dev.c (100%)
rename lib/{librte_eal => eal}/linux/eal_hugepage_info.c (100%)
rename lib/{librte_eal => eal}/linux/eal_interrupts.c (100%)
rename lib/{librte_eal => eal}/linux/eal_lcore.c (100%)
rename lib/{librte_eal => eal}/linux/eal_log.c (100%)
rename lib/{librte_eal => eal}/linux/eal_memalloc.c (100%)
rename lib/{librte_eal => eal}/linux/eal_memory.c (100%)
rename lib/{librte_eal => eal}/linux/eal_thread.c (100%)
rename lib/{librte_eal => eal}/linux/eal_timer.c (100%)
rename lib/{librte_eal => eal}/linux/eal_vfio.c (100%)
rename lib/{librte_eal => eal}/linux/eal_vfio.h (100%)
rename lib/{librte_eal => eal}/linux/eal_vfio_mp_sync.c (100%)
rename lib/{librte_eal => eal}/linux/include/meson.build (100%)
rename lib/{librte_eal => eal}/linux/include/rte_os.h (100%)
create mode 100644 lib/eal/linux/meson.build
rename lib/{librte_eal => eal}/meson.build (78%)
create mode 100644 lib/eal/ppc/include/meson.build
rename lib/{librte_eal => eal}/ppc/include/rte_altivec.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_atomic.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_byteorder.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_cpuflags.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_cycles.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_io.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_mcslock.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_memcpy.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_pause.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_power_intrinsics.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_prefetch.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_rwlock.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_spinlock.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_ticketlock.h (100%)
rename lib/{librte_eal => eal}/ppc/include/rte_vect.h (100%)
rename lib/{librte_eal => eal}/ppc/meson.build (58%)
rename lib/{librte_eal => eal}/ppc/rte_cpuflags.c (100%)
rename lib/{librte_eal => eal}/ppc/rte_cycles.c (100%)
rename lib/{librte_eal => eal}/ppc/rte_hypervisor.c (100%)
rename lib/{librte_eal => eal}/ppc/rte_power_intrinsics.c (100%)
rename lib/{librte_eal => eal}/rte_eal_exports.def (100%)
rename lib/{librte_eal => eal}/unix/eal_file.c (100%)
rename lib/{librte_eal => eal}/unix/eal_unix_memory.c (100%)
rename lib/{librte_eal => eal}/unix/eal_unix_timer.c (100%)
rename lib/{librte_eal => eal}/unix/meson.build (52%)
rename lib/{librte_eal => eal}/unix/rte_thread.c (100%)
rename lib/{librte_eal => eal}/version.map (100%)
rename lib/{librte_eal => eal}/windows/eal.c (100%)
rename lib/{librte_eal => eal}/windows/eal_alarm.c (100%)
rename lib/{librte_eal => eal}/windows/eal_debug.c (100%)
rename lib/{librte_eal => eal}/windows/eal_file.c (100%)
rename lib/{librte_eal => eal}/windows/eal_hugepages.c (100%)
rename lib/{librte_eal => eal}/windows/eal_interrupts.c (100%)
rename lib/{librte_eal => eal}/windows/eal_lcore.c (100%)
rename lib/{librte_eal => eal}/windows/eal_log.c (100%)
rename lib/{librte_eal => eal}/windows/eal_memalloc.c (100%)
rename lib/{librte_eal => eal}/windows/eal_memory.c (100%)
rename lib/{librte_eal => eal}/windows/eal_mp.c (100%)
rename lib/{librte_eal => eal}/windows/eal_thread.c (100%)
rename lib/{librte_eal => eal}/windows/eal_timer.c (100%)
rename lib/{librte_eal => eal}/windows/eal_windows.h (100%)
rename lib/{librte_eal => eal}/windows/fnmatch.c (100%)
rename lib/{librte_eal => eal}/windows/getopt.c (100%)
rename lib/{librte_eal => eal}/windows/include/arpa/inet.h (100%)
rename lib/{librte_eal => eal}/windows/include/dirent.h (100%)
rename lib/{librte_eal => eal}/windows/include/fnmatch.h (100%)
rename lib/{librte_eal => eal}/windows/include/getopt.h (100%)
rename lib/{librte_eal => eal}/windows/include/meson.build (100%)
rename lib/{librte_eal => eal}/windows/include/netinet/in.h (100%)
rename lib/{librte_eal => eal}/windows/include/netinet/ip.h (100%)
rename lib/{librte_eal => eal}/windows/include/pthread.h (100%)
rename lib/{librte_eal => eal}/windows/include/regex.h (100%)
rename lib/{librte_eal => eal}/windows/include/rte_os.h (100%)
rename lib/{librte_eal => eal}/windows/include/rte_virt2phys.h (100%)
rename lib/{librte_eal => eal}/windows/include/rte_windows.h (100%)
rename lib/{librte_eal => eal}/windows/include/sched.h (100%)
rename lib/{librte_eal => eal}/windows/include/sys/queue.h (100%)
rename lib/{librte_eal => eal}/windows/include/sys/socket.h (100%)
rename lib/{librte_eal => eal}/windows/include/unistd.h (100%)
create mode 100644 lib/eal/windows/meson.build
rename lib/{librte_eal => eal}/windows/rte_thread.c (100%)
create mode 100644 lib/eal/x86/include/meson.build
rename lib/{librte_eal => eal}/x86/include/rte_atomic.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_atomic_32.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_atomic_64.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_byteorder.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_byteorder_32.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_byteorder_64.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_cpuflags.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_cycles.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_io.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_mcslock.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_memcpy.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_pause.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_power_intrinsics.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_prefetch.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_rtm.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_rwlock.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_spinlock.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_ticketlock.h (100%)
rename lib/{librte_eal => eal}/x86/include/rte_vect.h (100%)
rename lib/{librte_eal => eal}/x86/meson.build (50%)
rename lib/{librte_eal => eal}/x86/rte_cpuflags.c (100%)
rename lib/{librte_eal => eal}/x86/rte_cpuid.h (100%)
rename lib/{librte_eal => eal}/x86/rte_cycles.c (100%)
rename lib/{librte_eal => eal}/x86/rte_hypervisor.c (100%)
rename lib/{librte_eal => eal}/x86/rte_power_intrinsics.c (100%)
rename lib/{librte_eal => eal}/x86/rte_spinlock.c (100%)
rename lib/{librte_efd => efd}/meson.build (100%)
rename lib/{librte_efd => efd}/rte_efd.c (100%)
rename lib/{librte_efd => efd}/rte_efd.h (100%)
rename lib/{librte_efd => efd}/rte_efd_arm64.h (100%)
rename lib/{librte_efd => efd}/rte_efd_x86.h (100%)
rename lib/{librte_efd => efd}/version.map (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_driver.h (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_pci.h (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_private.c (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_private.h (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_profile.c (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_profile.h (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_trace_points.c (100%)
rename lib/{librte_ethdev => ethdev}/ethdev_vdev.h (100%)
create mode 100644 lib/ethdev/meson.build
rename lib/{librte_ethdev => ethdev}/rte_class_eth.c (100%)
rename lib/{librte_ethdev => ethdev}/rte_dev_info.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_eth_ctrl.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_ethdev.c (100%)
rename lib/{librte_ethdev => ethdev}/rte_ethdev.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_ethdev_core.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_ethdev_trace.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_ethdev_trace_fp.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_flow.c (100%)
rename lib/{librte_ethdev => ethdev}/rte_flow.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_flow_driver.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_mtr.c (100%)
rename lib/{librte_ethdev => ethdev}/rte_mtr.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_mtr_driver.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_tm.c (100%)
rename lib/{librte_ethdev => ethdev}/rte_tm.h (100%)
rename lib/{librte_ethdev => ethdev}/rte_tm_driver.h (100%)
rename lib/{librte_ethdev => ethdev}/version.map (100%)
rename lib/{librte_eventdev => eventdev}/eventdev_pmd.h (100%)
rename lib/{librte_eventdev => eventdev}/eventdev_pmd_pci.h (100%)
rename lib/{librte_eventdev => eventdev}/eventdev_pmd_vdev.h (100%)
rename lib/{librte_eventdev => eventdev}/eventdev_trace_points.c (100%)
create mode 100644 lib/eventdev/meson.build
rename lib/{librte_eventdev => eventdev}/rte_event_crypto_adapter.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_crypto_adapter.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_eth_rx_adapter.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_eth_rx_adapter.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_eth_tx_adapter.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_eth_tx_adapter.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_ring.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_ring.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_timer_adapter.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_timer_adapter.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_event_timer_adapter_pmd.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_eventdev.c (100%)
rename lib/{librte_eventdev => eventdev}/rte_eventdev.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_eventdev_trace.h (100%)
rename lib/{librte_eventdev => eventdev}/rte_eventdev_trace_fp.h (100%)
rename lib/{librte_eventdev => eventdev}/version.map (100%)
rename lib/{librte_fib => fib}/dir24_8.c (100%)
rename lib/{librte_fib => fib}/dir24_8.h (100%)
rename lib/{librte_fib => fib}/dir24_8_avx512.c (100%)
rename lib/{librte_fib => fib}/dir24_8_avx512.h (100%)
create mode 100644 lib/fib/meson.build
rename lib/{librte_fib => fib}/rte_fib.c (100%)
rename lib/{librte_fib => fib}/rte_fib.h (100%)
rename lib/{librte_fib => fib}/rte_fib6.c (100%)
rename lib/{librte_fib => fib}/rte_fib6.h (100%)
rename lib/{librte_fib => fib}/trie.c (100%)
rename lib/{librte_fib => fib}/trie.h (100%)
rename lib/{librte_fib => fib}/trie_avx512.c (100%)
rename lib/{librte_fib => fib}/trie_avx512.h (100%)
rename lib/{librte_fib => fib}/version.map (100%)
rename lib/{librte_flow_classify => flow_classify}/meson.build (100%)
rename lib/{librte_flow_classify => flow_classify}/rte_flow_classify.c (100%)
rename lib/{librte_flow_classify => flow_classify}/rte_flow_classify.h (100%)
rename lib/{librte_flow_classify => flow_classify}/rte_flow_classify_parse.c (100%)
rename lib/{librte_flow_classify => flow_classify}/rte_flow_classify_parse.h (100%)
rename lib/{librte_flow_classify => flow_classify}/version.map (100%)
rename lib/{librte_graph => graph}/graph.c (100%)
rename lib/{librte_graph => graph}/graph_debug.c (100%)
rename lib/{librte_graph => graph}/graph_ops.c (100%)
rename lib/{librte_graph => graph}/graph_populate.c (100%)
rename lib/{librte_graph => graph}/graph_private.h (100%)
rename lib/{librte_graph => graph}/graph_stats.c (100%)
rename lib/{librte_graph => graph}/meson.build (100%)
rename lib/{librte_graph => graph}/node.c (100%)
rename lib/{librte_graph => graph}/rte_graph.h (100%)
rename lib/{librte_graph => graph}/rte_graph_worker.h (100%)
rename lib/{librte_graph => graph}/version.map (100%)
rename lib/{librte_gro => gro}/gro_tcp4.c (100%)
rename lib/{librte_gro => gro}/gro_tcp4.h (100%)
rename lib/{librte_gro => gro}/gro_udp4.c (100%)
rename lib/{librte_gro => gro}/gro_udp4.h (100%)
rename lib/{librte_gro => gro}/gro_vxlan_tcp4.c (100%)
rename lib/{librte_gro => gro}/gro_vxlan_tcp4.h (100%)
rename lib/{librte_gro => gro}/gro_vxlan_udp4.c (100%)
rename lib/{librte_gro => gro}/gro_vxlan_udp4.h (100%)
rename lib/{librte_gro => gro}/meson.build (100%)
rename lib/{librte_gro => gro}/rte_gro.c (100%)
rename lib/{librte_gro => gro}/rte_gro.h (100%)
rename lib/{librte_gro => gro}/version.map (100%)
rename lib/{librte_gso => gso}/gso_common.c (100%)
rename lib/{librte_gso => gso}/gso_common.h (100%)
rename lib/{librte_gso => gso}/gso_tcp4.c (100%)
rename lib/{librte_gso => gso}/gso_tcp4.h (100%)
rename lib/{librte_gso => gso}/gso_tunnel_tcp4.c (100%)
rename lib/{librte_gso => gso}/gso_tunnel_tcp4.h (100%)
rename lib/{librte_gso => gso}/gso_tunnel_udp4.c (100%)
rename lib/{librte_gso => gso}/gso_tunnel_udp4.h (100%)
rename lib/{librte_gso => gso}/gso_udp4.c (100%)
rename lib/{librte_gso => gso}/gso_udp4.h (100%)
rename lib/{librte_gso => gso}/meson.build (74%)
rename lib/{librte_gso => gso}/rte_gso.c (100%)
rename lib/{librte_gso => gso}/rte_gso.h (100%)
rename lib/{librte_gso => gso}/version.map (100%)
rename lib/{librte_hash => hash}/meson.build (76%)
rename lib/{librte_hash => hash}/rte_cmp_arm64.h (100%)
rename lib/{librte_hash => hash}/rte_cmp_x86.h (100%)
rename lib/{librte_hash => hash}/rte_crc_arm64.h (100%)
rename lib/{librte_hash => hash}/rte_cuckoo_hash.c (100%)
rename lib/{librte_hash => hash}/rte_cuckoo_hash.h (100%)
rename lib/{librte_hash => hash}/rte_fbk_hash.c (100%)
rename lib/{librte_hash => hash}/rte_fbk_hash.h (100%)
rename lib/{librte_hash => hash}/rte_hash.h (100%)
rename lib/{librte_hash => hash}/rte_hash_crc.h (100%)
rename lib/{librte_hash => hash}/rte_jhash.h (100%)
rename lib/{librte_hash => hash}/rte_thash.h (100%)
rename lib/{librte_hash => hash}/version.map (100%)
rename lib/{librte_ip_frag => ip_frag}/ip_frag_common.h (100%)
rename lib/{librte_ip_frag => ip_frag}/ip_frag_internal.c (100%)
rename lib/{librte_ip_frag => ip_frag}/meson.build (52%)
rename lib/{librte_ip_frag => ip_frag}/rte_ip_frag.h (100%)
rename lib/{librte_ip_frag => ip_frag}/rte_ip_frag_common.c (100%)
rename lib/{librte_ip_frag => ip_frag}/rte_ipv4_fragmentation.c (100%)
rename lib/{librte_ip_frag => ip_frag}/rte_ipv4_reassembly.c (100%)
rename lib/{librte_ip_frag => ip_frag}/rte_ipv6_fragmentation.c (100%)
rename lib/{librte_ip_frag => ip_frag}/rte_ipv6_reassembly.c (100%)
rename lib/{librte_ip_frag => ip_frag}/version.map (100%)
rename lib/{librte_ipsec => ipsec}/crypto.h (100%)
rename lib/{librte_ipsec => ipsec}/esp_inb.c (100%)
rename lib/{librte_ipsec => ipsec}/esp_outb.c (100%)
rename lib/{librte_ipsec => ipsec}/iph.h (100%)
rename lib/{librte_ipsec => ipsec}/ipsec_sad.c (100%)
rename lib/{librte_ipsec => ipsec}/ipsec_sqn.h (100%)
rename lib/{librte_ipsec => ipsec}/meson.build (100%)
rename lib/{librte_ipsec => ipsec}/misc.h (100%)
rename lib/{librte_ipsec => ipsec}/pad.h (100%)
rename lib/{librte_ipsec => ipsec}/rte_ipsec.h (100%)
rename lib/{librte_ipsec => ipsec}/rte_ipsec_group.h (100%)
rename lib/{librte_ipsec => ipsec}/rte_ipsec_sa.h (100%)
rename lib/{librte_ipsec => ipsec}/rte_ipsec_sad.h (100%)
rename lib/{librte_ipsec => ipsec}/sa.c (100%)
rename lib/{librte_ipsec => ipsec}/sa.h (100%)
rename lib/{librte_ipsec => ipsec}/ses.c (100%)
rename lib/{librte_ipsec => ipsec}/version.map (100%)
rename lib/{librte_jobstats => jobstats}/meson.build (100%)
rename lib/{librte_jobstats => jobstats}/rte_jobstats.c (100%)
rename lib/{librte_jobstats => jobstats}/rte_jobstats.h (100%)
rename lib/{librte_jobstats => jobstats}/version.map (100%)
rename lib/{librte_kni => kni}/meson.build (79%)
rename lib/{librte_kni => kni}/rte_kni.c (100%)
rename lib/{librte_kni => kni}/rte_kni.h (100%)
rename lib/{librte_kni => kni}/rte_kni_common.h (100%)
rename lib/{librte_kni => kni}/rte_kni_fifo.h (100%)
rename lib/{librte_kni => kni}/version.map (100%)
rename lib/{librte_kvargs => kvargs}/meson.build (100%)
rename lib/{librte_kvargs => kvargs}/rte_kvargs.c (100%)
rename lib/{librte_kvargs => kvargs}/rte_kvargs.h (100%)
rename lib/{librte_kvargs => kvargs}/version.map (100%)
rename lib/{librte_latencystats => latencystats}/meson.build (100%)
rename lib/{librte_latencystats => latencystats}/rte_latencystats.c (100%)
rename lib/{librte_latencystats => latencystats}/rte_latencystats.h (100%)
rename lib/{librte_latencystats => latencystats}/version.map (100%)
delete mode 100644 lib/librte_acl/meson.build
delete mode 100644 lib/librte_cmdline/meson.build
delete mode 100644 lib/librte_eal/arm/include/meson.build
delete mode 100644 lib/librte_eal/common/meson.build
delete mode 100644 lib/librte_eal/freebsd/meson.build
delete mode 100644 lib/librte_eal/include/meson.build
delete mode 100644 lib/librte_eal/linux/meson.build
delete mode 100644 lib/librte_eal/ppc/include/meson.build
delete mode 100644 lib/librte_eal/windows/meson.build
delete mode 100644 lib/librte_eal/x86/include/meson.build
delete mode 100644 lib/librte_ethdev/meson.build
delete mode 100644 lib/librte_eventdev/meson.build
delete mode 100644 lib/librte_fib/meson.build
delete mode 100644 lib/librte_net/meson.build
delete mode 100644 lib/librte_pipeline/meson.build
delete mode 100644 lib/librte_port/meson.build
delete mode 100644 lib/librte_power/meson.build
delete mode 100644 lib/librte_ring/meson.build
delete mode 100644 lib/librte_table/meson.build
rename lib/{librte_lpm => lpm}/meson.build (100%)
rename lib/{librte_lpm => lpm}/rte_lpm.c (100%)
rename lib/{librte_lpm => lpm}/rte_lpm.h (100%)
rename lib/{librte_lpm => lpm}/rte_lpm6.c (100%)
rename lib/{librte_lpm => lpm}/rte_lpm6.h (100%)
rename lib/{librte_lpm => lpm}/rte_lpm_altivec.h (100%)
rename lib/{librte_lpm => lpm}/rte_lpm_neon.h (100%)
rename lib/{librte_lpm => lpm}/rte_lpm_sse.h (100%)
rename lib/{librte_lpm => lpm}/rte_lpm_sve.h (100%)
rename lib/{librte_lpm => lpm}/version.map (100%)
rename lib/{librte_mbuf => mbuf}/meson.build (69%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf.c (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf.h (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_core.h (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_dyn.c (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_dyn.h (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_pool_ops.c (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_pool_ops.h (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_ptype.c (100%)
rename lib/{librte_mbuf => mbuf}/rte_mbuf_ptype.h (100%)
rename lib/{librte_mbuf => mbuf}/version.map (100%)
rename lib/{librte_member => member}/meson.build (100%)
rename lib/{librte_member => member}/rte_member.c (100%)
rename lib/{librte_member => member}/rte_member.h (100%)
rename lib/{librte_member => member}/rte_member_ht.c (100%)
rename lib/{librte_member => member}/rte_member_ht.h (100%)
rename lib/{librte_member => member}/rte_member_vbf.c (100%)
rename lib/{librte_member => member}/rte_member_vbf.h (100%)
rename lib/{librte_member => member}/rte_member_x86.h (100%)
rename lib/{librte_member => member}/version.map (100%)
rename lib/{librte_mempool => mempool}/mempool_trace_points.c (100%)
rename lib/{librte_mempool => mempool}/meson.build (62%)
rename lib/{librte_mempool => mempool}/rte_mempool.c (100%)
rename lib/{librte_mempool => mempool}/rte_mempool.h (100%)
rename lib/{librte_mempool => mempool}/rte_mempool_ops.c (100%)
rename lib/{librte_mempool => mempool}/rte_mempool_ops_default.c (100%)
rename lib/{librte_mempool => mempool}/rte_mempool_trace.h (100%)
rename lib/{librte_mempool => mempool}/rte_mempool_trace_fp.h (100%)
rename lib/{librte_mempool => mempool}/version.map (100%)
rename lib/{librte_meter => meter}/meson.build (100%)
rename lib/{librte_meter => meter}/rte_meter.c (100%)
rename lib/{librte_meter => meter}/rte_meter.h (100%)
rename lib/{librte_meter => meter}/version.map (100%)
rename lib/{librte_metrics => metrics}/meson.build (83%)
rename lib/{librte_metrics => metrics}/rte_metrics.c (100%)
rename lib/{librte_metrics => metrics}/rte_metrics.h (100%)
rename lib/{librte_metrics => metrics}/rte_metrics_telemetry.c (100%)
rename lib/{librte_metrics => metrics}/rte_metrics_telemetry.h (100%)
rename lib/{librte_metrics => metrics}/version.map (100%)
create mode 100644 lib/net/meson.build
rename lib/{librte_net => net}/net_crc.h (100%)
rename lib/{librte_net => net}/net_crc_avx512.c (100%)
rename lib/{librte_net => net}/net_crc_neon.c (100%)
rename lib/{librte_net => net}/net_crc_sse.c (100%)
rename lib/{librte_net => net}/rte_arp.c (100%)
rename lib/{librte_net => net}/rte_arp.h (100%)
rename lib/{librte_net => net}/rte_ecpri.h (100%)
rename lib/{librte_net => net}/rte_esp.h (100%)
rename lib/{librte_net => net}/rte_ether.c (100%)
rename lib/{librte_net => net}/rte_ether.h (100%)
rename lib/{librte_net => net}/rte_geneve.h (100%)
rename lib/{librte_net => net}/rte_gre.h (100%)
rename lib/{librte_net => net}/rte_gtp.h (100%)
rename lib/{librte_net => net}/rte_higig.h (100%)
rename lib/{librte_net => net}/rte_icmp.h (100%)
rename lib/{librte_net => net}/rte_ip.h (100%)
rename lib/{librte_net => net}/rte_mpls.h (100%)
rename lib/{librte_net => net}/rte_net.c (100%)
rename lib/{librte_net => net}/rte_net.h (100%)
rename lib/{librte_net => net}/rte_net_crc.c (100%)
rename lib/{librte_net => net}/rte_net_crc.h (100%)
rename lib/{librte_net => net}/rte_sctp.h (100%)
rename lib/{librte_net => net}/rte_tcp.h (100%)
rename lib/{librte_net => net}/rte_udp.h (100%)
rename lib/{librte_net => net}/rte_vxlan.h (100%)
rename lib/{librte_net => net}/version.map (100%)
rename lib/{librte_node => node}/ethdev_ctrl.c (100%)
rename lib/{librte_node => node}/ethdev_rx.c (100%)
rename lib/{librte_node => node}/ethdev_rx_priv.h (100%)
rename lib/{librte_node => node}/ethdev_tx.c (100%)
rename lib/{librte_node => node}/ethdev_tx_priv.h (100%)
rename lib/{librte_node => node}/ip4_lookup.c (100%)
rename lib/{librte_node => node}/ip4_lookup_neon.h (100%)
rename lib/{librte_node => node}/ip4_lookup_sse.h (100%)
rename lib/{librte_node => node}/ip4_rewrite.c (100%)
rename lib/{librte_node => node}/ip4_rewrite_priv.h (100%)
rename lib/{librte_node => node}/log.c (100%)
rename lib/{librte_node => node}/meson.build (85%)
rename lib/{librte_node => node}/node_private.h (100%)
rename lib/{librte_node => node}/null.c (100%)
rename lib/{librte_node => node}/pkt_cls.c (100%)
rename lib/{librte_node => node}/pkt_cls_priv.h (100%)
rename lib/{librte_node => node}/pkt_drop.c (100%)
rename lib/{librte_node => node}/rte_node_eth_api.h (100%)
rename lib/{librte_node => node}/rte_node_ip4_api.h (100%)
rename lib/{librte_node => node}/version.map (100%)
rename lib/{librte_pci => pci}/meson.build (100%)
rename lib/{librte_pci => pci}/rte_pci.c (100%)
rename lib/{librte_pci => pci}/rte_pci.h (100%)
rename lib/{librte_pci => pci}/version.map (100%)
rename lib/{librte_pdump => pdump}/meson.build (100%)
rename lib/{librte_pdump => pdump}/rte_pdump.c (100%)
rename lib/{librte_pdump => pdump}/rte_pdump.h (100%)
rename lib/{librte_pdump => pdump}/version.map (100%)
create mode 100644 lib/pipeline/meson.build
rename lib/{librte_pipeline => pipeline}/rte_pipeline.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_pipeline.h (100%)
rename lib/{librte_pipeline => pipeline}/rte_port_in_action.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_port_in_action.h (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_ctl.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_ctl.h (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_extern.h (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_pipeline.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_pipeline.h (100%)
rename lib/{librte_pipeline => pipeline}/rte_swx_pipeline_spec.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_table_action.c (100%)
rename lib/{librte_pipeline => pipeline}/rte_table_action.h (100%)
rename lib/{librte_pipeline => pipeline}/version.map (100%)
create mode 100644 lib/port/meson.build
rename lib/{librte_port => port}/rte_port.h (100%)
rename lib/{librte_port => port}/rte_port_ethdev.c (100%)
rename lib/{librte_port => port}/rte_port_ethdev.h (100%)
rename lib/{librte_port => port}/rte_port_eventdev.c (100%)
rename lib/{librte_port => port}/rte_port_eventdev.h (100%)
rename lib/{librte_port => port}/rte_port_fd.c (100%)
rename lib/{librte_port => port}/rte_port_fd.h (100%)
rename lib/{librte_port => port}/rte_port_frag.c (100%)
rename lib/{librte_port => port}/rte_port_frag.h (100%)
rename lib/{librte_port => port}/rte_port_kni.c (100%)
rename lib/{librte_port => port}/rte_port_kni.h (100%)
rename lib/{librte_port => port}/rte_port_ras.c (100%)
rename lib/{librte_port => port}/rte_port_ras.h (100%)
rename lib/{librte_port => port}/rte_port_ring.c (100%)
rename lib/{librte_port => port}/rte_port_ring.h (100%)
rename lib/{librte_port => port}/rte_port_sched.c (100%)
rename lib/{librte_port => port}/rte_port_sched.h (100%)
rename lib/{librte_port => port}/rte_port_source_sink.c (100%)
rename lib/{librte_port => port}/rte_port_source_sink.h (100%)
rename lib/{librte_port => port}/rte_port_sym_crypto.c (100%)
rename lib/{librte_port => port}/rte_port_sym_crypto.h (100%)
rename lib/{librte_port => port}/rte_swx_port.h (100%)
rename lib/{librte_port => port}/rte_swx_port_ethdev.c (100%)
rename lib/{librte_port => port}/rte_swx_port_ethdev.h (100%)
rename lib/{librte_port => port}/rte_swx_port_fd.c (100%)
rename lib/{librte_port => port}/rte_swx_port_fd.h (100%)
rename lib/{librte_port => port}/rte_swx_port_ring.c (100%)
rename lib/{librte_port => port}/rte_swx_port_ring.h (100%)
rename lib/{librte_port => port}/rte_swx_port_source_sink.c (100%)
rename lib/{librte_port => port}/rte_swx_port_source_sink.h (100%)
rename lib/{librte_port => port}/version.map (100%)
rename lib/{librte_power => power}/guest_channel.c (100%)
rename lib/{librte_power => power}/guest_channel.h (100%)
create mode 100644 lib/power/meson.build
rename lib/{librte_power => power}/power_acpi_cpufreq.c (100%)
rename lib/{librte_power => power}/power_acpi_cpufreq.h (100%)
rename lib/{librte_power => power}/power_common.c (100%)
rename lib/{librte_power => power}/power_common.h (100%)
rename lib/{librte_power => power}/power_kvm_vm.c (100%)
rename lib/{librte_power => power}/power_kvm_vm.h (100%)
rename lib/{librte_power => power}/power_pstate_cpufreq.c (100%)
rename lib/{librte_power => power}/power_pstate_cpufreq.h (100%)
rename lib/{librte_power => power}/rte_power.c (100%)
rename lib/{librte_power => power}/rte_power.h (100%)
rename lib/{librte_power => power}/rte_power_empty_poll.c (100%)
rename lib/{librte_power => power}/rte_power_empty_poll.h (100%)
rename lib/{librte_power => power}/rte_power_guest_channel.h (100%)
rename lib/{librte_power => power}/rte_power_pmd_mgmt.c (100%)
rename lib/{librte_power => power}/rte_power_pmd_mgmt.h (100%)
rename lib/{librte_power => power}/version.map (100%)
rename lib/{librte_rawdev => rawdev}/meson.build (100%)
rename lib/{librte_rawdev => rawdev}/rte_rawdev.c (100%)
rename lib/{librte_rawdev => rawdev}/rte_rawdev.h (100%)
rename lib/{librte_rawdev => rawdev}/rte_rawdev_pmd.h (100%)
rename lib/{librte_rawdev => rawdev}/version.map (100%)
rename lib/{librte_rcu => rcu}/meson.build (100%)
rename lib/{librte_rcu => rcu}/rcu_qsbr_pvt.h (100%)
rename lib/{librte_rcu => rcu}/rte_rcu_qsbr.c (100%)
rename lib/{librte_rcu => rcu}/rte_rcu_qsbr.h (100%)
rename lib/{librte_rcu => rcu}/version.map (100%)
rename lib/{librte_regexdev => regexdev}/meson.build (88%)
rename lib/{librte_regexdev => regexdev}/rte_regexdev.c (100%)
rename lib/{librte_regexdev => regexdev}/rte_regexdev.h (100%)
rename lib/{librte_regexdev => regexdev}/rte_regexdev_core.h (100%)
rename lib/{librte_regexdev => regexdev}/rte_regexdev_driver.h (100%)
rename lib/{librte_regexdev => regexdev}/version.map (100%)
rename lib/{librte_reorder => reorder}/meson.build (100%)
rename lib/{librte_reorder => reorder}/rte_reorder.c (100%)
rename lib/{librte_reorder => reorder}/rte_reorder.h (100%)
rename lib/{librte_reorder => reorder}/version.map (100%)
rename lib/{librte_rib => rib}/meson.build (100%)
rename lib/{librte_rib => rib}/rte_rib.c (100%)
rename lib/{librte_rib => rib}/rte_rib.h (100%)
rename lib/{librte_rib => rib}/rte_rib6.c (100%)
rename lib/{librte_rib => rib}/rte_rib6.h (100%)
rename lib/{librte_rib => rib}/version.map (100%)
create mode 100644 lib/ring/meson.build
rename lib/{librte_ring => ring}/rte_ring.c (100%)
rename lib/{librte_ring => ring}/rte_ring.h (100%)
rename lib/{librte_ring => ring}/rte_ring_c11_pvt.h (100%)
rename lib/{librte_ring => ring}/rte_ring_core.h (100%)
rename lib/{librte_ring => ring}/rte_ring_elem.h (100%)
rename lib/{librte_ring => ring}/rte_ring_elem_pvt.h (100%)
rename lib/{librte_ring => ring}/rte_ring_generic_pvt.h (100%)
rename lib/{librte_ring => ring}/rte_ring_hts.h (100%)
rename lib/{librte_ring => ring}/rte_ring_hts_elem_pvt.h (100%)
rename lib/{librte_ring => ring}/rte_ring_peek.h (100%)
rename lib/{librte_ring => ring}/rte_ring_peek_elem_pvt.h (100%)
rename lib/{librte_ring => ring}/rte_ring_peek_zc.h (100%)
rename lib/{librte_ring => ring}/rte_ring_rts.h (100%)
rename lib/{librte_ring => ring}/rte_ring_rts_elem_pvt.h (100%)
rename lib/{librte_ring => ring}/version.map (100%)
rename lib/{librte_sched => sched}/meson.build (85%)
rename lib/{librte_sched => sched}/rte_approx.c (100%)
rename lib/{librte_sched => sched}/rte_approx.h (100%)
rename lib/{librte_sched => sched}/rte_red.c (100%)
rename lib/{librte_sched => sched}/rte_red.h (100%)
rename lib/{librte_sched => sched}/rte_sched.c (100%)
rename lib/{librte_sched => sched}/rte_sched.h (100%)
rename lib/{librte_sched => sched}/rte_sched_common.h (100%)
rename lib/{librte_sched => sched}/version.map (100%)
rename lib/{librte_security => security}/meson.build (100%)
rename lib/{librte_security => security}/rte_security.c (100%)
rename lib/{librte_security => security}/rte_security.h (100%)
rename lib/{librte_security => security}/rte_security_driver.h (100%)
rename lib/{librte_security => security}/version.map (100%)
rename lib/{librte_stack => stack}/meson.build (68%)
rename lib/{librte_stack => stack}/rte_stack.c (100%)
rename lib/{librte_stack => stack}/rte_stack.h (100%)
rename lib/{librte_stack => stack}/rte_stack_lf.c (100%)
rename lib/{librte_stack => stack}/rte_stack_lf.h (100%)
rename lib/{librte_stack => stack}/rte_stack_lf_c11.h (100%)
rename lib/{librte_stack => stack}/rte_stack_lf_generic.h (100%)
rename lib/{librte_stack => stack}/rte_stack_lf_stubs.h (100%)
rename lib/{librte_stack => stack}/rte_stack_std.c (100%)
rename lib/{librte_stack => stack}/rte_stack_std.h (100%)
rename lib/{librte_stack => stack}/stack_pvt.h (100%)
rename lib/{librte_stack => stack}/version.map (100%)
create mode 100644 lib/table/meson.build
rename lib/{librte_table => table}/rte_lru.h (100%)
rename lib/{librte_table => table}/rte_lru_arm64.h (100%)
rename lib/{librte_table => table}/rte_lru_x86.h (100%)
rename lib/{librte_table => table}/rte_swx_table.h (100%)
rename lib/{librte_table => table}/rte_swx_table_em.c (100%)
rename lib/{librte_table => table}/rte_swx_table_em.h (100%)
rename lib/{librte_table => table}/rte_swx_table_wm.c (100%)
rename lib/{librte_table => table}/rte_swx_table_wm.h (100%)
rename lib/{librte_table => table}/rte_table.h (100%)
rename lib/{librte_table => table}/rte_table_acl.c (100%)
rename lib/{librte_table => table}/rte_table_acl.h (100%)
rename lib/{librte_table => table}/rte_table_array.c (100%)
rename lib/{librte_table => table}/rte_table_array.h (100%)
rename lib/{librte_table => table}/rte_table_hash.h (100%)
rename lib/{librte_table => table}/rte_table_hash_cuckoo.c (100%)
rename lib/{librte_table => table}/rte_table_hash_cuckoo.h (100%)
rename lib/{librte_table => table}/rte_table_hash_ext.c (100%)
rename lib/{librte_table => table}/rte_table_hash_func.h (100%)
rename lib/{librte_table => table}/rte_table_hash_func_arm64.h (100%)
rename lib/{librte_table => table}/rte_table_hash_key16.c (100%)
rename lib/{librte_table => table}/rte_table_hash_key32.c (100%)
rename lib/{librte_table => table}/rte_table_hash_key8.c (100%)
rename lib/{librte_table => table}/rte_table_hash_lru.c (100%)
rename lib/{librte_table => table}/rte_table_lpm.c (100%)
rename lib/{librte_table => table}/rte_table_lpm.h (100%)
rename lib/{librte_table => table}/rte_table_lpm_ipv6.c (100%)
rename lib/{librte_table => table}/rte_table_lpm_ipv6.h (100%)
rename lib/{librte_table => table}/rte_table_stub.c (100%)
rename lib/{librte_table => table}/rte_table_stub.h (100%)
rename lib/{librte_table => table}/version.map (100%)
rename lib/{librte_telemetry => telemetry}/meson.build (80%)
rename lib/{librte_telemetry => telemetry}/rte_telemetry.h (100%)
rename lib/{librte_telemetry => telemetry}/telemetry.c (100%)
rename lib/{librte_telemetry => telemetry}/telemetry_data.c (100%)
rename lib/{librte_telemetry => telemetry}/telemetry_data.h (100%)
rename lib/{librte_telemetry => telemetry}/telemetry_internal.h (100%)
rename lib/{librte_telemetry => telemetry}/telemetry_json.h (100%)
rename lib/{librte_telemetry => telemetry}/telemetry_legacy.c (100%)
rename lib/{librte_telemetry => telemetry}/version.map (100%)
rename lib/{librte_timer => timer}/meson.build (100%)
rename lib/{librte_timer => timer}/rte_timer.c (100%)
rename lib/{librte_timer => timer}/rte_timer.h (100%)
rename lib/{librte_timer => timer}/version.map (100%)
rename lib/{librte_vhost => vhost}/fd_man.c (100%)
rename lib/{librte_vhost => vhost}/fd_man.h (100%)
rename lib/{librte_vhost => vhost}/iotlb.c (100%)
rename lib/{librte_vhost => vhost}/iotlb.h (100%)
rename lib/{librte_vhost => vhost}/meson.build (59%)
rename lib/{librte_vhost => vhost}/rte_vdpa.h (100%)
rename lib/{librte_vhost => vhost}/rte_vdpa_dev.h (100%)
rename lib/{librte_vhost => vhost}/rte_vhost.h (100%)
rename lib/{librte_vhost => vhost}/rte_vhost_async.h (100%)
rename lib/{librte_vhost => vhost}/rte_vhost_crypto.h (100%)
rename lib/{librte_vhost => vhost}/socket.c (100%)
rename lib/{librte_vhost => vhost}/vdpa.c (100%)
rename lib/{librte_vhost => vhost}/version.map (100%)
rename lib/{librte_vhost => vhost}/vhost.c (100%)
rename lib/{librte_vhost => vhost}/vhost.h (100%)
rename lib/{librte_vhost => vhost}/vhost_crypto.c (100%)
rename lib/{librte_vhost => vhost}/vhost_user.c (100%)
rename lib/{librte_vhost => vhost}/vhost_user.h (100%)
rename lib/{librte_vhost => vhost}/virtio_crypto.h (100%)
rename lib/{librte_vhost => vhost}/virtio_net.c (100%)--
2.27.0
RFC PATCH 1/14 editorconfig: add entry for meson files
Meson style guide recommends four-space indents, like for python, so add to editorconfig file.
--- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+)
.editorconfig +5 -0
@@ -17,6 +17,11 @@ max_line_length = 80 indent_style = space indent_size = 4 +[meson.build] +indent_style = space +indent_size = 4 +tab_width = 4 + [*.rst] indent_style = space indent_size = 3
Signature · 1 line
2.27.0
RFC PATCH 2/14 build: simplify library build file
In reply to Bruce RichardsonTwo simplifications can be made to the build file which reduce indentation levels and make it easier to read:
1. When meson build support was first added, the compat library existed in DPDK as a single header file. Since that header has been merged into EAL, we no longer need to support header-only libraries, so can shorten the code.
2. From meson 0.49 onwards we have the "continue" keyword available to break out of one loop iteration and begin the next. This allows us to remove blocks in the build configuration file which were conditional on the "build" variable being true. Instead we can use "continue" to abort processing at the point where the "build" value becomes false.
Since this patch changes the indentation level of large parts of the meson.build file, we use the opportunity to adjust the whitespace used to the meson-standard 4-spec indentation level.
--- lib/meson.build | 291 +++++++++++++++++++++++------------------------- 1 file changed, 141 insertions(+), 150 deletions(-)
lib/meson.build +141 -150
@@ -54,159 +54,150 @@ default_cflags += ['-DALLOW_EXPERIMENTAL_API'] default_cflags += ['-DALLOW_INTERNAL_API'] if cc.has_argument('-Wno-format-truncation') - default_cflags += '-Wno-format-truncation' + default_cflags += '-Wno-format-truncation' endif enabled_libs = [] # used to print summary at the end foreach l:libraries - build = true - reason = '<unknown reason>' # set if build == false to explain why - name = l - use_function_versioning = false - sources = [] - headers = [] - indirect_headers = [] # public headers not directly included by apps - includes = [] - cflags = default_cflags - objs = [] # other object files to link against, used e.g. for - # instruction-set optimized versions of code - - # use "deps" for internal DPDK dependencies, and "ext_deps" for - # external package/library requirements - ext_deps = [] - deps = [] - # eal is standard dependency once built - if dpdk_conf.has('RTE_LIB_EAL') - deps += ['eal'] - endif - - dir_name = 'librte_' + l - subdir(dir_name) - - if build - shared_deps = ext_deps - static_deps = ext_deps - foreach d:deps - if not is_variable('shared_rte_' + d) - error('Missing internal dependency "@0@" for @1@ [@2@]' - .format(d, name, 'lib/' + dir_name)) - endif - shared_deps += [get_variable('shared_rte_' + d)] - static_deps += [get_variable('static_rte_' + d)] - endforeach - endif - - if not build - dpdk_libs_disabled += name - set_variable(name.underscorify() + '_disable_reason', reason) - else - enabled_libs += name - dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1) - install_headers(headers) - install_headers(indirect_headers) - dpdk_chkinc_headers += headers - - libname = 'rte_' + name - includes += include_directories(dir_name) - - if sources.length() == 0 - # if no C files, just set a dependency on header path - shared_dep = declare_dependency(include_directories: includes) - static_dep = shared_dep - else - if is_windows and use_function_versioning - message('@0@: Function versioning is not supported by Windows.' - .format(name)) - endif - - if use_function_versioning - cflags += '-DRTE_USE_FUNCTION_VERSIONING' - endif - - # first build static lib - static_lib = static_library(libname, - sources, - objects: objs, - c_args: cflags, - dependencies: static_deps, - include_directories: includes, - install: true) - static_dep = declare_dependency( - include_directories: includes, - dependencies: static_deps) - - if not use_function_versioning or is_windows - # use pre-build objects to build shared lib - sources = [] - objs += static_lib.extract_all_objects(recursive: false) - else - # for compat we need to rebuild with - # RTE_BUILD_SHARED_LIB defined - cflags += '-DRTE_BUILD_SHARED_LIB' - endif - version_map = '@0@/@1@/version.map'.format( - meson.current_source_dir(), dir_name) - implib = dir_name + '.dll.a' - - def_file = custom_target(libname + '_def', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_exports.def'.format(libname)) - - mingw_map = custom_target(libname + '_mingw', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_mingw.map'.format(libname)) - - if is_ms_linker - lk_args = ['-Wl,/def:' + def_file.full_path()] - if meson.version().version_compare('<0.54.0') - lk_args += ['-Wl,/implib:lib\\' + implib] - endif - else - if is_windows - lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] - else - lk_args = ['-Wl,--version-script=' + version_map] - endif - endif - - lk_deps = [version_map, def_file, mingw_map] - if not is_windows - # on unix systems check the output of the - # check-symbols.sh script, using it as a - # dependency of the .so build - lk_deps += custom_target(name + '.sym_chk', - command: [check_symbols, - version_map, '@INPUT@'], - capture: true, - input: static_lib, - output: name + '.sym_chk') - endif - - shared_lib = shared_library(libname, - sources, - objects: objs, - c_args: cflags, - dependencies: shared_deps, - include_directories: includes, - link_args: lk_args, - link_depends: lk_deps, - version: abi_version, - soversion: so_version, - install: true) - shared_dep = declare_dependency(link_with: shared_lib, - include_directories: includes, - dependencies: shared_deps) - - dpdk_libraries = [shared_lib] + dpdk_libraries - dpdk_static_libraries = [static_lib] + dpdk_static_libraries - endif # sources.length() > 0 - - set_variable('shared_rte_' + name, shared_dep) - set_variable('static_rte_' + name, static_dep) - message('lib/@0@: Defining dependency "@1@"'.format( - dir_name, name)) - endif # if build + build = true + reason = '<unknown reason>' # set if build == false to explain why + name = l + use_function_versioning = false + sources = [] + headers = [] + indirect_headers = [] # public headers not directly included by apps + includes = [] + cflags = default_cflags + objs = [] # other object files to link against, used e.g. for + # instruction-set optimized versions of code + + # use "deps" for internal DPDK dependencies, and "ext_deps" for + # external package/library requirements + ext_deps = [] + deps = [] + # eal is standard dependency once built + if dpdk_conf.has('RTE_LIB_EAL') + deps += ['eal'] + endif + + dir_name = 'librte_' + l + subdir(dir_name) + + if not build + dpdk_libs_disabled += name + set_variable(name.underscorify() + '_disable_reason', reason) + continue + endif + + shared_deps = ext_deps + static_deps = ext_deps + foreach d:deps + if not is_variable('shared_rte_' + d) + error('Missing internal dependency "@0@" for @1@ [@2@]' + .format(d, name, 'lib/' + dir_name)) + endif + shared_deps += [get_variable('shared_rte_' + d)] + static_deps += [get_variable('static_rte_' + d)] + endforeach + + enabled_libs += name + dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1) + install_headers(headers) + install_headers(indirect_headers) + dpdk_chkinc_headers += headers + + libname = 'rte_' + name + includes += include_directories(dir_name) + + if is_windows and use_function_versioning + message('@0@: Function versioning is not supported by Windows.'.format(name)) + endif + + if use_function_versioning + cflags += '-DRTE_USE_FUNCTION_VERSIONING' + endif + + # first build static lib + static_lib = static_library(libname, + sources, + objects: objs, + c_args: cflags, + dependencies: static_deps, + include_directories: includes, + install: true) + static_dep = declare_dependency( + include_directories: includes, + dependencies: static_deps) + + if not use_function_versioning or is_windows + # use pre-build objects to build shared lib + sources = [] + objs += static_lib.extract_all_objects(recursive: false) + else + # for compat we need to rebuild with + # RTE_BUILD_SHARED_LIB defined + cflags += '-DRTE_BUILD_SHARED_LIB' + endif + version_map = '@0@/@1@/version.map'.format( + meson.current_source_dir(), dir_name) + implib = dir_name + '.dll.a' + + def_file = custom_target(libname + '_def', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_exports.def'.format(libname)) + + mingw_map = custom_target(libname + '_mingw', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_mingw.map'.format(libname)) + + if is_ms_linker + lk_args = ['-Wl,/def:' + def_file.full_path()] + if meson.version().version_compare('<0.54.0') + lk_args += ['-Wl,/implib:lib\\' + implib] + endif + else + if is_windows + lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] + else + lk_args = ['-Wl,--version-script=' + version_map] + endif + endif + + lk_deps = [version_map, def_file, mingw_map] + if not is_windows + # on unix systems check the output of the + # check-symbols.sh script, using it as a + # dependency of the .so build + lk_deps += custom_target(name + '.sym_chk', + command: [check_symbols, + version_map, '@INPUT@'], + capture: true, + input: static_lib, + output: name + '.sym_chk') + endif + + shared_lib = shared_library(libname, + sources, + objects: objs, + c_args: cflags, + dependencies: shared_deps, + include_directories: includes, + link_args: lk_args, + link_depends: lk_deps, + version: abi_version, + soversion: so_version, + install: true) + shared_dep = declare_dependency(link_with: shared_lib, + include_directories: includes, + dependencies: shared_deps) + + dpdk_libraries = [shared_lib] + dpdk_libraries + dpdk_static_libraries = [static_lib] + dpdk_static_libraries + + set_variable('shared_rte_' + name, shared_dep) + set_variable('static_rte_' + name, static_dep) + message('lib/@0@: Defining dependency "@1@"'.format(dir_name, name)) endforeach
Signature · 1 line
2.27.0
RFC PATCH 3/14 build: correct indentation in list of libs
In reply to Bruce RichardsonWith the lib/meson.build file changed from C-style indentation to python-style indentation, we need to correct the indentation of the lists of libraries, since these libs were not modified in the previous patches.
--- lib/meson.build | 72 ++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 36 deletions(-)
lib/meson.build +36 -36
@@ -9,44 +9,44 @@ # given as a dep, no need to mention ring. This is especially true for the # core libs which are widely reused, so their deps are kept to a minimum. libraries = [ - 'kvargs', # eal depends on kvargs - 'telemetry', # basic info querying - 'eal', # everything depends on eal - 'ring', - 'rcu', # rcu depends on ring - 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core - 'cmdline', - 'metrics', # bitrate/latency stats depends on this - 'hash', # efd depends on this - 'timer', # eventdev depends on this - 'acl', 'bbdev', 'bitratestats', 'cfgfile', - 'compressdev', 'cryptodev', - 'distributor', 'efd', 'eventdev', - 'gro', 'gso', 'ip_frag', 'jobstats', - 'kni', 'latencystats', 'lpm', 'member', - 'power', 'pdump', 'rawdev', 'regexdev', - 'rib', 'reorder', 'sched', 'security', 'stack', 'vhost', - # ipsec lib depends on net, crypto and security - 'ipsec', - #fib lib depends on rib - 'fib', - # add pkt framework libs which use other libs from above - 'port', 'table', 'pipeline', - # flow_classify lib depends on pkt framework table lib - 'flow_classify', 'bpf', 'graph', 'node'] + 'kvargs', # eal depends on kvargs + 'telemetry', # basic info querying + 'eal', # everything depends on eal + 'ring', + 'rcu', # rcu depends on ring + 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core + 'cmdline', + 'metrics', # bitrate/latency stats depends on this + 'hash', # efd depends on this + 'timer', # eventdev depends on this + 'acl', 'bbdev', 'bitratestats', 'cfgfile', + 'compressdev', 'cryptodev', + 'distributor', 'efd', 'eventdev', + 'gro', 'gso', 'ip_frag', 'jobstats', + 'kni', 'latencystats', 'lpm', 'member', + 'power', 'pdump', 'rawdev', 'regexdev', + 'rib', 'reorder', 'sched', 'security', 'stack', 'vhost', + # ipsec lib depends on net, crypto and security + 'ipsec', + #fib lib depends on rib + 'fib', + # add pkt framework libs which use other libs from above + 'port', 'table', 'pipeline', + # flow_classify lib depends on pkt framework table lib + 'flow_classify', 'bpf', 'graph', 'node'] if is_windows - libraries = [ - 'kvargs', - 'telemetry', - 'eal', - 'ring', - 'rcu', - 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', - 'cmdline', - 'hash', - 'cfgfile', - ] # only supported libraries for windows + libraries = [ + 'kvargs', + 'telemetry', + 'eal', + 'ring', + 'rcu', + 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', + 'cmdline', + 'hash', + 'cfgfile', + ] # only supported libraries for windows endif default_cflags = machine_args
Signature · 1 line
2.27.0
Re: [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs
01/04/2021 13:49, Bruce Richardson:
Quoted 16 lines
With the
lib/meson.buildfile changed from C-style indentation to python-style indentation, we need to correct the indentation of the lists of libraries, since these libs were not modified in the previous patches.Signed-off-by Bruce Richardson <[email protected]>---
lib/meson.build +10
-0+ 'kvargs', # eal depends on kvargs + 'telemetry', # basic info querying + 'eal', # everything depends on eal + 'ring', + 'rcu', # rcu depends on ring + 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core + 'cmdline', + 'metrics', # bitrate/latency stats depends on this + 'hash', # efd depends on this + 'timer', # eventdev depends on this
lib/meson.build line 31
Quoted 10 lines
lib/meson.build +10
-0+ 'acl', 'bbdev', 'bitratestats', 'cfgfile', + 'compressdev', 'cryptodev', + 'distributor', 'efd', 'eventdev', + 'gro', 'gso', 'ip_frag', 'jobstats', + 'kni', 'latencystats', 'lpm', 'member', + 'power', 'pdump', 'rawdev', 'regexdev', + 'rib', 'reorder', 'sched', 'security', 'stack', 'vhost', + # ipsec lib depends on net, crypto and security + 'ipsec', + #fib lib depends on rib
space missing
lib/meson.build line 36
Quoted 5 lines
lib/meson.build +5
-0+ 'fib', + # add pkt framework libs which use other libs from above + 'port', 'table', 'pipeline', + # flow_classify lib depends on pkt framework table lib + 'flow_classify', 'bpf', 'graph', 'node']
Some may deserve to be on their own line.
Re: [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs
Quoted 30 lines · Thomas Monjalon
01/04/2021 13:49, Bruce Richardson:
Quoted 16 lines
With the
lib/meson.buildfile changed from C-style indentation to python-style indentation, we need to correct the indentation of the lists of libraries, since these libs were not modified in the previous patches.Signed-off-by Bruce Richardson <[email protected]>---
lib/meson.build +10
-0+ 'kvargs', # eal depends on kvargs + 'telemetry', # basic info querying + 'eal', # everything depends on eal + 'ring', + 'rcu', # rcu depends on ring + 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core + 'cmdline', + 'metrics', # bitrate/latency stats depends on this + 'hash', # efd depends on this + 'timer', # eventdev depends on thislib/meson.build line 31
Quoted 10 lines
lib/meson.build +10
-0+ 'acl', 'bbdev', 'bitratestats', 'cfgfile', + 'compressdev', 'cryptodev', + 'distributor', 'efd', 'eventdev', + 'gro', 'gso', 'ip_frag', 'jobstats', + 'kni', 'latencystats', 'lpm', 'member', + 'power', 'pdump', 'rawdev', 'regexdev', + 'rib', 'reorder', 'sched', 'security', 'stack', 'vhost', + # ipsec lib depends on net, crypto and security + 'ipsec', + #fib lib depends on ribspace missing
Quoted 8 lines
lib/meson.build line 36
Quoted 5 lines
lib/meson.build +5
-0+ 'fib', + # add pkt framework libs which use other libs from above + 'port', 'table', 'pipeline', + # flow_classify lib depends on pkt framework table lib + 'flow_classify', 'bpf', 'graph', 'node']Some may deserve to be on their own line.
Maybe put them all on their own line, or would just just be too long a list?
RFC PATCH 4/14 build: simplify the driver build configuration file
In reply to Bruce RichardsonAs with the library meson.build file, we can use the "continue" keyword to reduce the level of indentation used for the majority of the build file. Since we are changing the whitespace indentation level, we also update the body of the foreach loop to use the meson standard, 4-space indentation.
--- drivers/meson.build | 361 ++++++++++++++++++++++---------------------- 1 file changed, 177 insertions(+), 184 deletions(-)
drivers/meson.build +177 -184
@@ -31,188 +31,181 @@ if cc.has_argument('-Wno-format-truncation') endif foreach subpath:subdirs - drivers = [] - std_deps = [] - - # subpath can be either "class" or "class/driver" - if subpath.contains('/') - driver_path = subpath.split('/') - class = driver_path[0] - drivers += driver_path[1] - else - class = subpath - subdir(class) - endif - - # save class name on first occurrence - if not dpdk_driver_classes.contains(class) - dpdk_driver_classes += class - endif - # get already enabled drivers of the same class - enabled_drivers = get_variable(class + '_drivers', []) - - foreach drv:drivers - drv_path = join_paths(class, drv) - - # set up empty variables used for build - build = true # set to false to disable, e.g. missing deps - reason = '<unknown reason>' # set if build == false to explain - name = drv - sources = [] - headers = [] - objs = [] - cflags = default_cflags - includes = [include_directories(drv_path)] - # set up internal deps. Drivers can append/override as necessary - deps = std_deps - # ext_deps: Stores external library dependency got - # using dependency() (preferred) or find_library(). - # For the find_library() case (but not with dependency()) we also - # need to specify the "-l" flags in pkgconfig_extra_libs variable - # too, so that it can be reflected in the pkgconfig output for - # static builds. - ext_deps = [] - pkgconfig_extra_libs = [] - - if disabled_drivers.contains(drv_path) - build = false - reason = 'explicitly disabled via build config' - else - # pull in driver directory which should update all the local variables - subdir(drv_path) - endif - - if build - # get dependency objs from strings - shared_deps = ext_deps - static_deps = ext_deps - foreach d:deps - if not is_variable('shared_rte_' + d) - build = false - reason = 'missing internal dependency, "@0@"'.format(d) - message('Disabling @1@ [@2@]: missing internal dependency "@0@"' - .format(d, name, 'drivers/' + drv_path)) - else - shared_deps += [get_variable('shared_rte_' + d)] - static_deps += [get_variable('static_rte_' + d)] - endif - endforeach - endif - - if not build - # some driver directories are placeholders which - # are never built, so we allow suppression of the - # component disable printout in those cases - if reason != '' - dpdk_drvs_disabled += drv_path - set_variable(drv_path.underscorify() + - '_disable_reason', reason) - endif - else - enabled_drivers += name - lib_name = '_'.join(['rte', class, name]) - dpdk_conf.set(lib_name.to_upper(), 1) - - dpdk_extra_ldflags += pkgconfig_extra_libs - - install_headers(headers) - - # generate pmdinfo sources by building a temporary - # lib and then running pmdinfogen on the contents of - # that lib. The final lib reuses the object files and - # adds in the new source file. - out_filename = lib_name + '.pmd.c' - tmp_lib = static_library('tmp_' + lib_name, - sources, - include_directories: includes, - dependencies: static_deps, - c_args: cflags) - objs += tmp_lib.extract_all_objects() - sources = custom_target(out_filename, - command: [pmdinfo, tmp_lib.full_path(), - '@OUTPUT@', pmdinfogen], - output: out_filename, - depends: [tmp_lib]) - - # now build the static driver - static_lib = static_library(lib_name, - sources, - objects: objs, - include_directories: includes, - dependencies: static_deps, - c_args: cflags, - install: true) - - # now build the shared driver - version_map = '@0@/@1@/version.map'.format( - meson.current_source_dir(), - drv_path) - implib = 'lib' + lib_name + '.dll.a' - - def_file = custom_target(lib_name + '_def', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_exports.def'.format(lib_name)) - - mingw_map = custom_target(lib_name + '_mingw', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_mingw.map'.format(lib_name)) - - lk_deps = [version_map, def_file, mingw_map] - if is_windows - if is_ms_linker - lk_args = ['-Wl,/def:' + def_file.full_path()] - if meson.version().version_compare('<0.54.0') - lk_args += ['-Wl,/implib:drivers\\' + implib] - endif - else - lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] - endif - else - lk_args = ['-Wl,--version-script=' + version_map] - # on unix systems check the output of the - # check-symbols.sh script, using it as a - # dependency of the .so build - lk_deps += custom_target(lib_name + '.sym_chk', - command: [check_symbols, - version_map, '@INPUT@'], - capture: true, - input: static_lib, - output: lib_name + '.sym_chk') - endif - - shared_lib = shared_library(lib_name, - sources, - objects: objs, - include_directories: includes, - dependencies: shared_deps, - c_args: cflags, - link_args: lk_args, - link_depends: lk_deps, - version: abi_version, - soversion: so_version, - install: true, - install_dir: driver_install_path) - - # create a dependency object and add it to the global dictionary so - # testpmd or other built-in apps can find it if necessary - shared_dep = declare_dependency(link_with: shared_lib, - include_directories: includes, - dependencies: shared_deps) - static_dep = declare_dependency( - include_directories: includes, - dependencies: static_deps) - - dpdk_drivers += static_lib - - set_variable('shared_@0@'.format(lib_name), shared_dep) - set_variable('static_@0@'.format(lib_name), static_dep) - dependency_name = ''.join(lib_name.split('rte_')) - message('drivers/@0@: Defining dependency "@1@"'.format( - drv_path, dependency_name)) - endif # build - endforeach - - set_variable(class + '_drivers', enabled_drivers) + drivers = [] + std_deps = [] + + # subpath can be either "class" or "class/driver" + if subpath.contains('/') + driver_path = subpath.split('/') + class = driver_path[0] + drivers += driver_path[1] + else + class = subpath + subdir(class) + endif + + # save class name on first occurrence + if not dpdk_driver_classes.contains(class) + dpdk_driver_classes += class + endif + # get already enabled drivers of the same class + enabled_drivers = get_variable(class + '_drivers', []) + + foreach drv:drivers + drv_path = join_paths(class, drv) + + # set up empty variables used for build + build = true # set to false to disable, e.g. missing deps + reason = '<unknown reason>' # set if build == false to explain + name = drv + sources = [] + headers = [] + objs = [] + cflags = default_cflags + includes = [include_directories(drv_path)] + # set up internal deps. Drivers can append/override as necessary + deps = std_deps + # ext_deps: Stores external library dependency got + # using dependency() (preferred) or find_library(). + # For the find_library() case (but not with dependency()) we also + # need to specify the "-l" flags in pkgconfig_extra_libs variable + # too, so that it can be reflected in the pkgconfig output for + # static builds. + ext_deps = [] + pkgconfig_extra_libs = [] + + if disabled_drivers.contains(drv_path) + build = false + reason = 'explicitly disabled via build config' + else + # pull in driver directory which should update all the local variables + subdir(drv_path) + endif + + if build + # get dependency objs from strings + shared_deps = ext_deps + static_deps = ext_deps + foreach d:deps + if not is_variable('shared_rte_' + d) + build = false + reason = 'missing internal dependency, "@0@"'.format(d) + message('Disabling @1@ [@2@]: missing internal dependency "@0@"' + .format(d, name, 'drivers/' + drv_path)) + else + shared_deps += [get_variable('shared_rte_' + d)] + static_deps += [get_variable('static_rte_' + d)] + endif + endforeach + endif + + if not build + # some driver directories are placeholders which + # are never built, so we allow suppression of the + # component disable printout in those cases + if reason != '' + dpdk_drvs_disabled += drv_path + set_variable(drv_path.underscorify() + '_disable_reason', reason) + endif + continue + endif + + enabled_drivers += name + lib_name = '_'.join(['rte', class, name]) + dpdk_conf.set(lib_name.to_upper(), 1) + + dpdk_extra_ldflags += pkgconfig_extra_libs + + install_headers(headers) + + # generate pmdinfo sources by building a temporary + # lib and then running pmdinfogen on the contents of + # that lib. The final lib reuses the object files and + # adds in the new source file. + out_filename = lib_name + '.pmd.c' + tmp_lib = static_library('tmp_' + lib_name, sources, + include_directories: includes, + dependencies: static_deps, + c_args: cflags) + objs += tmp_lib.extract_all_objects() + sources = custom_target(out_filename, + command: [pmdinfo, tmp_lib.full_path(), '@OUTPUT@', pmdinfogen], + output: out_filename, + depends: [tmp_lib]) + + # now build the static driver + static_lib = static_library(lib_name, + sources, + objects: objs, + include_directories: includes, + dependencies: static_deps, + c_args: cflags, + install: true) + + # now build the shared driver + version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path) + implib = 'lib' + lib_name + '.dll.a' + + def_file = custom_target(lib_name + '_def', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_exports.def'.format(lib_name)) + + mingw_map = custom_target(lib_name + '_mingw', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_mingw.map'.format(lib_name)) + + lk_deps = [version_map, def_file, mingw_map] + if is_windows + if is_ms_linker + lk_args = ['-Wl,/def:' + def_file.full_path()] + if meson.version().version_compare('<0.54.0') + lk_args += ['-Wl,/implib:drivers\\' + implib] + endif + else + lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] + endif + else + lk_args = ['-Wl,--version-script=' + version_map] + # on unix systems check the output of the + # check-symbols.sh script, using it as a + # dependency of the .so build + lk_deps += custom_target(lib_name + '.sym_chk', + command: [check_symbols, version_map, '@INPUT@'], + capture: true, + input: static_lib, + output: lib_name + '.sym_chk') + endif + + shared_lib = shared_library(lib_name, sources, + objects: objs, + include_directories: includes, + dependencies: shared_deps, + c_args: cflags, + link_args: lk_args, + link_depends: lk_deps, + version: abi_version, + soversion: so_version, + install: true, + install_dir: driver_install_path) + + # create a dependency object and add it to the global dictionary so + # testpmd or other built-in apps can find it if necessary + shared_dep = declare_dependency(link_with: shared_lib, + include_directories: includes, + dependencies: shared_deps) + static_dep = declare_dependency( + include_directories: includes, + dependencies: static_deps) + + dpdk_drivers += static_lib + + set_variable('shared_@0@'.format(lib_name), shared_dep) + set_variable('static_@0@'.format(lib_name), static_dep) + dependency_name = ''.join(lib_name.split('rte_')) + message('drivers/@0@: Defining dependency "@1@"'.format(drv_path, dependency_name)) + endforeach + + set_variable(class + '_drivers', enabled_drivers) endforeach
Signature · 1 line
2.27.0
RFC PATCH 5/14 build: clean up driver list indentation
In reply to Bruce RichardsonEnsure all lists of drivers are one-per-line and replace tabs with spaces in each file to correspond to the new standard.
--- drivers/baseband/meson.build | 8 ++- drivers/bus/meson.build | 7 ++- drivers/common/meson.build | 9 +++- drivers/compress/meson.build | 7 ++- drivers/crypto/meson.build | 38 ++++++------- drivers/event/meson.build | 17 ++++-- drivers/mempool/meson.build | 8 ++- drivers/meson.build | 33 ++++++------ drivers/net/meson.build | 102 +++++++++++++++++------------------ drivers/raw/meson.build | 15 +++--- drivers/regex/meson.build | 3 +- drivers/vdpa/meson.build | 4 +- 12 files changed, 142 insertions(+), 109 deletions(-)
drivers/baseband/meson.build +6 -2
@@ -2,7 +2,11 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> if is_windows - subdir_done() + subdir_done() endif -drivers = ['null', 'turbo_sw', 'fpga_lte_fec', 'fpga_5gnr_fec', 'acc100'] +drivers = ['null', + 'turbo_sw', + 'fpga_lte_fec', + 'fpga_5gnr_fec', + 'acc100']
drivers/bus/meson.build +6 -1
@@ -1,5 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['dpaa', 'fslmc', 'ifpga', 'pci', 'vdev', 'vmbus'] +drivers = ['dpaa', + 'fslmc', + 'ifpga', + 'pci', + 'vdev', + 'vmbus'] std_deps = ['eal']
drivers/common/meson.build +7 -2
@@ -2,8 +2,13 @@ # Copyright(c) 2018 Cavium, Inc if is_windows - subdir_done() + subdir_done() endif std_deps = ['eal'] -drivers = ['cpt', 'dpaax', 'iavf', 'mvep', 'octeontx', 'octeontx2'] +drivers = ['cpt', + 'dpaax', + 'iavf', + 'mvep', + 'octeontx', + 'octeontx2']
drivers/compress/meson.build +5 -2
@@ -2,9 +2,12 @@ # Copyright(c) 2018 Intel Corporation if is_windows - subdir_done() + subdir_done() endif -drivers = ['isal', 'mlx5', 'octeontx', 'zlib'] +drivers = ['isal', + 'mlx5', + 'octeontx', + 'zlib'] std_deps = ['compressdev'] # compressdev pulls in all other needed deps
drivers/crypto/meson.build +19 -19
@@ -2,27 +2,27 @@ # Copyright(c) 2017 Intel Corporation if is_windows - subdir_done() + subdir_done() endif drivers = ['aesni_gcm', - 'aesni_mb', - 'armv8', - 'bcmfs', - 'caam_jr', - 'ccp', - 'dpaa_sec', - 'dpaa2_sec', - 'kasumi', - 'mvsam', - 'nitrox', - 'null', - 'octeontx', - 'octeontx2', - 'openssl', - 'scheduler', - 'snow3g', - 'virtio', - 'zuc'] + 'aesni_mb', + 'armv8', + 'bcmfs', + 'caam_jr', + 'ccp', + 'dpaa_sec', + 'dpaa2_sec', + 'kasumi', + 'mvsam', + 'nitrox', + 'null', + 'octeontx', + 'octeontx2', + 'openssl', + 'scheduler', + 'snow3g', + 'virtio', + 'zuc'] std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
drivers/event/meson.build +12 -5
@@ -2,13 +2,20 @@ # Copyright(c) 2017 Intel Corporation if is_windows - subdir_done() + subdir_done() endif -drivers = ['dlb', 'dlb2', 'dpaa', 'dpaa2', 'octeontx2', 'opdl', 'skeleton', 'sw', - 'dsw'] +drivers = ['dlb', + 'dlb2', + 'dpaa', + 'dpaa2', + 'octeontx2', + 'opdl', + 'skeleton', + 'sw', + 'dsw'] if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and - dpdk_conf.has('RTE_ARCH_ARM64')) - drivers += 'octeontx' + dpdk_conf.has('RTE_ARCH_ARM64')) + drivers += 'octeontx' endif std_deps = ['eventdev', 'kvargs']
drivers/mempool/meson.build +7 -1
@@ -1,5 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['bucket', 'dpaa', 'dpaa2', 'octeontx', 'octeontx2', 'ring', 'stack'] +drivers = ['bucket', + 'dpaa', + 'dpaa2', + 'octeontx', + 'octeontx2', + 'ring', + 'stack'] std_deps = ['mempool']
drivers/meson.build +16 -17
@@ -3,31 +3,30 @@ # Defines the order of dependencies evaluation subdirs = [ - 'common', - 'bus', - 'common/mlx5', # depends on bus. - 'common/qat', # depends on bus. - 'common/sfc_efx', # depends on bus. - 'mempool', # depends on common and bus. - 'net', # depends on common, bus, mempool - 'raw', # depends on common, bus and net. - 'crypto', # depends on common, bus and mempool (net in future). - 'compress', # depends on common, bus, mempool. - 'regex', # depends on common, bus, regexdev. - 'vdpa', # depends on common, bus and mempool. - 'event', # depends on common, bus, mempool and net. - 'baseband', # depends on common and bus. + 'common', + 'bus', + 'common/mlx5', # depends on bus. + 'common/qat', # depends on bus. + 'common/sfc_efx', # depends on bus. + 'mempool', # depends on common and bus. + 'net', # depends on common, bus, mempool + 'raw', # depends on common, bus and net. + 'crypto', # depends on common, bus and mempool (net in future). + 'compress', # depends on common, bus, mempool. + 'regex', # depends on common, bus, regexdev. + 'vdpa', # depends on common, bus and mempool. + 'event', # depends on common, bus, mempool and net. + 'baseband', # depends on common and bus. ] -disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'), - ).stdout().split() +disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers')).stdout().split() default_cflags = machine_args default_cflags += ['-DALLOW_EXPERIMENTAL_API'] default_cflags += ['-DALLOW_INTERNAL_API'] if cc.has_argument('-Wno-format-truncation') - default_cflags += '-Wno-format-truncation' + default_cflags += '-Wno-format-truncation' endif foreach subpath:subdirs
drivers/net/meson.build +51 -51
108 lines not on this page · raw message
drivers/raw/meson.build +9 -6
@@ -2,12 +2,15 @@ # Copyright 2018 NXP if is_windows - subdir_done() + subdir_done() endif -drivers = ['dpaa2_cmdif', 'dpaa2_qdma', - 'ifpga', 'ioat', 'ntb', - 'octeontx2_dma', - 'octeontx2_ep', - 'skeleton'] +drivers = ['dpaa2_cmdif', + 'dpaa2_qdma', + 'ifpga', + 'ioat', + 'ntb', + 'octeontx2_dma', + 'octeontx2_ep', + 'skeleton'] std_deps = ['rawdev']
drivers/regex/meson.build +2 -1
@@ -1,5 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2020 Mellanox Technologies, Ltd -drivers = ['mlx5', 'octeontx2'] +drivers = ['mlx5', + 'octeontx2'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
drivers/vdpa/meson.build +2 -2
@@ -2,10 +2,10 @@ # Copyright 2019 Mellanox Technologies, Ltd if is_windows - subdir_done() + subdir_done() endif drivers = ['ifc', - 'mlx5',] + 'mlx5',] std_deps = ['bus_pci', 'kvargs'] std_deps += ['vhost']
Signature · 1 line
2.27.0
Re: [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation
Quoted 27 lines · Bruce Richardson
Ensure all lists of drivers are one-per-line and replace tabs with spaces in each file to correspond to the new standard.
Signed-off-by Bruce Richardson <[email protected]>--- drivers/baseband/meson.build | 8 ++- drivers/bus/meson.build | 7 ++- drivers/common/meson.build | 9 +++- drivers/compress/meson.build | 7 ++- drivers/crypto/meson.build | 38 ++++++------- drivers/event/meson.build | 17 ++++-- drivers/mempool/meson.build | 8 ++- drivers/meson.build | 33 ++++++------ drivers/net/meson.build | 102 +++++++++++++++++------------------ drivers/raw/meson.build | 15 +++--- drivers/regex/meson.build | 3 +- drivers/vdpa/meson.build | 4 +- 12 files changed, 142 insertions(+), 109 deletions(-)drivers/baseband/meson.build +0
-0@@ -2,7 +2,11 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> if is_windows
drivers/baseband/meson.build line 12
Quoted 10 lines
drivers/baseband/meson.build +6
-2- subdir_done() + subdir_done() endif -drivers = ['null', 'turbo_sw', 'fpga_lte_fec', 'fpga_5gnr_fec', 'acc100'] +drivers = ['null', + 'turbo_sw', + 'fpga_lte_fec', + 'fpga_5gnr_fec', + 'acc100']
It looks like it is more than 4 spaces here (and many similar cases below), but previous patch and longs lists below in the file use 4 spaces alignment.
Re: [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation
Quoted 32 lines · Andrew Rybchenko
Quoted 31 lines · Bruce Richardson
Ensure all lists of drivers are one-per-line and replace tabs with spaces in each file to correspond to the new standard.
Signed-off-by Bruce Richardson <[email protected]>--- drivers/baseband/meson.build | 8 ++- drivers/bus/meson.build | 7 ++- drivers/common/meson.build | 9 +++- drivers/compress/meson.build | 7 ++- drivers/crypto/meson.build | 38 ++++++------- drivers/event/meson.build | 17 ++++-- drivers/mempool/meson.build | 8 ++- drivers/meson.build | 33 ++++++------ drivers/net/meson.build | 102 +++++++++++++++++------------------ drivers/raw/meson.build | 15 +++--- drivers/regex/meson.build | 3 +- drivers/vdpa/meson.build | 4 +- 12 files changed, 142 insertions(+), 109 deletions(-)drivers/baseband/meson.build +1
-1@@ -2,7 +2,11 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> if is_windows - subdir_done() + subdir_done() endif
Quoted 10 lines
drivers/baseband/meson.build line 12
Quoted 6 lines
drivers/baseband/meson.build +5
-1-drivers = ['null', 'turbo_sw', 'fpga_lte_fec', 'fpga_5gnr_fec', 'acc100'] +drivers = ['null', + 'turbo_sw', + 'fpga_lte_fec', + 'fpga_5gnr_fec', + 'acc100']It looks like it is more than 4 spaces here (and many similar cases below), but previous patch and longs lists below in the file use 4 spaces alignment.
Yes, for indenting line continuations, I've tended to prefer to use a double-indent, and save single indent for new blocks of code.
Re: [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation
Quoted 42 lines · Bruce Richardson
Quoted 32 lines · Andrew Rybchenko
Quoted 31 lines · Bruce Richardson
Ensure all lists of drivers are one-per-line and replace tabs with spaces in each file to correspond to the new standard.
Signed-off-by Bruce Richardson <[email protected]>--- drivers/baseband/meson.build | 8 ++- drivers/bus/meson.build | 7 ++- drivers/common/meson.build | 9 +++- drivers/compress/meson.build | 7 ++- drivers/crypto/meson.build | 38 ++++++------- drivers/event/meson.build | 17 ++++-- drivers/mempool/meson.build | 8 ++- drivers/meson.build | 33 ++++++------ drivers/net/meson.build | 102 +++++++++++++++++------------------ drivers/raw/meson.build | 15 +++--- drivers/regex/meson.build | 3 +- drivers/vdpa/meson.build | 4 +- 12 files changed, 142 insertions(+), 109 deletions(-)drivers/baseband/meson.build +1
-1@@ -2,7 +2,11 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> if is_windows - subdir_done() + subdir_done() endifQuoted 9 lines
drivers/baseband/meson.build line 12
Quoted 6 lines
drivers/baseband/meson.build +5
-1-drivers = ['null', 'turbo_sw', 'fpga_lte_fec', 'fpga_5gnr_fec', 'acc100'] +drivers = ['null', + 'turbo_sw', + 'fpga_lte_fec', + 'fpga_5gnr_fec', + 'acc100']It looks like it is more than 4 spaces here (and many similar cases below), but previous patch and longs lists below in the file use 4 spaces alignment.
Quoted 2 lines
Yes, for indenting line continuations, I've tended to prefer to use a double-indent, and save single indent for new blocks of code.
I see. May be it is better to put the first 'null' and the last 'acc100' on its own line with trailing comma?
Also shouldn't the list be alpha-numerically sorted?
RFC PATCH 6/14 build: reduce indentation in app build spec
In reply to Bruce RichardsonAs with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
--- app/meson.build | 100 ++++++++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 50 deletions(-)
app/meson.build +50 -50
@@ -2,71 +2,71 @@ # Copyright(c) 2017-2019 Intel Corporation if is_windows - subdir_done() + subdir_done() endif apps = [ - 'pdump', - 'proc-info', - 'test-acl', - 'test-bbdev', - 'test-cmdline', - 'test-compress-perf', - 'test-crypto-perf', - 'test-eventdev', - 'test-fib', - 'test-flow-perf', - 'test-pipeline', - 'test-pmd', - 'test-regex', - 'test-sad'] + 'pdump', + 'proc-info', + 'test-acl', + 'test-bbdev', + 'test-cmdline', + 'test-compress-perf', + 'test-crypto-perf', + 'test-eventdev', + 'test-fib', + 'test-flow-perf', + 'test-pipeline', + 'test-pmd', + 'test-regex', + 'test-sad'] default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API'] default_ldflags = [] if get_option('default_library') == 'static' and not is_windows - default_ldflags += ['-Wl,--export-dynamic'] + default_ldflags += ['-Wl,--export-dynamic'] endif foreach app:apps - build = true - name = app - sources = [] - includes = [] - cflags = default_cflags - ldflags = default_ldflags - objs = [] # other object files to link against, used e.g. for - # instruction-set optimized versions of code + build = true + name = app + sources = [] + includes = [] + cflags = default_cflags + ldflags = default_ldflags + objs = [] # other object files to link against, used e.g. for + # instruction-set optimized versions of code - # use "deps" for internal DPDK dependencies, and "ext_deps" for - # external package/library requirements - ext_deps = [] - deps = [] + # use "deps" for internal DPDK dependencies, and "ext_deps" for + # external package/library requirements + ext_deps = [] + deps = [] - subdir(name) + subdir(name) - if build - dep_objs = [] - foreach d:deps - dep_objs += get_variable(get_option('default_library') - + '_rte_' + d) - endforeach + if not build + continue + endif - link_libs = [] - if get_option('default_library') == 'static' - link_libs = dpdk_static_libraries + dpdk_drivers - endif + dep_objs = [] + foreach d:deps + dep_objs += get_variable(get_option('default_library') + '_rte_' + d) + endforeach - executable('dpdk-' + name, - sources, - c_args: cflags, - link_args: ldflags, - link_whole: link_libs, - dependencies: dep_objs, - include_directories: includes, - install_rpath: join_paths(get_option('prefix'), - driver_install_path), - install: true) - endif + link_libs = [] + if get_option('default_library') == 'static' + link_libs = dpdk_static_libraries + dpdk_drivers + endif + + executable('dpdk-' + name, + sources, + c_args: cflags, + link_args: ldflags, + link_whole: link_libs, + dependencies: dep_objs, + include_directories: includes, + install_rpath: join_paths(get_option('prefix'), driver_install_path), + install: true) endforeach # special case the autotests
Signature · 1 line
2.27.0
Re: [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec
01/04/2021 13:50, Bruce Richardson:
Quoted 10 lines
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
Signed-off-by Bruce Richardson <[email protected]>---
app/meson.build +4
-0+ 'pdump', + 'proc-info', + 'test-acl', + 'test-bbdev',
app/meson.build line 22
Quoted 10 lines
app/meson.build +10
-0+ 'test-cmdline', + 'test-compress-perf', + 'test-crypto-perf', + 'test-eventdev', + 'test-fib', + 'test-flow-perf', + 'test-pipeline', + 'test-pmd', + 'test-regex', + 'test-sad']
Can we have an extra comma like this?
'test-sad',
]
Re: [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec
Quoted 22 lines · Thomas Monjalon
01/04/2021 13:50, Bruce Richardson:
Quoted 10 lines
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
Signed-off-by Bruce Richardson <[email protected]>---
app/meson.build +4
-0+ 'pdump', + 'proc-info', + 'test-acl', + 'test-bbdev',app/meson.build line 22
Quoted 10 lines
app/meson.build +10
-0+ 'test-cmdline', + 'test-compress-perf', + 'test-crypto-perf', + 'test-eventdev', + 'test-fib', + 'test-flow-perf', + 'test-pipeline', + 'test-pmd', + 'test-regex', + 'test-sad']
Quoted 5 lines
Can we have an extra comma like this?
'test-sad',]
Not sure about changes of that magnitude. :-)
Will try and standardize on that on all lists for a V2.
RFC PATCH 7/14 build: reduce indentation in examples build spec
In reply to Bruce RichardsonAs with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
--- examples/meson.build | 158 ++++++++++++++++++++++--------------------- 1 file changed, 80 insertions(+), 78 deletions(-)
examples/meson.build +80 -78
@@ -3,109 +3,111 @@ link_whole_libs = [] if get_option('default_library') == 'static' - link_whole_libs = dpdk_static_libraries + dpdk_drivers + link_whole_libs = dpdk_static_libraries + dpdk_drivers endif # list of all example apps. Keep 1-3 per line, in alphabetical order. all_examples = [ - 'bbdev_app', 'bond', - 'cmdline', - 'distributor', 'ethtool', - 'eventdev_pipeline', - 'fips_validation', 'flow_classify', - 'flow_filtering', 'helloworld', - 'ioat', - 'ip_fragmentation', 'ip_pipeline', - 'ip_reassembly', 'ipsec-secgw', - 'ipv4_multicast', 'kni', - 'l2fwd', 'l2fwd-cat', 'l2fwd-event', - 'l2fwd-crypto', 'l2fwd-jobstats', - 'l2fwd-keepalive', 'l3fwd', - 'l3fwd-acl', 'l3fwd-power', 'l3fwd-graph', - 'link_status_interrupt', - 'multi_process/client_server_mp/mp_client', - 'multi_process/client_server_mp/mp_server', - 'multi_process/hotplug_mp', - 'multi_process/simple_mp', - 'multi_process/symmetric_mp', - 'ntb', 'packet_ordering', - 'performance-thread/l3fwd-thread', - 'performance-thread/pthread_shim', - 'pipeline', - 'ptpclient', - 'qos_meter', 'qos_sched', - 'rxtx_callbacks', - 'server_node_efd/node', - 'server_node_efd/server', - 'service_cores', - 'skeleton', - 'timer', 'vdpa', - 'vhost', 'vhost_crypto', - 'vhost_blk', 'vm_power_manager', - 'vm_power_manager/guest_cli', - 'vmdq', 'vmdq_dcb', + 'bbdev_app', 'bond', + 'cmdline', + 'distributor', 'ethtool', + 'eventdev_pipeline', + 'fips_validation', 'flow_classify', + 'flow_filtering', 'helloworld', + 'ioat', + 'ip_fragmentation', 'ip_pipeline', + 'ip_reassembly', 'ipsec-secgw', + 'ipv4_multicast', 'kni', + 'l2fwd', 'l2fwd-cat', 'l2fwd-event', + 'l2fwd-crypto', 'l2fwd-jobstats', + 'l2fwd-keepalive', 'l3fwd', + 'l3fwd-acl', 'l3fwd-power', 'l3fwd-graph', + 'link_status_interrupt', + 'multi_process/client_server_mp/mp_client', + 'multi_process/client_server_mp/mp_server', + 'multi_process/hotplug_mp', + 'multi_process/simple_mp', + 'multi_process/symmetric_mp', + 'ntb', 'packet_ordering', + 'performance-thread/l3fwd-thread', + 'performance-thread/pthread_shim', + 'pipeline', + 'ptpclient', + 'qos_meter', 'qos_sched', + 'rxtx_callbacks', + 'server_node_efd/node', + 'server_node_efd/server', + 'service_cores', + 'skeleton', + 'timer', 'vdpa', + 'vhost', 'vhost_crypto', + 'vhost_blk', 'vm_power_manager', + 'vm_power_manager/guest_cli', + 'vmdq', 'vmdq_dcb', ] # on install, skip copying all meson.build files ex_file_excludes = ['meson.build'] foreach ex:all_examples - ex_file_excludes += [ex + '/meson.build'] + ex_file_excludes += [ex + '/meson.build'] endforeach if get_option('examples') == '' - subdir_done() + subdir_done() endif if get_option('examples').to_lower() == 'all' - examples = all_examples - allow_skips = true # don't flag an error if we can't build an app + examples = all_examples + allow_skips = true # don't flag an error if we can't build an app else - examples = get_option('examples').split(',') - allow_skips = false # error out if we can't build a requested app + examples = get_option('examples').split(',') + allow_skips = false # error out if we can't build a requested app endif default_cflags = machine_args if cc.has_argument('-Wno-format-truncation') - default_cflags += '-Wno-format-truncation' + default_cflags += '-Wno-format-truncation' endif default_ldflags = dpdk_extra_ldflags if get_option('default_library') == 'static' and not is_windows - default_ldflags += ['-Wl,--export-dynamic'] + default_ldflags += ['-Wl,--export-dynamic'] endif foreach example: examples - name = example.split('/')[-1] - build = true - sources = [] - allow_experimental_apis = false - cflags = default_cflags - ldflags = default_ldflags + name = example.split('/')[-1] + build = true + sources = [] + allow_experimental_apis = false + cflags = default_cflags + ldflags = default_ldflags - ext_deps = [] - includes = [include_directories(example)] - deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] - subdir(example) + ext_deps = [] + includes = [include_directories(example)] + deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] + subdir(example) - if build - dep_objs = ext_deps - foreach d:deps - var_name = get_option('default_library') + '_rte_' + d - if not is_variable(var_name) - error('Missing dependency "@0@" for example "@1@"'.format(d, name)) - endif - dep_objs += [get_variable(var_name)] - endforeach - if allow_experimental_apis - cflags += '-DALLOW_EXPERIMENTAL_API' - endif - executable('dpdk-' + name, sources, - include_directories: includes, - link_whole: link_whole_libs, - link_args: ldflags, - c_args: cflags, - dependencies: dep_objs) - elif not allow_skips - error('Cannot build requested example "' + name + '"') - else - message('Skipping example "' + name + '"') - endif + if not build + if not allow_skips + error('Cannot build requested example "' + name + '"') + endif + message('Skipping example "' + name + '"') + continue + endif + + dep_objs = ext_deps + foreach d:deps + var_name = get_option('default_library') + '_rte_' + d + if not is_variable(var_name) + error('Missing dependency "@0@" for example "@1@"'.format(d, name)) + endif + dep_objs += [get_variable(var_name)] + endforeach + if allow_experimental_apis + cflags += '-DALLOW_EXPERIMENTAL_API' + endif + executable('dpdk-' + name, sources, + include_directories: includes, + link_whole: link_whole_libs, + link_args: ldflags, + c_args: cflags, + dependencies: dep_objs) endforeach
Signature · 1 line
2.27.0
RFC PATCH 8/14 build: change infrastructure file tabs to spaces
In reply to Bruce RichardsonSwitch from using tabs to 4 spaces for meson.build indentation, for the basic infrastructure and tooling files, as well as doc and kernel directories.
--- buildtools/chkincs/meson.build | 24 +- buildtools/meson.build | 34 +-- buildtools/pkg-config/meson.build | 34 +-- config/arm/meson.build | 448 +++++++++++++++--------------- config/meson.build | 278 +++++++++--------- config/ppc/meson.build | 8 +- config/x86/meson.build | 64 ++--- doc/api/meson.build | 36 +-- doc/guides/meson.build | 24 +- doc/meson.build | 6 +- kernel/freebsd/meson.build | 32 +-- kernel/linux/kni/meson.build | 40 +-- kernel/linux/meson.build | 112 ++++---- meson.build | 82 +++--- meson_options.txt | 34 +-- usertools/meson.build | 8 +- 16 files changed, 632 insertions(+), 632 deletions(-)
buildtools/chkincs/meson.build +12 -12
@@ -2,19 +2,19 @@ # Copyright(c) 2021 Intel Corporation if not get_option('check_includes') - build = false - subdir_done() + build = false + subdir_done() endif if is_windows - # for windows, the shebang line in the script won't work. - error('option "check_includes" is not supported on windows') + # for windows, the shebang line in the script won't work. + error('option "check_includes" is not supported on windows') endif gen_c_file_for_header = find_program('gen_c_file_for_header.py') gen_c_files = generator(gen_c_file_for_header, - output: '@[email protected]', - arguments: ['@INPUT@', '@OUTPUT@']) + output: '@[email protected]', + arguments: ['@INPUT@', '@OUTPUT@']) cflags = machine_args cflags += '-DALLOW_EXPERIMENTAL_API'
@@ -24,12 +24,12 @@ sources += gen_c_files.process(dpdk_chkinc_headers) deps = [] foreach l:enabled_libs - deps += get_variable('static_rte_' + l) + deps += get_variable('static_rte_' + l) endforeach executable('chkincs', sources, - c_args: cflags, - include_directories: includes, - dependencies: deps, - link_whole: dpdk_static_libraries + dpdk_drivers, - install: false) + c_args: cflags, + include_directories: includes, + dependencies: deps, + link_whole: dpdk_static_libraries + dpdk_drivers, + install: false)
buildtools/meson.build +17 -17
@@ -10,9 +10,9 @@ binutils_avx512_check = find_program('binutils-avx512-check.sh') # set up map-to-win script using python, either built-in or external python3 = import('python').find_installation(required: false) if python3.found() - py3 = [python3] + py3 = [python3] else - py3 = ['meson', 'runpython'] + py3 = ['meson', 'runpython'] endif map_to_win_cmd = py3 + files('map_to_win.py') sphinx_wrapper = py3 + files('call-sphinx-build.py')
@@ -21,27 +21,27 @@ sphinx_wrapper = py3 + files('call-sphinx-build.py') pmdinfo = py3 + files('gen-pmdinfo-cfile.py') + [meson.current_build_dir()] pmdinfogen = py3 + files('pmdinfogen.py') if host_machine.system() == 'windows' - if cc.get_id() == 'gcc' - pmdinfo += 'ar' - else - pmdinfo += 'llvm-ar' - endif - pmdinfogen += 'coff' + if cc.get_id() == 'gcc' + pmdinfo += 'ar' + else + pmdinfo += 'llvm-ar' + endif + pmdinfogen += 'coff' else - pmdinfo += 'ar' - pmdinfogen += 'elf' + pmdinfo += 'ar' + pmdinfogen += 'elf' endif # TODO: starting from Meson 0.51.0 use -# python3 = import('python').find_installation('python', -# modules : python3_required_modules) +# python3 = import('python').find_installation('python', +# modules : python3_required_modules) python3_required_modules = [] if host_machine.system() != 'windows' - python3_required_modules = ['elftools'] + python3_required_modules = ['elftools'] endif foreach module : python3_required_modules - script = 'import importlib.util; import sys; exit(importlib.util.find_spec("@0@") is None)' - if run_command(py3, '-c', script.format(module)).returncode() != 0 - error('missing python module: @0@'.format(module)) - endif + script = 'import importlib.util; import sys; exit(importlib.util.find_spec("@0@") is None)' + if run_command(py3, '-c', script.format(module)).returncode() != 0 + error('missing python module: @0@'.format(module)) + endif endforeach
buildtools/pkg-config/meson.build +17 -17
@@ -4,7 +4,7 @@ pkg = import('pkgconfig') pkg_extra_cflags = ['-include', 'rte_config.h'] + machine_args if is_freebsd - pkg_extra_cflags += ['-D__BSD_VISIBLE'] + pkg_extra_cflags += ['-D__BSD_VISIBLE'] endif # When calling pkg-config --static --libs, pkg-config will always output the
@@ -28,30 +28,30 @@ endif pkg.generate(name: 'dpdk-libs', - filebase: 'libdpdk-libs', - description: '''Internal-only DPDK pkgconfig file. Not for direct use. + filebase: 'libdpdk-libs', + description: '''Internal-only DPDK pkgconfig file. Not for direct use. Use libdpdk.pc instead of this file to query DPDK compile/link arguments''', - version: meson.project_version(), - subdirs: [get_option('include_subdir_arch'), '.'], - extra_cflags: pkg_extra_cflags, - libraries: ['-Wl,--as-needed'] + dpdk_libraries, - libraries_private: dpdk_extra_ldflags) + version: meson.project_version(), + subdirs: [get_option('include_subdir_arch'), '.'], + extra_cflags: pkg_extra_cflags, + libraries: ['-Wl,--as-needed'] + dpdk_libraries, + libraries_private: dpdk_extra_ldflags) platform_flags = [] if not is_windows - platform_flags += ['-Wl,--export-dynamic'] # ELF only + platform_flags += ['-Wl,--export-dynamic'] # ELF only endif pkg.generate(name: 'DPDK', # main DPDK pkgconfig file - filebase: 'libdpdk', - version: meson.project_version(), - description: '''The Data Plane Development Kit (DPDK). + filebase: 'libdpdk', + version: meson.project_version(), + description: '''The Data Plane Development Kit (DPDK). Note that CFLAGS might contain an -march flag higher than typical baseline. This is required for a number of static inline functions in the public headers.''', - requires: ['libdpdk-libs', libbsd], # may need libbsd for string funcs - # if libbsd is not enabled, then this is blank - libraries_private: ['-Wl,--whole-archive'] + - dpdk_drivers + dpdk_static_libraries + - ['-Wl,--no-whole-archive'] + platform_flags + requires: ['libdpdk-libs', libbsd], # may need libbsd for string funcs + # if libbsd is not enabled, then this is blank + libraries_private: ['-Wl,--whole-archive'] + + dpdk_drivers + dpdk_static_libraries + + ['-Wl,--no-whole-archive'] + platform_flags ) # For static linking with dependencies as shared libraries,
config/arm/meson.build +224 -224
510 lines not on this page · raw message
config/meson.build +139 -139
442 lines not on this page · raw message
config/ppc/meson.build +4 -4
@@ -2,7 +2,7 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> if not dpdk_conf.get('RTE_ARCH_64') - error('Only 64-bit compiles are supported for this platform type') + error('Only 64-bit compiles are supported for this platform type') endif dpdk_conf.set('RTE_ARCH', 'ppc_64') dpdk_conf.set('RTE_ARCH_PPC_64', 1)
@@ -12,9 +12,9 @@ dpdk_conf.set('RTE_ARCH_PPC_64', 1) # is used, resulting in a build failure. power9_supported = cc.has_argument('-mcpu=power9') if not power9_supported - machine = 'power8' - machine_args = ['-mcpu=power8', '-mtune=power8'] - dpdk_conf.set('RTE_MACHINE','power8') + machine = 'power8' + machine_args = ['-mcpu=power8', '-mtune=power8'] + dpdk_conf.set('RTE_MACHINE','power8') endif # overrides specific to ppc64
config/x86/meson.build +32 -32
89 lines not on this page · raw message
doc/api/meson.build +18 -18
@@ -23,12 +23,12 @@ htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk') # false it would be impossible to install the docs. # So use a configure option for now. example = custom_target('examples.dox', - output: 'examples.dox', - command: [generate_examples, join_paths(meson.source_root(), 'examples'), '@OUTPUT@'], - depfile: 'examples.dox.d', - install: get_option('enable_docs'), - install_dir: htmldir, - build_by_default: get_option('enable_docs')) + output: 'examples.dox', + command: [generate_examples, join_paths(meson.source_root(), 'examples'), '@OUTPUT@'], + depfile: 'examples.dox.d', + install: get_option('enable_docs'), + install_dir: htmldir, + build_by_default: get_option('enable_docs')) cdata = configuration_data() cdata.set('VERSION', meson.project_version())
@@ -39,23 +39,23 @@ cdata.set('TOPDIR', meson.source_root()) cdata.set('STRIP_FROM_PATH', meson.source_root()) cdata.set('WARN_AS_ERROR', 'NO') if get_option('werror') - cdata.set('WARN_AS_ERROR', 'YES') + cdata.set('WARN_AS_ERROR', 'YES') endif doxy_conf = configure_file(input: 'doxy-api.conf.in', - output: 'doxy-api.conf', - configuration: cdata) + output: 'doxy-api.conf', + configuration: cdata) doxy_build = custom_target('doxygen', - depends: example, - depend_files: 'doxy-api-index.md', - input: doxy_conf, - output: 'html', - depfile: 'html.d', - command: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css], - install: get_option('enable_docs'), - install_dir: htmldir, - build_by_default: get_option('enable_docs')) + depends: example, + depend_files: 'doxy-api-index.md', + input: doxy_conf, + output: 'html', + depfile: 'html.d', + command: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css], + install: get_option('enable_docs'), + install_dir: htmldir, + build_by_default: get_option('enable_docs')) doc_targets += doxy_build doc_target_names += 'Doxygen_API'
doc/guides/meson.build +12 -12
@@ -4,28 +4,28 @@ sphinx = find_program('sphinx-build', required: get_option('enable_docs')) if not sphinx.found() - subdir_done() + subdir_done() endif extra_sphinx_args = [] if get_option('werror') - extra_sphinx_args += '-W' + extra_sphinx_args += '-W' endif htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk') html_guides = custom_target('html_guides', - input: files('index.rst'), - output: 'html', - command: [sphinx_wrapper, sphinx, meson.project_version(), - meson.current_source_dir(), meson.current_build_dir(), - extra_sphinx_args], - depfile: '.html.d', - build_by_default: get_option('enable_docs'), - install: get_option('enable_docs'), - install_dir: htmldir) + input: files('index.rst'), + output: 'html', + command: [sphinx_wrapper, sphinx, meson.project_version(), + meson.current_source_dir(), meson.current_build_dir(), + extra_sphinx_args], + depfile: '.html.d', + build_by_default: get_option('enable_docs'), + install: get_option('enable_docs'), + install_dir: htmldir) install_data(files('custom.css'), - install_dir: join_paths(htmldir,'_static', 'css')) + install_dir: join_paths(htmldir,'_static', 'css')) doc_targets += html_guides doc_target_names += 'HTML_Guides'
doc/meson.build +3 -3
@@ -7,9 +7,9 @@ subdir('api') subdir('guides') if doc_targets.length() == 0 - message = 'No docs targets found' + message = 'No docs targets found' else - message = 'Building docs:' + message = 'Building docs:' endif run_target('doc', command: ['echo', message, doc_target_names], - depends: doc_targets) + depends: doc_targets)
kernel/freebsd/meson.build +16 -16
@@ -10,26 +10,26 @@ kmods = ['contigmem', 'nic_uio'] # files from the individual meson.build files, and then use a custom # target to call make, passing in the values as env parameters. kmod_cflags = ['-I' + meson.build_root(), - '-I' + join_paths(meson.source_root(), 'config'), - '-include rte_config.h'] + '-I' + join_paths(meson.source_root(), 'config'), + '-include rte_config.h'] # to avoid warnings due to race conditions with creating the dev_if.h, etc. # files, serialize the kernel module builds. Each module will depend on # previous ones built_kmods = [] foreach k:kmods - subdir(k) - built_kmods += custom_target(k, - input: [files('BSDmakefile.meson'), sources], - output: k + '.ko', - command: ['make', '-f', '@INPUT0@', - 'KMOD_OBJDIR=@OUTDIR@', - 'KMOD_SRC=@INPUT1@', - 'KMOD=' + k, - 'KMOD_CFLAGS=' + ' '.join(kmod_cflags), - 'CC=clang'], - depends: built_kmods, # make each module depend on prev - build_by_default: get_option('enable_kmods'), - install: get_option('enable_kmods'), - install_dir: '/boot/modules/') + subdir(k) + built_kmods += custom_target(k, + input: [files('BSDmakefile.meson'), sources], + output: k + '.ko', + command: ['make', '-f', '@INPUT0@', + 'KMOD_OBJDIR=@OUTDIR@', + 'KMOD_SRC=@INPUT1@', + 'KMOD=' + k, + 'KMOD_CFLAGS=' + ' '.join(kmod_cflags), + 'CC=clang'], + depends: built_kmods, # make each module depend on prev + build_by_default: get_option('enable_kmods'), + install: get_option('enable_kmods'), + install_dir: '/boot/modules/') endforeach
kernel/linux/kni/meson.build +20 -20
@@ -2,27 +2,27 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> kni_mkfile = custom_target('rte_kni_makefile', - output: 'Makefile', - command: ['touch', '@OUTPUT@']) + output: 'Makefile', + command: ['touch', '@OUTPUT@']) kni_sources = files( - 'kni_misc.c', - 'kni_net.c', - 'Kbuild') + 'kni_misc.c', + 'kni_net.c', + 'Kbuild') custom_target('rte_kni', - input: kni_sources, - output: 'rte_kni.ko', - command: ['make', '-j4', '-C', kernel_build_dir, - 'M=' + meson.current_build_dir(), - 'src=' + meson.current_source_dir(), - 'MODULE_CFLAGS=-include ' + meson.source_root() + '/config/rte_config.h' + - ' -I' + meson.source_root() + '/lib/librte_eal/include' + - ' -I' + meson.source_root() + '/lib/librte_kni' + - ' -I' + meson.build_root() + - ' -I' + meson.current_source_dir(), - 'modules'] + cross_args, - depends: kni_mkfile, - install: install, - install_dir: kernel_install_dir, - build_by_default: get_option('enable_kmods')) + input: kni_sources, + output: 'rte_kni.ko', + command: ['make', '-j4', '-C', kernel_build_dir, + 'M=' + meson.current_build_dir(), + 'src=' + meson.current_source_dir(), + 'MODULE_CFLAGS=-include ' + meson.source_root() + '/config/rte_config.h' + + ' -I' + meson.source_root() + '/lib/librte_eal/include' + + ' -I' + meson.source_root() + '/lib/librte_kni' + + ' -I' + meson.build_root() + + ' -I' + meson.current_source_dir(), + 'modules'] + cross_args, + depends: kni_mkfile, + install: install, + install_dir: kernel_install_dir, + build_by_default: get_option('enable_kmods'))
kernel/linux/meson.build +56 -56
140 lines not on this page · raw message
meson.build +41 -41
139 lines not on this page · raw message
meson_options.txt +17 -17
@@ -1,36 +1,36 @@ # Please keep these options sorted alphabetically. option('check_includes', type: 'boolean', value: false, - description: 'build "chkincs" to verify each header file can compile alone') + description: 'build "chkincs" to verify each header file can compile alone') option('disable_drivers', type: 'string', value: '', - description: 'Comma-separated list of drivers to explicitly disable.') + description: 'Comma-separated list of drivers to explicitly disable.') option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>', - description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.') + description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.') option('enable_docs', type: 'boolean', value: false, - description: 'build documentation') + description: 'build documentation') option('enable_kmods', type: 'boolean', value: false, - description: 'build kernel modules') + description: 'build kernel modules') option('examples', type: 'string', value: '', - description: 'Comma-separated list of examples to build by default') + description: 'Comma-separated list of examples to build by default') option('flexran_sdk', type: 'string', value: '', - description: 'Path to FlexRAN SDK optional Libraries for BBDEV device') + description: 'Path to FlexRAN SDK optional Libraries for BBDEV device') option('ibverbs_link', type: 'combo', choices : ['static', 'shared', 'dlopen'], value: 'shared', - description: 'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.') + description: 'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.') option('include_subdir_arch', type: 'string', value: '', - description: 'subdirectory where to install arch-dependent headers') + description: 'subdirectory where to install arch-dependent headers') option('kernel_dir', type: 'string', value: '', - description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir or $kernel_dir/build. Modules will be installed in /lib/modules.') + description: 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir or $kernel_dir/build. Modules will be installed in /lib/modules.') option('machine', type: 'string', value: 'native', - description: 'set the target machine type') + description: 'set the target machine type') option('max_ethports', type: 'integer', value: 32, - description: 'maximum number of Ethernet devices') + description: 'maximum number of Ethernet devices') option('max_lcores', type: 'integer', value: 128, - description: 'maximum number of cores/threads supported by EAL') + description: 'maximum number of cores/threads supported by EAL') option('max_numa_nodes', type: 'integer', value: 32, - description: 'maximum number of NUMA nodes supported by EAL') + description: 'maximum number of NUMA nodes supported by EAL') option('enable_trace_fp', type: 'boolean', value: false, - description: 'enable fast path trace points.') + description: 'enable fast path trace points.') option('tests', type: 'boolean', value: true, - description: 'build unit tests') + description: 'build unit tests') option('use_hpet', type: 'boolean', value: false, - description: 'use HPET timer in EAL') + description: 'use HPET timer in EAL')
usertools/meson.build +4 -4
@@ -2,8 +2,8 @@ # Copyright(c) 2017 Intel Corporation install_data([ - 'dpdk-devbind.py', - 'dpdk-pmdinfo.py', - 'dpdk-telemetry.py', - 'dpdk-hugepages.py' + 'dpdk-devbind.py', + 'dpdk-pmdinfo.py', + 'dpdk-telemetry.py', + 'dpdk-hugepages.py' ],install_dir: 'bin')
Signature · 1 line
2.27.0
RFC PATCH 9/14 lib: change meson file tabs to spaces
In reply to Bruce RichardsonSwitch from using tabs to 4 spaces for meson.build indentation.
--- lib/librte_acl/meson.build | 122 ++++++++-------- lib/librte_bbdev/meson.build | 4 +- lib/librte_bpf/meson.build | 22 +-- lib/librte_cmdline/meson.build | 44 +++--- lib/librte_compressdev/meson.build | 10 +- lib/librte_cryptodev/meson.build | 12 +- lib/librte_distributor/meson.build | 4 +- lib/librte_eal/arm/include/meson.build | 54 +++---- lib/librte_eal/arm/meson.build | 8 +- lib/librte_eal/common/meson.build | 146 +++++++++---------- lib/librte_eal/freebsd/meson.build | 24 ++-- lib/librte_eal/include/meson.build | 114 +++++++-------- lib/librte_eal/linux/meson.build | 32 ++--- lib/librte_eal/meson.build | 8 +- lib/librte_eal/ppc/include/meson.build | 30 ++-- lib/librte_eal/ppc/meson.build | 8 +- lib/librte_eal/unix/meson.build | 8 +- lib/librte_eal/windows/meson.build | 32 ++--- lib/librte_eal/x86/include/meson.build | 40 +++--- lib/librte_eal/x86/meson.build | 10 +- lib/librte_ethdev/meson.build | 36 ++--- lib/librte_eventdev/meson.build | 32 ++--- lib/librte_fib/meson.build | 88 ++++++------ lib/librte_gso/meson.build | 2 +- lib/librte_hash/meson.build | 8 +- lib/librte_ip_frag/meson.build | 10 +- lib/librte_kni/meson.build | 4 +- lib/librte_mbuf/meson.build | 6 +- lib/librte_mempool/meson.build | 10 +- lib/librte_metrics/meson.build | 4 +- lib/librte_net/meson.build | 186 ++++++++++++------------- lib/librte_node/meson.build | 2 +- lib/librte_pipeline/meson.build | 20 +-- lib/librte_port/meson.build | 68 ++++----- lib/librte_power/meson.build | 18 +-- lib/librte_regexdev/meson.build | 2 +- lib/librte_ring/meson.build | 24 ++-- lib/librte_sched/meson.build | 2 +- lib/librte_stack/meson.build | 8 +- lib/librte_table/meson.build | 56 ++++---- lib/librte_vhost/meson.build | 20 +-- 41 files changed, 669 insertions(+), 669 deletions(-)
lib/librte_acl/meson.build +61 -61
@@ -2,82 +2,82 @@ # Copyright(c) 2017 Intel Corporation sources = files('acl_bld.c', 'acl_gen.c', 'acl_run_scalar.c', - 'rte_acl.c', 'tb_mem.c') + 'rte_acl.c', 'tb_mem.c') headers = files('rte_acl.h', 'rte_acl_osdep.h') if dpdk_conf.has('RTE_ARCH_X86') - sources += files('acl_run_sse.c') + sources += files('acl_run_sse.c') - # compile AVX2 version if either: - # a. we have AVX supported in minimum instruction set baseline - # b. it's not minimum instruction set, but supported by compiler - # - # in former case, just add avx2 C file to files list - # in latter case, compile c file to static lib, using correct compiler - # flags, and then have the .o file from static lib linked into main lib. - if cc.get_define('__AVX2__', args: machine_args) != '' - sources += files('acl_run_avx2.c') - cflags += '-DCC_AVX2_SUPPORT' - elif cc.has_argument('-mavx2') - avx2_tmplib = static_library('avx2_tmp', - 'acl_run_avx2.c', - dependencies: static_rte_eal, - c_args: cflags + ['-mavx2']) - objs += avx2_tmplib.extract_objects('acl_run_avx2.c') - cflags += '-DCC_AVX2_SUPPORT' - endif + # compile AVX2 version if either: + # a. we have AVX supported in minimum instruction set baseline + # b. it's not minimum instruction set, but supported by compiler + # + # in former case, just add avx2 C file to files list + # in latter case, compile c file to static lib, using correct compiler + # flags, and then have the .o file from static lib linked into main lib. + if cc.get_define('__AVX2__', args: machine_args) != '' + sources += files('acl_run_avx2.c') + cflags += '-DCC_AVX2_SUPPORT' + elif cc.has_argument('-mavx2') + avx2_tmplib = static_library('avx2_tmp', + 'acl_run_avx2.c', + dependencies: static_rte_eal, + c_args: cflags + ['-mavx2']) + objs += avx2_tmplib.extract_objects('acl_run_avx2.c') + cflags += '-DCC_AVX2_SUPPORT' + endif - # compile AVX512 version if: - # we are building 64-bit binary AND binutils can generate proper code + # compile AVX512 version if: + # we are building 64-bit binary AND binutils can generate proper code - if dpdk_conf.has('RTE_ARCH_X86_64') and binutils_ok.returncode() == 0 + if dpdk_conf.has('RTE_ARCH_X86_64') and binutils_ok.returncode() == 0 - # compile AVX512 version if either: - # a. we have AVX512 supported in minimum instruction set - # baseline - # b. it's not minimum instruction set, but supported by - # compiler - # - # in former case, just add avx512 C file to files list - # in latter case, compile c file to static lib, using correct - # compiler flags, and then have the .o file from static lib - # linked into main lib. + # compile AVX512 version if either: + # a. we have AVX512 supported in minimum instruction set + # baseline + # b. it's not minimum instruction set, but supported by + # compiler + # + # in former case, just add avx512 C file to files list + # in latter case, compile c file to static lib, using correct + # compiler flags, and then have the .o file from static lib + # linked into main lib. - # check if all required flags already enabled (variant a). - acl_avx512_flags = ['__AVX512F__', '__AVX512VL__', - '__AVX512CD__', '__AVX512BW__'] + # check if all required flags already enabled (variant a). + acl_avx512_flags = ['__AVX512F__', '__AVX512VL__', + '__AVX512CD__', '__AVX512BW__'] - acl_avx512_on = true - foreach f:acl_avx512_flags + acl_avx512_on = true + foreach f:acl_avx512_flags - if cc.get_define(f, args: machine_args) == '' - acl_avx512_on = false - endif - endforeach + if cc.get_define(f, args: machine_args) == '' + acl_avx512_on = false + endif + endforeach - if acl_avx512_on == true + if acl_avx512_on == true - sources += files('acl_run_avx512.c') - cflags += '-DCC_AVX512_SUPPORT' + sources += files('acl_run_avx512.c') + cflags += '-DCC_AVX512_SUPPORT' - elif cc.has_multi_arguments('-mavx512f', '-mavx512vl', - '-mavx512cd', '-mavx512bw') + elif cc.has_multi_arguments('-mavx512f', '-mavx512vl', + '-mavx512cd', '-mavx512bw') - avx512_tmplib = static_library('avx512_tmp', - 'acl_run_avx512.c', - dependencies: static_rte_eal, - c_args: cflags + - ['-mavx512f', '-mavx512vl', - '-mavx512cd', '-mavx512bw']) - objs += avx512_tmplib.extract_objects( - 'acl_run_avx512.c') - cflags += '-DCC_AVX512_SUPPORT' - endif - endif + avx512_tmplib = static_library('avx512_tmp', + 'acl_run_avx512.c', + dependencies: static_rte_eal, + c_args: cflags + + ['-mavx512f', '-mavx512vl', + '-mavx512cd', '-mavx512bw']) + objs += avx512_tmplib.extract_objects( + 'acl_run_avx512.c') + cflags += '-DCC_AVX512_SUPPORT' + endif + endif elif dpdk_conf.has('RTE_ARCH_ARM') - cflags += '-flax-vector-conversions' - sources += files('acl_run_neon.c') + cflags += '-flax-vector-conversions' + sources += files('acl_run_neon.c') elif dpdk_conf.has('RTE_ARCH_PPC_64') - sources += files('acl_run_altivec.c') + sources += files('acl_run_altivec.c') endif
lib/librte_bbdev/meson.build +2 -2
@@ -3,6 +3,6 @@ sources = files('rte_bbdev.c') headers = files('rte_bbdev.h', - 'rte_bbdev_pmd.h', - 'rte_bbdev_op.h') + 'rte_bbdev_pmd.h', + 'rte_bbdev_op.h') deps += ['mbuf']
lib/librte_bpf/meson.build +11 -11
@@ -2,26 +2,26 @@ # Copyright(c) 2018 Intel Corporation sources = files('bpf.c', - 'bpf_exec.c', - 'bpf_load.c', - 'bpf_pkt.c', - 'bpf_validate.c') + 'bpf_exec.c', + 'bpf_load.c', + 'bpf_pkt.c', + 'bpf_validate.c') if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_64') - sources += files('bpf_jit_x86.c') + sources += files('bpf_jit_x86.c') elif dpdk_conf.has('RTE_ARCH_ARM64') - sources += files('bpf_jit_arm64.c') + sources += files('bpf_jit_arm64.c') endif headers = files('bpf_def.h', - 'rte_bpf.h', - 'rte_bpf_ethdev.h') + 'rte_bpf.h', + 'rte_bpf_ethdev.h') deps += ['mbuf', 'net', 'ethdev'] dep = dependency('libelf', required: false, method: 'pkg-config') if dep.found() - dpdk_conf.set('RTE_LIBRTE_BPF_ELF', 1) - sources += files('bpf_load_elf.c') - ext_deps += dep + dpdk_conf.set('RTE_LIBRTE_BPF_ELF', 1) + sources += files('bpf_load_elf.c') + ext_deps += dep endif
lib/librte_cmdline/meson.build +22 -22
55 lines not on this page · raw message
lib/librte_compressdev/meson.build +5 -5
@@ -2,10 +2,10 @@ # Copyright(c) 2018 Intel Corporation sources = files('rte_compressdev.c', - 'rte_compressdev_pmd.c', - 'rte_comp.c') + 'rte_compressdev_pmd.c', + 'rte_comp.c') headers = files('rte_compressdev.h', - 'rte_compressdev_pmd.h', - 'rte_compressdev_internal.h', - 'rte_comp.h') + 'rte_compressdev_pmd.h', + 'rte_compressdev_internal.h', + 'rte_comp.h') deps += ['kvargs', 'mbuf']
lib/librte_cryptodev/meson.build +6 -6
@@ -3,10 +3,10 @@ sources = files('rte_cryptodev.c', 'rte_cryptodev_pmd.c', 'cryptodev_trace_points.c') headers = files('rte_cryptodev.h', - 'rte_cryptodev_pmd.h', - 'rte_cryptodev_trace.h', - 'rte_cryptodev_trace_fp.h', - 'rte_crypto.h', - 'rte_crypto_sym.h', - 'rte_crypto_asym.h') + 'rte_cryptodev_pmd.h', + 'rte_cryptodev_trace.h', + 'rte_cryptodev_trace_fp.h', + 'rte_crypto.h', + 'rte_crypto_sym.h', + 'rte_crypto_asym.h') deps += ['kvargs', 'mbuf', 'rcu']
lib/librte_distributor/meson.build +2 -2
@@ -3,9 +3,9 @@ sources = files('rte_distributor.c', 'rte_distributor_single.c') if arch_subdir == 'x86' - sources += files('rte_distributor_match_sse.c') + sources += files('rte_distributor_match_sse.c') else - sources += files('rte_distributor_match_generic.c') + sources += files('rte_distributor_match_generic.c') endif headers = files('rte_distributor.h') deps += ['mbuf']
lib/librte_eal/arm/include/meson.build +27 -27
59 lines not on this page · raw message
lib/librte_eal/arm/meson.build +4 -4
@@ -4,8 +4,8 @@ subdir('include') sources += files( - 'rte_cpuflags.c', - 'rte_cycles.c', - 'rte_hypervisor.c', - 'rte_power_intrinsics.c', + 'rte_cpuflags.c', + 'rte_cycles.c', + 'rte_hypervisor.c', + 'rte_power_intrinsics.c', )
lib/librte_eal/common/meson.build +73 -73
156 lines not on this page · raw message
lib/librte_eal/freebsd/meson.build +12 -12
@@ -4,18 +4,18 @@ subdir('include') sources += files( - 'eal.c', - 'eal_alarm.c', - 'eal_cpuflags.c', - 'eal_debug.c', - 'eal_dev.c', - 'eal_hugepage_info.c', - 'eal_interrupts.c', - 'eal_lcore.c', - 'eal_memalloc.c', - 'eal_memory.c', - 'eal_thread.c', - 'eal_timer.c', + 'eal.c', + 'eal_alarm.c', + 'eal_cpuflags.c', + 'eal_debug.c', + 'eal_dev.c', + 'eal_hugepage_info.c', + 'eal_interrupts.c', + 'eal_lcore.c', + 'eal_memalloc.c', + 'eal_memory.c', + 'eal_thread.c', + 'eal_timer.c', ) deps += ['kvargs', 'telemetry']
lib/librte_eal/include/meson.build +57 -57
124 lines not on this page · raw message
lib/librte_eal/linux/meson.build +16 -16
@@ -4,24 +4,24 @@ subdir('include') sources += files( - 'eal.c', - 'eal_alarm.c', - 'eal_cpuflags.c', - 'eal_debug.c', - 'eal_dev.c', - 'eal_hugepage_info.c', - 'eal_interrupts.c', - 'eal_lcore.c', - 'eal_log.c', - 'eal_memalloc.c', - 'eal_memory.c', - 'eal_thread.c', - 'eal_timer.c', - 'eal_vfio.c', - 'eal_vfio_mp_sync.c', + 'eal.c', + 'eal_alarm.c', + 'eal_cpuflags.c', + 'eal_debug.c', + 'eal_dev.c', + 'eal_hugepage_info.c', + 'eal_interrupts.c', + 'eal_lcore.c', + 'eal_log.c', + 'eal_memalloc.c', + 'eal_memory.c', + 'eal_thread.c', + 'eal_timer.c', + 'eal_vfio.c', + 'eal_vfio_mp_sync.c', ) deps += ['kvargs', 'telemetry'] if has_libnuma == 1 - dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true) + dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true) endif
lib/librte_eal/meson.build +4 -4
@@ -7,7 +7,7 @@ subdir('include') subdir('common') if not is_windows - subdir('unix') + subdir('unix') endif dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1)
@@ -17,11 +17,11 @@ subdir(arch_subdir) deps += ['kvargs'] if not is_windows - deps += ['telemetry'] + deps += ['telemetry'] endif if dpdk_conf.has('RTE_USE_LIBBSD') - ext_deps += libbsd + ext_deps += libbsd endif if cc.has_function('getentropy', prefix : '#include <unistd.h>') - cflags += '-DRTE_LIBEAL_USE_GETENTROPY' + cflags += '-DRTE_LIBEAL_USE_GETENTROPY' endif
lib/librte_eal/ppc/include/meson.build +15 -15
@@ -2,20 +2,20 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> arch_headers = files( - 'rte_altivec.h', - 'rte_atomic.h', - 'rte_byteorder.h', - 'rte_cpuflags.h', - 'rte_cycles.h', - 'rte_io.h', - 'rte_mcslock.h', - 'rte_memcpy.h', - 'rte_pause.h', - 'rte_power_intrinsics.h', - 'rte_prefetch.h', - 'rte_rwlock.h', - 'rte_spinlock.h', - 'rte_ticketlock.h', - 'rte_vect.h', + 'rte_altivec.h', + 'rte_atomic.h', + 'rte_byteorder.h', + 'rte_cpuflags.h', + 'rte_cycles.h', + 'rte_io.h', + 'rte_mcslock.h', + 'rte_memcpy.h', + 'rte_pause.h', + 'rte_power_intrinsics.h', + 'rte_prefetch.h', + 'rte_rwlock.h', + 'rte_spinlock.h', + 'rte_ticketlock.h', + 'rte_vect.h', ) install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
lib/librte_eal/ppc/meson.build +4 -4
@@ -4,8 +4,8 @@ subdir('include') sources += files( - 'rte_cpuflags.c', - 'rte_cycles.c', - 'rte_hypervisor.c', - 'rte_power_intrinsics.c', + 'rte_cpuflags.c', + 'rte_cycles.c', + 'rte_hypervisor.c', + 'rte_power_intrinsics.c', )
lib/librte_eal/unix/meson.build +4 -4
@@ -2,8 +2,8 @@ # Copyright(c) 2020 Dmitry Kozlyuk sources += files( - 'eal_file.c', - 'eal_unix_memory.c', - 'eal_unix_timer.c', - 'rte_thread.c', + 'eal_file.c', + 'eal_unix_memory.c', + 'eal_unix_timer.c', + 'rte_thread.c', )
lib/librte_eal/windows/meson.build +16 -16
@@ -4,22 +4,22 @@ subdir('include') sources += files( - 'eal.c', - 'eal_alarm.c', - 'eal_debug.c', - 'eal_file.c', - 'eal_hugepages.c', - 'eal_interrupts.c', - 'eal_lcore.c', - 'eal_log.c', - 'eal_memalloc.c', - 'eal_memory.c', - 'eal_mp.c', - 'eal_thread.c', - 'eal_timer.c', - 'fnmatch.c', - 'getopt.c', - 'rte_thread.c', + 'eal.c', + 'eal_alarm.c', + 'eal_debug.c', + 'eal_file.c', + 'eal_hugepages.c', + 'eal_interrupts.c', + 'eal_lcore.c', + 'eal_log.c', + 'eal_memalloc.c', + 'eal_memory.c', + 'eal_mp.c', + 'eal_thread.c', + 'eal_timer.c', + 'fnmatch.c', + 'getopt.c', + 'rte_thread.c', ) dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
lib/librte_eal/x86/include/meson.build +20 -20
@@ -2,28 +2,28 @@ # Copyright(c) 2017 Intel Corporation arch_headers = files( - 'rte_atomic.h', - 'rte_byteorder.h', - 'rte_cpuflags.h', - 'rte_cycles.h', - 'rte_io.h', - 'rte_mcslock.h', - 'rte_memcpy.h', - 'rte_pause.h', - 'rte_power_intrinsics.h', - 'rte_prefetch.h', - 'rte_rtm.h', - 'rte_rwlock.h', - 'rte_spinlock.h', - 'rte_ticketlock.h', - 'rte_vect.h', + 'rte_atomic.h', + 'rte_byteorder.h', + 'rte_cpuflags.h', + 'rte_cycles.h', + 'rte_io.h', + 'rte_mcslock.h', + 'rte_memcpy.h', + 'rte_pause.h', + 'rte_power_intrinsics.h', + 'rte_prefetch.h', + 'rte_rtm.h', + 'rte_rwlock.h', + 'rte_spinlock.h', + 'rte_ticketlock.h', + 'rte_vect.h', ) arch_indirect_headers = files( - 'rte_atomic_32.h', - 'rte_atomic_64.h', - 'rte_byteorder_32.h', - 'rte_byteorder_64.h', + 'rte_atomic_32.h', + 'rte_atomic_64.h', + 'rte_byteorder_32.h', + 'rte_byteorder_64.h', ) install_headers(arch_headers + arch_indirect_headers, - subdir: get_option('include_subdir_arch')) + subdir: get_option('include_subdir_arch')) dpdk_chkinc_headers += arch_headers
lib/librte_eal/x86/meson.build +5 -5
@@ -4,9 +4,9 @@ subdir('include') sources += files( - 'rte_cpuflags.c', - 'rte_cycles.c', - 'rte_hypervisor.c', - 'rte_spinlock.c', - 'rte_power_intrinsics.c', + 'rte_cpuflags.c', + 'rte_cycles.c', + 'rte_hypervisor.c', + 'rte_spinlock.c', + 'rte_power_intrinsics.c', )
lib/librte_ethdev/meson.build +18 -18
@@ -2,26 +2,26 @@ # Copyright(c) 2017 Intel Corporation sources = files('ethdev_private.c', - 'ethdev_profile.c', - 'ethdev_trace_points.c', - 'rte_class_eth.c', - 'rte_ethdev.c', - 'rte_flow.c', - 'rte_mtr.c', - 'rte_tm.c') + 'ethdev_profile.c', + 'ethdev_trace_points.c', + 'rte_class_eth.c', + 'rte_ethdev.c', + 'rte_flow.c', + 'rte_mtr.c', + 'rte_tm.c') headers = files('rte_ethdev.h', - 'rte_ethdev_trace.h', - 'rte_ethdev_trace_fp.h', - 'rte_dev_info.h', - 'rte_flow.h', - 'rte_flow_driver.h', - 'rte_mtr.h', - 'rte_mtr_driver.h', - 'rte_tm.h', - 'rte_tm_driver.h') + 'rte_ethdev_trace.h', + 'rte_ethdev_trace_fp.h', + 'rte_dev_info.h', + 'rte_flow.h', + 'rte_flow_driver.h', + 'rte_mtr.h', + 'rte_mtr_driver.h', + 'rte_tm.h', + 'rte_tm_driver.h') indirect_headers += files( - 'rte_ethdev_core.h', - 'rte_eth_ctrl.h') + 'rte_ethdev_core.h', + 'rte_eth_ctrl.h') deps += ['net', 'kvargs', 'meter', 'telemetry']
lib/librte_eventdev/meson.build +16 -16
@@ -2,26 +2,26 @@ # Copyright(c) 2017 Intel Corporation if is_linux - cflags += '-DLINUX' + cflags += '-DLINUX' else - cflags += '-DBSD' + cflags += '-DBSD' endif sources = files('rte_eventdev.c', - 'rte_event_ring.c', - 'eventdev_trace_points.c', - 'rte_event_eth_rx_adapter.c', - 'rte_event_timer_adapter.c', - 'rte_event_crypto_adapter.c', - 'rte_event_eth_tx_adapter.c') + 'rte_event_ring.c', + 'eventdev_trace_points.c', + 'rte_event_eth_rx_adapter.c', + 'rte_event_timer_adapter.c', + 'rte_event_crypto_adapter.c', + 'rte_event_eth_tx_adapter.c') headers = files('rte_eventdev.h', - 'rte_eventdev_trace.h', - 'rte_eventdev_trace_fp.h', - 'rte_event_ring.h', - 'rte_event_eth_rx_adapter.h', - 'rte_event_timer_adapter.h', - 'rte_event_timer_adapter_pmd.h', - 'rte_event_crypto_adapter.h', - 'rte_event_eth_tx_adapter.h') + 'rte_eventdev_trace.h', + 'rte_eventdev_trace_fp.h', + 'rte_event_ring.h', + 'rte_event_eth_rx_adapter.h', + 'rte_event_timer_adapter.h', + 'rte_event_timer_adapter_pmd.h', + 'rte_event_crypto_adapter.h', + 'rte_event_eth_tx_adapter.h') deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev'] deps += ['telemetry']
lib/librte_fib/meson.build +44 -44
94 lines not on this page · raw message
lib/librte_gso/meson.build +1 -1
@@ -2,6 +2,6 @@ # Copyright(c) 2017 Intel Corporation sources = files('gso_common.c', 'gso_tcp4.c', 'gso_udp4.c', - 'gso_tunnel_tcp4.c', 'gso_tunnel_udp4.c', 'rte_gso.c') + 'gso_tunnel_tcp4.c', 'gso_tunnel_udp4.c', 'rte_gso.c') headers = files('rte_gso.h') deps += ['ethdev']
lib/librte_hash/meson.build +4 -4
@@ -2,10 +2,10 @@ # Copyright(c) 2017 Intel Corporation headers = files('rte_fbk_hash.h', - 'rte_hash_crc.h', - 'rte_hash.h', - 'rte_jhash.h', - 'rte_thash.h') + 'rte_hash_crc.h', + 'rte_hash.h', + 'rte_jhash.h', + 'rte_thash.h') indirect_headers += files('rte_crc_arm64.h') sources = files('rte_cuckoo_hash.c', 'rte_fbk_hash.c')
lib/librte_ip_frag/meson.build +5 -5
@@ -2,10 +2,10 @@ # Copyright(c) 2017 Intel Corporation sources = files('rte_ipv4_fragmentation.c', - 'rte_ipv6_fragmentation.c', - 'rte_ipv4_reassembly.c', - 'rte_ipv6_reassembly.c', - 'rte_ip_frag_common.c', - 'ip_frag_internal.c') + 'rte_ipv6_fragmentation.c', + 'rte_ipv4_reassembly.c', + 'rte_ipv6_reassembly.c', + 'rte_ip_frag_common.c', + 'ip_frag_internal.c') headers = files('rte_ip_frag.h') deps += ['ethdev', 'hash']
lib/librte_kni/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright(c) 2017 Intel Corporation if not is_linux or not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit Linux' + build = false + reason = 'only supported on 64-bit Linux' endif sources = files('rte_kni.c') headers = files('rte_kni.h', 'rte_kni_common.h')
lib/librte_mbuf/meson.build +3 -3
@@ -2,8 +2,8 @@ # Copyright(c) 2017 Intel Corporation sources = files('rte_mbuf.c', 'rte_mbuf_ptype.c', 'rte_mbuf_pool_ops.c', - 'rte_mbuf_dyn.c') + 'rte_mbuf_dyn.c') headers = files('rte_mbuf.h', 'rte_mbuf_core.h', - 'rte_mbuf_ptype.h', 'rte_mbuf_pool_ops.h', - 'rte_mbuf_dyn.h') + 'rte_mbuf_ptype.h', 'rte_mbuf_pool_ops.h', + 'rte_mbuf_dyn.h') deps += ['mempool']
lib/librte_mempool/meson.build +5 -5
@@ -4,13 +4,13 @@ extra_flags = [] foreach flag: extra_flags - if cc.has_argument(flag) - cflags += flag - endif + if cc.has_argument(flag) + cflags += flag + endif endforeach sources = files('rte_mempool.c', 'rte_mempool_ops.c', - 'rte_mempool_ops_default.c', 'mempool_trace_points.c') + 'rte_mempool_ops_default.c', 'mempool_trace_points.c') headers = files('rte_mempool.h', 'rte_mempool_trace.h', - 'rte_mempool_trace_fp.h') + 'rte_mempool_trace_fp.h') deps += ['ring']
lib/librte_metrics/meson.build +2 -2
@@ -6,8 +6,8 @@ headers = files('rte_metrics.h', 'rte_metrics_telemetry.h') jansson = dependency('jansson', required: false, method: 'pkg-config') if jansson.found() - dpdk_conf.set('RTE_HAS_JANSSON', 1) - ext_deps += jansson + dpdk_conf.set('RTE_HAS_JANSSON', 1) + ext_deps += jansson endif deps += ['ethdev', 'telemetry']
lib/librte_net/meson.build +93 -93
202 lines not on this page · raw message
lib/librte_node/meson.build +1 -1
@@ -2,7 +2,7 @@ # Copyright(C) 2020 Marvell International Ltd. sources = files('null.c', 'log.c', 'ethdev_rx.c', 'ethdev_tx.c', 'ip4_lookup.c', - 'ip4_rewrite.c', 'pkt_drop.c', 'ethdev_ctrl.c', 'pkt_cls.c') + 'ip4_rewrite.c', 'pkt_drop.c', 'ethdev_ctrl.c', 'pkt_cls.c') headers = files('rte_node_ip4_api.h', 'rte_node_eth_api.h') # Strict-aliasing rules are violated by uint8_t[] to context size casts. cflags += '-fno-strict-aliasing'
lib/librte_pipeline/meson.build +10 -10
@@ -2,15 +2,15 @@ # Copyright(c) 2017 Intel Corporation sources = files('rte_pipeline.c', - 'rte_port_in_action.c', - 'rte_table_action.c', - 'rte_swx_pipeline.c', - 'rte_swx_pipeline_spec.c', - 'rte_swx_ctl.c',) + 'rte_port_in_action.c', + 'rte_table_action.c', + 'rte_swx_pipeline.c', + 'rte_swx_pipeline_spec.c', + 'rte_swx_ctl.c',) headers = files('rte_pipeline.h', - 'rte_port_in_action.h', - 'rte_table_action.h', - 'rte_swx_pipeline.h', - 'rte_swx_extern.h', - 'rte_swx_ctl.h',) + 'rte_port_in_action.h', + 'rte_table_action.h', + 'rte_swx_pipeline.h', + 'rte_swx_extern.h', + 'rte_swx_ctl.h',) deps += ['port', 'table', 'meter', 'sched', 'cryptodev']
lib/librte_port/meson.build +34 -34
79 lines not on this page · raw message
lib/librte_power/meson.build +9 -9
@@ -2,16 +2,16 @@ # Copyright(c) 2017 Intel Corporation if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif sources = files('rte_power.c', 'power_acpi_cpufreq.c', - 'power_kvm_vm.c', 'guest_channel.c', - 'rte_power_empty_poll.c', - 'power_pstate_cpufreq.c', - 'rte_power_pmd_mgmt.c', - 'power_common.c') + 'power_kvm_vm.c', 'guest_channel.c', + 'rte_power_empty_poll.c', + 'power_pstate_cpufreq.c', + 'rte_power_pmd_mgmt.c', + 'power_common.c') headers = files('rte_power.h','rte_power_empty_poll.h', - 'rte_power_pmd_mgmt.h', - 'rte_power_guest_channel.h') + 'rte_power_pmd_mgmt.h', + 'rte_power_guest_channel.h') deps += ['timer', 'ethdev']
lib/librte_regexdev/meson.build +1 -1
@@ -3,6 +3,6 @@ sources = files('rte_regexdev.c') headers = files('rte_regexdev.h', - 'rte_regexdev_driver.h') + 'rte_regexdev_driver.h') indirect_headers += files('rte_regexdev_core.h') deps += ['mbuf']
lib/librte_ring/meson.build +12 -12
@@ -5,15 +5,15 @@ sources = files('rte_ring.c') headers = files('rte_ring.h') # most sub-headers are not for direct inclusion indirect_headers += files ( - 'rte_ring_core.h', - 'rte_ring_elem.h', - 'rte_ring_elem_pvt.h', - 'rte_ring_c11_pvt.h', - 'rte_ring_generic_pvt.h', - 'rte_ring_hts.h', - 'rte_ring_hts_elem_pvt.h', - 'rte_ring_peek.h', - 'rte_ring_peek_elem_pvt.h', - 'rte_ring_peek_zc.h', - 'rte_ring_rts.h', - 'rte_ring_rts_elem_pvt.h') + 'rte_ring_core.h', + 'rte_ring_elem.h', + 'rte_ring_elem_pvt.h', + 'rte_ring_c11_pvt.h', + 'rte_ring_generic_pvt.h', + 'rte_ring_hts.h', + 'rte_ring_hts_elem_pvt.h', + 'rte_ring_peek.h', + 'rte_ring_peek_elem_pvt.h', + 'rte_ring_peek_zc.h', + 'rte_ring_rts.h', + 'rte_ring_rts_elem_pvt.h')
lib/librte_sched/meson.build +1 -1
@@ -3,5 +3,5 @@ sources = files('rte_sched.c', 'rte_red.c', 'rte_approx.c') headers = files('rte_sched.h', 'rte_sched_common.h', - 'rte_red.h', 'rte_approx.h') + 'rte_red.h', 'rte_approx.h') deps += ['mbuf', 'meter']
lib/librte_stack/meson.build +4 -4
@@ -5,7 +5,7 @@ sources = files('rte_stack.c', 'rte_stack_std.c', 'rte_stack_lf.c') headers = files('rte_stack.h') # subheaders, not for direct inclusion by apps indirect_headers += files( - 'rte_stack_std.h', - 'rte_stack_lf.h', - 'rte_stack_lf_generic.h', - 'rte_stack_lf_c11.h') + 'rte_stack_std.h', + 'rte_stack_lf.h', + 'rte_stack_lf_generic.h', + 'rte_stack_lf_c11.h')
lib/librte_table/meson.build +28 -28
63 lines not on this page · raw message
lib/librte_vhost/meson.build +10 -10
@@ -2,25 +2,25 @@ # Copyright(c) 2017-2018 Intel Corporation if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif if has_libnuma == 1 - dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true) + dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true) endif if (toolchain == 'gcc' and cc.version().version_compare('>=8.3.0')) - cflags += '-DVHOST_GCC_UNROLL_PRAGMA' + cflags += '-DVHOST_GCC_UNROLL_PRAGMA' elif (toolchain == 'clang' and cc.version().version_compare('>=3.7.0')) - cflags += '-DVHOST_CLANG_UNROLL_PRAGMA' + cflags += '-DVHOST_CLANG_UNROLL_PRAGMA' elif (toolchain == 'icc' and cc.version().version_compare('>=16.0.0')) - cflags += '-DVHOST_ICC_UNROLL_PRAGMA' + cflags += '-DVHOST_ICC_UNROLL_PRAGMA' endif dpdk_conf.set('RTE_LIBRTE_VHOST_POSTCOPY', - cc.has_header('linux/userfaultfd.h')) + cc.has_header('linux/userfaultfd.h')) cflags += '-fno-strict-aliasing' sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c', - 'vhost.c', 'vhost_user.c', - 'virtio_net.c', 'vhost_crypto.c') + 'vhost.c', 'vhost_user.c', + 'virtio_net.c', 'vhost_crypto.c') headers = files('rte_vhost.h', 'rte_vdpa.h', 'rte_vdpa_dev.h', - 'rte_vhost_crypto.h', 'rte_vhost_async.h') + 'rte_vhost_crypto.h', 'rte_vhost_async.h') deps += ['ethdev', 'cryptodev', 'hash', 'pci']
Signature · 1 line
2.27.0
RFC PATCH 10/14 drivers: change meson file tabs to spaces
In reply to Bruce RichardsonSwitch from using tabs to 4 spaces for meson.build indentation.
--- drivers/baseband/turbo_sw/meson.build | 46 ++-- drivers/bus/dpaa/meson.build | 28 +- drivers/bus/fslmc/meson.build | 30 +- drivers/bus/ifpga/meson.build | 6 +- drivers/bus/pci/meson.build | 24 +- drivers/bus/vdev/meson.build | 2 +- drivers/bus/vmbus/meson.build | 22 +- drivers/common/cpt/meson.build | 2 +- drivers/common/dpaax/meson.build | 8 +- drivers/common/mlx5/linux/meson.build | 350 ++++++++++++------------ drivers/common/mlx5/meson.build | 40 +-- drivers/common/mlx5/windows/meson.build | 30 +- drivers/common/mvep/meson.build | 6 +- drivers/common/octeontx2/meson.build | 18 +- drivers/common/qat/meson.build | 60 ++-- drivers/common/sfc_efx/base/meson.build | 142 +++++----- drivers/common/sfc_efx/meson.build | 24 +- drivers/compress/isal/meson.build | 4 +- drivers/compress/mlx5/meson.build | 24 +- drivers/compress/zlib/meson.build | 4 +- drivers/crypto/aesni_gcm/meson.build | 22 +- drivers/crypto/aesni_mb/meson.build | 22 +- drivers/crypto/armv8/meson.build | 6 +- drivers/crypto/bcmfs/meson.build | 26 +- drivers/crypto/caam_jr/meson.build | 10 +- drivers/crypto/ccp/meson.build | 16 +- drivers/crypto/dpaa2_sec/meson.build | 6 +- drivers/crypto/dpaa_sec/meson.build | 4 +- drivers/crypto/kasumi/meson.build | 20 +- drivers/crypto/mvsam/meson.build | 6 +- drivers/crypto/nitrox/meson.build | 20 +- drivers/crypto/octeontx/meson.build | 12 +- drivers/crypto/octeontx2/meson.build | 16 +- drivers/crypto/openssl/meson.build | 4 +- drivers/crypto/qat/meson.build | 20 +- drivers/crypto/scheduler/meson.build | 18 +- drivers/crypto/snow3g/meson.build | 18 +- drivers/crypto/virtio/meson.build | 2 +- drivers/crypto/zuc/meson.build | 20 +- drivers/event/dlb/meson.build | 14 +- drivers/event/dlb2/meson.build | 14 +- drivers/event/dpaa/meson.build | 4 +- drivers/event/dpaa2/meson.build | 8 +- drivers/event/dsw/meson.build | 2 +- drivers/event/octeontx/meson.build | 12 +- drivers/event/octeontx2/meson.build | 24 +- drivers/event/opdl/meson.build | 10 +- drivers/event/sw/meson.build | 8 +- drivers/mempool/bucket/meson.build | 4 +- drivers/mempool/dpaa/meson.build | 4 +- drivers/mempool/dpaa2/meson.build | 4 +- drivers/mempool/octeontx/meson.build | 6 +- drivers/mempool/octeontx2/meson.build | 20 +- drivers/mempool/stack/meson.build | 4 +- drivers/net/af_packet/meson.build | 4 +- drivers/net/af_xdp/meson.build | 24 +- drivers/net/ark/meson.build | 24 +- drivers/net/atlantic/meson.build | 22 +- drivers/net/avp/meson.build | 4 +- drivers/net/axgbe/meson.build | 16 +- drivers/net/bnx2x/meson.build | 18 +- drivers/net/bnxt/meson.build | 124 ++++----- drivers/net/bonding/meson.build | 8 +- drivers/net/cxgbe/meson.build | 30 +- drivers/net/dpaa/meson.build | 16 +- drivers/net/dpaa2/meson.build | 26 +- drivers/net/e1000/base/meson.build | 50 ++-- drivers/net/e1000/meson.build | 20 +- drivers/net/ena/meson.build | 10 +- drivers/net/enetc/meson.build | 6 +- drivers/net/enic/meson.build | 46 ++-- drivers/net/failsafe/meson.build | 24 +- drivers/net/fm10k/base/meson.build | 28 +- drivers/net/fm10k/meson.build | 12 +- drivers/net/hinic/base/meson.build | 26 +- drivers/net/hinic/meson.build | 16 +- drivers/net/hns3/meson.build | 46 ++-- drivers/net/i40e/base/meson.build | 32 +-- drivers/net/i40e/meson.build | 110 ++++---- drivers/net/iavf/meson.build | 94 +++---- drivers/net/ice/base/meson.build | 40 +-- drivers/net/ice/meson.build | 100 +++---- drivers/net/igc/base/meson.build | 20 +- drivers/net/igc/meson.build | 16 +- drivers/net/ionic/meson.build | 20 +- drivers/net/ipn3ke/meson.build | 18 +- drivers/net/ixgbe/base/meson.build | 42 +-- drivers/net/ixgbe/meson.build | 32 +-- drivers/net/kni/meson.build | 6 +- drivers/net/liquidio/meson.build | 12 +- drivers/net/memif/meson.build | 6 +- drivers/net/mlx4/meson.build | 160 +++++------ drivers/net/mlx5/linux/meson.build | 14 +- drivers/net/mlx5/meson.build | 78 +++--- drivers/net/mlx5/windows/meson.build | 10 +- drivers/net/mvneta/meson.build | 16 +- drivers/net/mvpp2/meson.build | 22 +- drivers/net/netvsc/meson.build | 6 +- drivers/net/nfb/meson.build | 6 +- drivers/net/nfp/meson.build | 28 +- drivers/net/null/meson.build | 6 +- drivers/net/octeontx/base/meson.build | 18 +- drivers/net/octeontx/meson.build | 12 +- drivers/net/octeontx2/meson.build | 62 ++--- drivers/net/pcap/meson.build | 10 +- drivers/net/pfe/meson.build | 12 +- drivers/net/qede/base/meson.build | 78 +++--- drivers/net/qede/meson.build | 22 +- drivers/net/ring/meson.build | 6 +- drivers/net/sfc/meson.build | 64 ++--- drivers/net/softnic/meson.build | 32 +-- drivers/net/szedata2/meson.build | 6 +- drivers/net/tap/meson.build | 42 +-- drivers/net/thunderx/base/meson.build | 10 +- drivers/net/thunderx/meson.build | 14 +- drivers/net/txgbe/base/meson.build | 26 +- drivers/net/txgbe/meson.build | 24 +- drivers/net/vdev_netvsc/meson.build | 4 +- drivers/net/vhost/meson.build | 6 +- drivers/net/virtio/meson.build | 78 +++--- drivers/net/vmxnet3/meson.build | 12 +- drivers/raw/ifpga/base/meson.build | 54 ++-- drivers/raw/ifpga/meson.build | 8 +- drivers/raw/ioat/meson.build | 18 +- drivers/raw/ntb/meson.build | 2 +- drivers/raw/octeontx2_dma/meson.build | 8 +- drivers/raw/octeontx2_ep/meson.build | 6 +- drivers/regex/mlx5/meson.build | 32 +-- drivers/regex/octeontx2/meson.build | 22 +- drivers/vdpa/mlx5/meson.build | 38 +-- 130 files changed, 1748 insertions(+), 1748 deletions(-)
drivers/baseband/turbo_sw/meson.build +23 -23
@@ -6,34 +6,34 @@ path = get_option('flexran_sdk') # check for FlexRAN SDK libraries for AVX2 lib4g = cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: false) if lib4g.found() - ext_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true) - ext_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true) - ext_deps += cc.find_library('librate_matching', dirs: [path + '/lib_rate_matching'], required: true) - ext_deps += cc.find_library('libcommon', dirs: [path + '/lib_common'], required: true) - ext_deps += cc.find_library('libstdc++', required: true) - ext_deps += cc.find_library('libirc', required: true) - ext_deps += cc.find_library('libimf', required: true) - ext_deps += cc.find_library('libipps', required: true) - ext_deps += cc.find_library('libsvml', required: true) - includes += include_directories(path + '/lib_turbo') - includes += include_directories(path + '/lib_crc') - includes += include_directories(path + '/lib_rate_matching') - includes += include_directories(path + '/lib_common') - cflags += ['-DRTE_BBDEV_SDK_AVX2'] + ext_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true) + ext_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true) + ext_deps += cc.find_library('librate_matching', dirs: [path + '/lib_rate_matching'], required: true) + ext_deps += cc.find_library('libcommon', dirs: [path + '/lib_common'], required: true) + ext_deps += cc.find_library('libstdc++', required: true) + ext_deps += cc.find_library('libirc', required: true) + ext_deps += cc.find_library('libimf', required: true) + ext_deps += cc.find_library('libipps', required: true) + ext_deps += cc.find_library('libsvml', required: true) + includes += include_directories(path + '/lib_turbo') + includes += include_directories(path + '/lib_crc') + includes += include_directories(path + '/lib_rate_matching') + includes += include_directories(path + '/lib_common') + cflags += ['-DRTE_BBDEV_SDK_AVX2'] endif # check for FlexRAN SDK libraries for AVX512 lib5g = cc.find_library('libldpc_decoder_5gnr', dirs: [path + '/lib_ldpc_decoder_5gnr'], required: false) if lib5g.found() - ext_deps += cc.find_library('libldpc_encoder_5gnr', dirs: [path + '/lib_ldpc_encoder_5gnr'], required: true) - ext_deps += cc.find_library('libldpc_decoder_5gnr', dirs: [path + '/lib_ldpc_decoder_5gnr'], required: true) - ext_deps += cc.find_library('libLDPC_ratematch_5gnr', dirs: [path + '/lib_LDPC_ratematch_5gnr'], required: true) - ext_deps += cc.find_library('librate_dematching_5gnr', dirs: [path + '/lib_rate_dematching_5gnr'], required: true) - includes += include_directories(path + '/lib_ldpc_encoder_5gnr') - includes += include_directories(path + '/lib_ldpc_decoder_5gnr') - includes += include_directories(path + '/lib_LDPC_ratematch_5gnr') - includes += include_directories(path + '/lib_rate_dematching_5gnr') - cflags += ['-DRTE_BBDEV_SDK_AVX512'] + ext_deps += cc.find_library('libldpc_encoder_5gnr', dirs: [path + '/lib_ldpc_encoder_5gnr'], required: true) + ext_deps += cc.find_library('libldpc_decoder_5gnr', dirs: [path + '/lib_ldpc_decoder_5gnr'], required: true) + ext_deps += cc.find_library('libLDPC_ratematch_5gnr', dirs: [path + '/lib_LDPC_ratematch_5gnr'], required: true) + ext_deps += cc.find_library('librate_dematching_5gnr', dirs: [path + '/lib_rate_dematching_5gnr'], required: true) + includes += include_directories(path + '/lib_ldpc_encoder_5gnr') + includes += include_directories(path + '/lib_ldpc_decoder_5gnr') + includes += include_directories(path + '/lib_LDPC_ratematch_5gnr') + includes += include_directories(path + '/lib_rate_dematching_5gnr') + cflags += ['-DRTE_BBDEV_SDK_AVX512'] endif deps += ['bbdev', 'bus_vdev', 'ring']
drivers/bus/dpaa/meson.build +14 -14
@@ -2,28 +2,28 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['common_dpaax', 'eventdev'] sources = files('base/fman/fman.c', - 'base/fman/fman_hw.c', - 'base/fman/netcfg_layer.c', - 'base/qbman/bman.c', - 'base/qbman/bman_driver.c', - 'base/qbman/dpaa_alloc.c', - 'base/qbman/dpaa_sys.c', - 'base/qbman/process.c', - 'base/qbman/qman.c', - 'base/qbman/qman_driver.c', - 'dpaa_bus.c') + 'base/fman/fman_hw.c', + 'base/fman/netcfg_layer.c', + 'base/qbman/bman.c', + 'base/qbman/bman_driver.c', + 'base/qbman/dpaa_alloc.c', + 'base/qbman/dpaa_sys.c', + 'base/qbman/process.c', + 'base/qbman/qman.c', + 'base/qbman/qman_driver.c', + 'dpaa_bus.c') if cc.has_argument('-Wno-cast-qual') - cflags += '-Wno-cast-qual' + cflags += '-Wno-cast-qual' endif if cc.has_argument('-Wno-pointer-arith') - cflags += '-Wno-pointer-arith' + cflags += '-Wno-pointer-arith' endif includes += include_directories('include', 'base/qbman')
drivers/bus/fslmc/meson.build +15 -15
@@ -2,24 +2,24 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['common_dpaax', 'eventdev', 'kvargs'] sources = files('fslmc_bus.c', - 'fslmc_vfio.c', - 'mc/dpbp.c', - 'mc/dpci.c', - 'mc/dpcon.c', - 'mc/dpdmai.c', - 'mc/dpio.c', - 'mc/dpmng.c', - 'mc/mc_sys.c', - 'portal/dpaa2_hw_dpbp.c', - 'portal/dpaa2_hw_dpci.c', - 'portal/dpaa2_hw_dpio.c', - 'qbman/qbman_portal.c', - 'qbman/qbman_debug.c') + 'fslmc_vfio.c', + 'mc/dpbp.c', + 'mc/dpci.c', + 'mc/dpcon.c', + 'mc/dpdmai.c', + 'mc/dpio.c', + 'mc/dpmng.c', + 'mc/mc_sys.c', + 'portal/dpaa2_hw_dpbp.c', + 'portal/dpaa2_hw_dpci.c', + 'portal/dpaa2_hw_dpio.c', + 'qbman/qbman_portal.c', + 'qbman/qbman_debug.c') includes += include_directories('mc', 'qbman/include', 'portal')
drivers/bus/ifpga/meson.build +3 -3
@@ -2,9 +2,9 @@ # Copyright(c) 2010-2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif deps += ['pci', 'kvargs', 'rawdev']
drivers/bus/pci/meson.build +12 -12
@@ -4,23 +4,23 @@ deps += ['pci'] headers = files('rte_bus_pci.h') sources = files('pci_common.c', - 'pci_params.c') + 'pci_params.c') if is_linux - sources += files('pci_common_uio.c', - 'linux/pci.c', - 'linux/pci_uio.c', - 'linux/pci_vfio.c') - includes += include_directories('linux') + sources += files('pci_common_uio.c', + 'linux/pci.c', + 'linux/pci_uio.c', + 'linux/pci_vfio.c') + includes += include_directories('linux') endif if is_freebsd - sources += files('pci_common_uio.c', - 'bsd/pci.c') - includes += include_directories('bsd') + sources += files('pci_common_uio.c', + 'bsd/pci.c') + includes += include_directories('bsd') endif if is_windows - sources += files('windows/pci.c', - 'windows/pci_netuio.c') - includes += include_directories('windows') + sources += files('windows/pci.c', + 'windows/pci_netuio.c') + includes += include_directories('windows') endif deps += ['kvargs']
drivers/bus/vdev/meson.build +1 -1
@@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation sources = files('vdev.c', - 'vdev_params.c') + 'vdev_params.c') headers = files('rte_bus_vdev.h') deps += ['kvargs']
drivers/bus/vmbus/meson.build +11 -11
@@ -1,24 +1,24 @@ # SPDX-License-Identifier: BSD-3-Clause if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif headers = files('rte_bus_vmbus.h','rte_vmbus_reg.h') sources = files('vmbus_common.c', - 'vmbus_channel.c', - 'vmbus_bufring.c', - 'vmbus_common_uio.c') + 'vmbus_channel.c', + 'vmbus_bufring.c', + 'vmbus_common_uio.c') if is_linux - sources += files('linux/vmbus_bus.c', - 'linux/vmbus_uio.c') - includes += include_directories('linux') + sources += files('linux/vmbus_bus.c', + 'linux/vmbus_uio.c') + includes += include_directories('linux') else - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif
drivers/common/cpt/meson.build +1 -1
@@ -2,7 +2,7 @@ # Copyright(c) 2018 Cavium, Inc sources = files('cpt_fpm_tables.c', - 'cpt_pmd_ops_helper.c') + 'cpt_pmd_ops_helper.c') deps = ['kvargs', 'pci', 'cryptodev'] includes += include_directories('../../crypto/octeontx')
drivers/common/dpaax/meson.build +4 -4
@@ -2,8 +2,8 @@ # Copyright(c) 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif sources = files('dpaax_iova_table.c', 'dpaa_of.c', 'caamflib.c')
@@ -11,8 +11,8 @@ sources = files('dpaax_iova_table.c', 'dpaa_of.c', 'caamflib.c') includes += include_directories('caamflib') if cc.has_argument('-Wno-cast-qual') - cflags += '-Wno-cast-qual' + cflags += '-Wno-cast-qual' endif if cc.has_argument('-Wno-pointer-arith') - cflags += '-Wno-pointer-arith' + cflags += '-Wno-pointer-arith' endif
drivers/common/mlx5/linux/meson.build +175 -175
392 lines not on this page · raw message
drivers/common/mlx5/meson.build +20 -20
@@ -2,38 +2,38 @@ # Copyright 2019 Mellanox Technologies, Ltd if not (is_linux or (is_windows and is_ms_linker)) - build = false - reason = 'only supported on Linux and Windows build with clang' - subdir_done() + build = false + reason = 'only supported on Linux and Windows build with clang' + subdir_done() endif deps += ['hash', 'pci', 'bus_pci', 'net', 'eal', 'kvargs'] sources += files( - 'mlx5_devx_cmds.c', - 'mlx5_common.c', - 'mlx5_common_mp.c', - 'mlx5_common_mr.c', - 'mlx5_malloc.c', - 'mlx5_common_pci.c', - 'mlx5_common_devx.c', + 'mlx5_devx_cmds.c', + 'mlx5_common.c', + 'mlx5_common_mp.c', + 'mlx5_common_mr.c', + 'mlx5_malloc.c', + 'mlx5_common_pci.c', + 'mlx5_common_devx.c', ) cflags_options = [ - '-std=c11', - '-Wno-strict-prototypes', - '-D_BSD_SOURCE', - '-D_DEFAULT_SOURCE', - '-D_XOPEN_SOURCE=600' + '-std=c11', + '-Wno-strict-prototypes', + '-D_BSD_SOURCE', + '-D_DEFAULT_SOURCE', + '-D_XOPEN_SOURCE=600' ] foreach option:cflags_options - if cc.has_argument(option) - cflags += option - endif + if cc.has_argument(option) + cflags += option + endif endforeach if get_option('buildtype').contains('debug') - cflags += [ '-pedantic', '-DPEDANTIC' ] + cflags += [ '-pedantic', '-DPEDANTIC' ] else - cflags += [ '-UPEDANTIC' ] + cflags += [ '-UPEDANTIC' ] endif subdir(exec_env)
drivers/common/mlx5/windows/meson.build +15 -15
@@ -4,17 +4,17 @@ includes += include_directories('.') sources += files( - 'mlx5_glue.c', - 'mlx5_common_os.c', + 'mlx5_glue.c', + 'mlx5_common_os.c', ) res_lib = run_command(python3, '-c', 'import os; print(os.environ["DEVX_LIB_PATH"])') res_inc = run_command(python3, '-c', 'import os; print(os.environ["DEVX_INC_PATH"])') if (res_lib.returncode() != 0 or res_inc.returncode() != 0) - build = false - reason = 'DevX environment variables are not set, DEVX_LIB_PATH and DEVX_INC_PATH vars must be exported' - subdir_done() + build = false + reason = 'DevX environment variables are not set, DEVX_LIB_PATH and DEVX_INC_PATH vars must be exported' + subdir_done() endif devx_lib_dir = res_lib.stdout().strip()
@@ -23,21 +23,21 @@ devx_inc_dir = res_inc.stdout().strip() ext_deps += cc.find_library('mlx5devx', dirs: devx_lib_dir, required: true) includes += include_directories(devx_inc_dir) cflags_options = [ - '-std=c11', - '-Wno-strict-prototypes', - '-D_BSD_SOURCE', - '-D_DEFAULT_SOURCE', - '-D_XOPEN_SOURCE=600' + '-std=c11', + '-Wno-strict-prototypes', + '-D_BSD_SOURCE', + '-D_DEFAULT_SOURCE', + '-D_XOPEN_SOURCE=600' ] foreach option:cflags_options - if cc.has_argument(option) - cflags += option - endif + if cc.has_argument(option) + cflags += option + endif endforeach if get_option('buildtype').contains('debug') - cflags += [ '-pedantic', '-DPEDANTIC' ] + cflags += [ '-pedantic', '-DPEDANTIC' ] else - cflags += [ '-UPEDANTIC' ] + cflags += [ '-UPEDANTIC' ] endif # Generate an empty mlx5_autoconf.h file for compatibility with Linux
drivers/common/mvep/meson.build +3 -3
@@ -6,9 +6,9 @@ dep = dependency('libmusdk', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libmusdk"' - subdir_done() + build = false + reason = 'missing dependency, "libmusdk"' + subdir_done() endif ext_deps += dep
drivers/common/octeontx2/meson.build +9 -9
@@ -3,18 +3,18 @@ # if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' - subdir_done() + build = false + reason = 'only supported on 64-bit' + subdir_done() endif sources= files('otx2_dev.c', - 'otx2_irq.c', - 'otx2_mbox.c', - 'otx2_common.c', - 'otx2_sec_idev.c', - ) + 'otx2_irq.c', + 'otx2_mbox.c', + 'otx2_common.c', + 'otx2_sec_idev.c', + ) deps = ['eal', 'pci', 'ethdev', 'kvargs'] includes += include_directories('../../common/octeontx2', - '../../mempool/octeontx2', '../../bus/pci') + '../../mempool/octeontx2', '../../bus/pci')
drivers/common/qat/meson.build +30 -30
85 lines not on this page · raw message
drivers/common/sfc_efx/base/meson.build +71 -71
158 lines not on this page · raw message
drivers/common/sfc_efx/meson.build +12 -12
@@ -6,32 +6,32 @@ # for Solarflare) and Solarflare Communications, Inc. if is_windows - build = false - reason = 'not supported on Windows' + build = false + reason = 'not supported on Windows' endif if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64')) - build = false - reason = 'only supported on x86_64 and aarch64' + build = false + reason = 'only supported on x86_64 and aarch64' endif extra_flags = [] # Enable more warnings extra_flags += [ - '-Wdisabled-optimization' + '-Wdisabled-optimization' ] # Compiler and version dependent flags extra_flags += [ - '-Waggregate-return', - '-Wbad-function-cast' + '-Waggregate-return', + '-Wbad-function-cast' ] foreach flag: extra_flags - if cc.has_argument(flag) - cflags += flag - endif + if cc.has_argument(flag) + cflags += flag + endif endforeach subdir('base')
@@ -39,8 +39,8 @@ objs = [base_objs] deps += ['bus_pci'] sources = files( - 'sfc_efx.c', - 'sfc_efx_mcdi.c', + 'sfc_efx.c', + 'sfc_efx_mcdi.c', ) includes += include_directories('base')
drivers/compress/isal/meson.build +2 -2
@@ -3,8 +3,8 @@ dep = dependency('libisal', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libisal"' + build = false + reason = 'missing dependency, "libisal"' endif deps += 'bus_vdev'
drivers/compress/mlx5/meson.build +12 -12
@@ -2,25 +2,25 @@ # Copyright 2021 Mellanox Technologies, Ltd if not is_linux - build = false - reason = 'only supported on Linux' - subdir_done() + build = false + reason = 'only supported on Linux' + subdir_done() endif fmt_name = 'mlx5_compress' deps += ['common_mlx5', 'eal', 'compressdev'] sources = files( - 'mlx5_compress.c', + 'mlx5_compress.c', ) cflags_options = [ - '-std=c11', - '-Wno-strict-prototypes', - '-D_BSD_SOURCE', - '-D_DEFAULT_SOURCE', - '-D_XOPEN_SOURCE=600' + '-std=c11', + '-Wno-strict-prototypes', + '-D_BSD_SOURCE', + '-D_DEFAULT_SOURCE', + '-D_XOPEN_SOURCE=600' ] foreach option:cflags_options - if cc.has_argument(option) - cflags += option - endif + if cc.has_argument(option) + cflags += option + endif endforeach
drivers/compress/zlib/meson.build +2 -2
@@ -3,8 +3,8 @@ dep = dependency('zlib', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "zlib"' + build = false + reason = 'missing dependency, "zlib"' endif deps += 'bus_vdev'
drivers/crypto/aesni_gcm/meson.build +11 -11
@@ -4,20 +4,20 @@ IMB_required_ver = '0.52.0' lib = cc.find_library('IPSec_MB', required: false) if not lib.found() - build = false - reason = 'missing dependency, "libIPSec_MB"' + build = false + reason = 'missing dependency, "libIPSec_MB"' else - ext_deps += lib + ext_deps += lib - # version comes with quotes, so we split based on " and take the middle - imb_ver = cc.get_define('IMB_VERSION_STR', - prefix : '#include<intel-ipsec-mb.h>').split('"')[1] + # version comes with quotes, so we split based on " and take the middle + imb_ver = cc.get_define('IMB_VERSION_STR', + prefix : '#include<intel-ipsec-mb.h>').split('"')[1] - if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) - reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( - IMB_required_ver, imb_ver) - build = false - endif + if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) + reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( + IMB_required_ver, imb_ver) + build = false + endif endif sources = files('aesni_gcm_pmd.c', 'aesni_gcm_pmd_ops.c')
drivers/crypto/aesni_mb/meson.build +11 -11
@@ -4,20 +4,20 @@ IMB_required_ver = '0.52.0' lib = cc.find_library('IPSec_MB', required: false) if not lib.found() - build = false - reason = 'missing dependency, "libIPSec_MB"' + build = false + reason = 'missing dependency, "libIPSec_MB"' else - ext_deps += lib + ext_deps += lib - # version comes with quotes, so we split based on " and take the middle - imb_ver = cc.get_define('IMB_VERSION_STR', - prefix : '#include<intel-ipsec-mb.h>').split('"')[1] + # version comes with quotes, so we split based on " and take the middle + imb_ver = cc.get_define('IMB_VERSION_STR', + prefix : '#include<intel-ipsec-mb.h>').split('"')[1] - if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) - reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( - IMB_required_ver, imb_ver) - build = false - endif + if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) + reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( + IMB_required_ver, imb_ver) + build = false + endif endif
drivers/crypto/armv8/meson.build +3 -3
@@ -3,9 +3,9 @@ dep = dependency('libAArch64crypto', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libAArch64crypto"' - subdir_done() + build = false + reason = 'missing dependency, "libAArch64crypto"' + subdir_done() endif ext_deps += dep
drivers/crypto/bcmfs/meson.build +13 -13
@@ -5,16 +5,16 @@ deps += ['eal', 'bus_vdev'] sources = files( - 'bcmfs_logs.c', - 'bcmfs_device.c', - 'bcmfs_vfio.c', - 'bcmfs_qp.c', - 'hw/bcmfs4_rm.c', - 'hw/bcmfs5_rm.c', - 'hw/bcmfs_rm_common.c', - 'bcmfs_sym_pmd.c', - 'bcmfs_sym_capabilities.c', - 'bcmfs_sym_session.c', - 'bcmfs_sym.c', - 'bcmfs_sym_engine.c' - ) + 'bcmfs_logs.c', + 'bcmfs_device.c', + 'bcmfs_vfio.c', + 'bcmfs_qp.c', + 'hw/bcmfs4_rm.c', + 'hw/bcmfs5_rm.c', + 'hw/bcmfs_rm_common.c', + 'bcmfs_sym_pmd.c', + 'bcmfs_sym_capabilities.c', + 'bcmfs_sym_session.c', + 'bcmfs_sym.c', + 'bcmfs_sym_engine.c' + )
drivers/crypto/caam_jr/meson.build +5 -5
@@ -2,15 +2,15 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_vdev', 'bus_dpaa', 'security'] sources = files('caam_jr_capabilities.c', - 'caam_jr_hw.c', - 'caam_jr_uio.c', - 'caam_jr.c') + 'caam_jr_hw.c', + 'caam_jr_uio.c', + 'caam_jr.c') includes += include_directories('../../bus/dpaa/include/') includes += include_directories('../../common/dpaax/')
drivers/crypto/ccp/meson.build +8 -8
@@ -2,21 +2,21 @@ # Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved. if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif dep = dependency('libcrypto', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libcrypto"' + build = false + reason = 'missing dependency, "libcrypto"' endif deps += 'bus_vdev' deps += 'bus_pci' sources = files('rte_ccp_pmd.c', - 'ccp_crypto.c', - 'ccp_dev.c', - 'ccp_pci.c', - 'ccp_pmd_ops.c') + 'ccp_crypto.c', + 'ccp_dev.c', + 'ccp_pci.c', + 'ccp_pmd_ops.c') ext_deps += dep
drivers/crypto/dpaa2_sec/meson.build +3 -3
@@ -2,12 +2,12 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['security', 'mempool_dpaa2'] sources = files('dpaa2_sec_dpseci.c', - 'mc/dpseci.c') + 'mc/dpseci.c') includes += include_directories('mc', '../../common/dpaax', '../../common/dpaax/caamflib')
drivers/crypto/dpaa_sec/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_dpaa', 'mempool_dpaa', 'security']
drivers/crypto/kasumi/meson.build +10 -10
@@ -4,18 +4,18 @@ IMB_required_ver = '0.53.0' lib = cc.find_library('IPSec_MB', required: false) if not lib.found() - build = false - reason = 'missing dependency, "libIPSec_MB"' + build = false + reason = 'missing dependency, "libIPSec_MB"' else - # version comes with quotes, so we split based on " and take the middle - imb_ver = cc.get_define('IMB_VERSION_STR', - prefix : '#include<intel-ipsec-mb.h>').split('"')[1] + # version comes with quotes, so we split based on " and take the middle + imb_ver = cc.get_define('IMB_VERSION_STR', + prefix : '#include<intel-ipsec-mb.h>').split('"')[1] - if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) - reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( - IMB_required_ver, imb_ver) - build = false - endif + if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) + reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( + IMB_required_ver, imb_ver) + build = false + endif endif
drivers/crypto/mvsam/meson.build +3 -3
@@ -5,9 +5,9 @@ dep = dependency('libmusdk', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libmusdk"' - subdir_done() + build = false + reason = 'missing dependency, "libmusdk"' + subdir_done() endif ext_deps += dep
drivers/crypto/nitrox/meson.build +10 -10
@@ -2,17 +2,17 @@ # Copyright(C) 2019 Marvell International Ltd. if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_pci'] sources = files( - 'nitrox_device.c', - 'nitrox_hal.c', - 'nitrox_logs.c', - 'nitrox_sym.c', - 'nitrox_sym_capabilities.c', - 'nitrox_sym_reqmgr.c', - 'nitrox_qp.c' - ) + 'nitrox_device.c', + 'nitrox_hal.c', + 'nitrox_logs.c', + 'nitrox_sym.c', + 'nitrox_sym_capabilities.c', + 'nitrox_sym_reqmgr.c', + 'nitrox_qp.c' + )
drivers/crypto/octeontx/meson.build +6 -6
@@ -1,17 +1,17 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_pci'] deps += ['common_cpt'] sources = files('otx_cryptodev.c', - 'otx_cryptodev_capabilities.c', - 'otx_cryptodev_hw_access.c', - 'otx_cryptodev_mbox.c', - 'otx_cryptodev_ops.c') + 'otx_cryptodev_capabilities.c', + 'otx_cryptodev_hw_access.c', + 'otx_cryptodev_mbox.c', + 'otx_cryptodev_ops.c') includes += include_directories('../../common/cpt')
drivers/crypto/octeontx2/meson.build +8 -8
@@ -2,9 +2,9 @@ # Copyright (C) 2019 Marvell International Ltd. if not is_linux or not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit Linux' - subdir_done() + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() endif deps += ['bus_pci']
@@ -15,11 +15,11 @@ deps += ['eventdev'] deps += ['security'] sources = files('otx2_cryptodev.c', - 'otx2_cryptodev_capabilities.c', - 'otx2_cryptodev_hw_access.c', - 'otx2_cryptodev_mbox.c', - 'otx2_cryptodev_ops.c', - 'otx2_cryptodev_sec.c') + 'otx2_cryptodev_capabilities.c', + 'otx2_cryptodev_hw_access.c', + 'otx2_cryptodev_mbox.c', + 'otx2_cryptodev_ops.c', + 'otx2_cryptodev_sec.c') includes += include_directories('../../common/cpt') includes += include_directories('../../common/octeontx2')
drivers/crypto/openssl/meson.build +2 -2
@@ -3,8 +3,8 @@ dep = dependency('libcrypto', required: false, method: 'pkg-config') if not dep.found() - build = false - reason = 'missing dependency, "libcrypto"' + build = false + reason = 'missing dependency, "libcrypto"' endif deps += 'bus_vdev' sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
drivers/crypto/qat/meson.build +10 -10
@@ -11,14 +11,14 @@ qat_deps += 'cryptodev' qat_deps += 'net' qat_deps += 'security' if dep.found() - # Add our sources files to the list - qat_sources += files('qat_sym_pmd.c', - 'qat_sym.c', - 'qat_sym_session.c', - 'qat_sym_hw_dp.c', - 'qat_asym_pmd.c', - 'qat_asym.c') - qat_ext_deps += dep - qat_cflags += '-DBUILD_QAT_SYM' - qat_cflags += '-DBUILD_QAT_ASYM' + # Add our sources files to the list + qat_sources += files('qat_sym_pmd.c', + 'qat_sym.c', + 'qat_sym_session.c', + 'qat_sym_hw_dp.c', + 'qat_asym_pmd.c', + 'qat_asym.c') + qat_ext_deps += dep + qat_cflags += '-DBUILD_QAT_SYM' + qat_cflags += '-DBUILD_QAT_ASYM' endif
drivers/crypto/scheduler/meson.build +9 -9
@@ -3,16 +3,16 @@ deps += ['bus_vdev', 'reorder'] sources = files( - 'rte_cryptodev_scheduler.c', - 'scheduler_failover.c', - 'scheduler_multicore.c', - 'scheduler_pkt_size_distr.c', - 'scheduler_pmd.c', - 'scheduler_pmd_ops.c', - 'scheduler_roundrobin.c', + 'rte_cryptodev_scheduler.c', + 'scheduler_failover.c', + 'scheduler_multicore.c', + 'scheduler_pkt_size_distr.c', + 'scheduler_pmd.c', + 'scheduler_pmd_ops.c', + 'scheduler_roundrobin.c', ) headers = files( - 'rte_cryptodev_scheduler.h', - 'rte_cryptodev_scheduler_operations.h', + 'rte_cryptodev_scheduler.h', + 'rte_cryptodev_scheduler_operations.h', )
drivers/crypto/snow3g/meson.build +9 -9
@@ -4,18 +4,18 @@ IMB_required_ver = '0.53.0' lib = cc.find_library('IPSec_MB', required: false) if not lib.found() - build = false - reason = 'missing dependency, "libIPSec_MB"' + build = false + reason = 'missing dependency, "libIPSec_MB"' else - # version comes with quotes, so we split based on " and take the middle - imb_ver = cc.get_define('IMB_VERSION_STR', - prefix : '#include<intel-ipsec-mb.h>').split('"')[1] + # version comes with quotes, so we split based on " and take the middle + imb_ver = cc.get_define('IMB_VERSION_STR', + prefix : '#include<intel-ipsec-mb.h>').split('"')[1] - if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) + if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( - IMB_required_ver, imb_ver) - build = false - endif + IMB_required_ver, imb_ver) + build = false + endif endif
drivers/crypto/virtio/meson.build +1 -1
@@ -4,4 +4,4 @@ includes += include_directories('../../../lib/librte_vhost') deps += 'bus_pci' sources = files('virtio_cryptodev.c', 'virtio_pci.c', - 'virtio_rxtx.c', 'virtqueue.c') + 'virtio_rxtx.c', 'virtqueue.c')
drivers/crypto/zuc/meson.build +10 -10
@@ -4,18 +4,18 @@ IMB_required_ver = '0.53.0' lib = cc.find_library('IPSec_MB', required: false) if not lib.found() - build = false - reason = 'missing dependency, "libIPSec_MB"' + build = false + reason = 'missing dependency, "libIPSec_MB"' else - # version comes with quotes, so we split based on " and take the middle - imb_ver = cc.get_define('IMB_VERSION_STR', - prefix : '#include<intel-ipsec-mb.h>').split('"')[1] + # version comes with quotes, so we split based on " and take the middle + imb_ver = cc.get_define('IMB_VERSION_STR', + prefix : '#include<intel-ipsec-mb.h>').split('"')[1] - if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) - reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( - IMB_required_ver, imb_ver) - build = false - endif + if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver)) + reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format( + IMB_required_ver, imb_ver) + build = false + endif endif
drivers/event/dlb/meson.build +7 -7
@@ -8,13 +8,13 @@ if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64') endif sources = files('dlb.c', - 'dlb_iface.c', - 'dlb_xstats.c', - 'pf/dlb_main.c', - 'pf/dlb_pf.c', - 'pf/base/dlb_resource.c', - 'rte_pmd_dlb.c', - 'dlb_selftest.c' + 'dlb_iface.c', + 'dlb_xstats.c', + 'pf/dlb_main.c', + 'pf/dlb_pf.c', + 'pf/base/dlb_resource.c', + 'rte_pmd_dlb.c', + 'dlb_selftest.c' ) headers = files('rte_pmd_dlb.h')
drivers/event/dlb2/meson.build +7 -7
@@ -9,13 +9,13 @@ if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64') endif sources = files('dlb2.c', - 'dlb2_iface.c', - 'dlb2_xstats.c', - 'pf/dlb2_main.c', - 'pf/dlb2_pf.c', - 'pf/base/dlb2_resource.c', - 'rte_pmd_dlb2.c', - 'dlb2_selftest.c' + 'dlb2_iface.c', + 'dlb2_xstats.c', + 'pf/dlb2_main.c', + 'pf/dlb2_pf.c', + 'pf/base/dlb2_resource.c', + 'rte_pmd_dlb2.c', + 'dlb2_selftest.c' ) headers = files('rte_pmd_dlb2.h')
drivers/event/dpaa/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['net_dpaa', 'crypto_dpaa_sec'] sources = files('dpaa_eventdev.c')
drivers/event/dpaa2/meson.build +4 -4
@@ -2,12 +2,12 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_vdev', 'net_dpaa2', 'crypto_dpaa2_sec'] sources = files('dpaa2_hw_dpcon.c', - 'dpaa2_eventdev.c', - 'dpaa2_eventdev_selftest.c') + 'dpaa2_eventdev.c', + 'dpaa2_eventdev_selftest.c') includes += include_directories('../../crypto/dpaa2_sec/')
drivers/event/dsw/meson.build +1 -1
@@ -3,6 +3,6 @@ deps += ['bus_vdev'] if cc.has_argument('-Wno-format-nonliteral') - cflags += '-Wno-format-nonliteral' + cflags += '-Wno-format-nonliteral' endif sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c')
drivers/event/octeontx/meson.build +6 -6
@@ -2,12 +2,12 @@ # Copyright(c) 2017 Cavium, Inc sources = files('ssovf_worker.c', - 'ssovf_evdev.c', - 'ssovf_evdev_selftest.c', - 'ssovf_probe.c', - 'timvf_worker.c', - 'timvf_evdev.c', - 'timvf_probe.c' + 'ssovf_evdev.c', + 'ssovf_evdev_selftest.c', + 'ssovf_probe.c', + 'timvf_worker.c', + 'timvf_evdev.c', + 'timvf_probe.c' ) deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'net_octeontx']
drivers/event/octeontx2/meson.build +12 -12
@@ -3,21 +3,21 @@ # if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' - subdir_done() + build = false + reason = 'only supported on 64-bit' + subdir_done() endif sources = files('otx2_worker.c', - 'otx2_worker_dual.c', - 'otx2_evdev.c', - 'otx2_evdev_adptr.c', - 'otx2_evdev_crypto_adptr.c', - 'otx2_evdev_irq.c', - 'otx2_evdev_selftest.c', - 'otx2_tim_evdev.c', - 'otx2_tim_worker.c' - ) + 'otx2_worker_dual.c', + 'otx2_evdev.c', + 'otx2_evdev_adptr.c', + 'otx2_evdev_crypto_adptr.c', + 'otx2_evdev_irq.c', + 'otx2_evdev_selftest.c', + 'otx2_tim_evdev.c', + 'otx2_tim_worker.c' + ) deps += ['bus_pci', 'common_octeontx2', 'crypto_octeontx2', 'mempool_octeontx2', 'net_octeontx2']
drivers/event/opdl/meson.build +5 -5
@@ -2,10 +2,10 @@ # Copyright(c) 2018 Luca Boccassi <[email protected]> sources = files( - 'opdl_evdev.c', - 'opdl_evdev_init.c', - 'opdl_evdev_xstats.c', - 'opdl_ring.c', - 'opdl_test.c', + 'opdl_evdev.c', + 'opdl_evdev_init.c', + 'opdl_evdev_xstats.c', + 'opdl_ring.c', + 'opdl_test.c', ) deps += ['bus_vdev']
drivers/event/sw/meson.build +4 -4
@@ -2,9 +2,9 @@ # Copyright(c) 2017 Intel Corporation sources = files('sw_evdev_scheduler.c', - 'sw_evdev_selftest.c', - 'sw_evdev_worker.c', - 'sw_evdev_xstats.c', - 'sw_evdev.c' + 'sw_evdev_selftest.c', + 'sw_evdev_worker.c', + 'sw_evdev_xstats.c', + 'sw_evdev.c' ) deps += ['hash', 'bus_vdev']
drivers/mempool/bucket/meson.build +2 -2
@@ -7,8 +7,8 @@ # for Solarflare) and Solarflare Communications, Inc. if is_windows - build = false - reason = 'not supported on Windows' + build = false + reason = 'not supported on Windows' endif sources = files('rte_mempool_bucket.c')
drivers/mempool/dpaa/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_dpaa']
drivers/mempool/dpaa2/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['bus_fslmc']
drivers/mempool/octeontx/meson.build +3 -3
@@ -2,12 +2,12 @@ # Copyright(c) 2017 Cavium, Inc if is_windows - build = false - reason = 'not supported on Windows' + build = false + reason = 'not supported on Windows' endif sources = files('octeontx_fpavf.c', - 'rte_mempool_octeontx.c' + 'rte_mempool_octeontx.c' ) deps += ['mbuf', 'bus_pci', 'common_octeontx']
drivers/mempool/octeontx2/meson.build +10 -10
@@ -3,20 +3,20 @@ # if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' - subdir_done() + build = false + reason = 'only supported on 64-bit' + subdir_done() endif sources = files('otx2_mempool_ops.c', - 'otx2_mempool.c', - 'otx2_mempool_irq.c', - 'otx2_mempool_debug.c' - ) + 'otx2_mempool.c', + 'otx2_mempool_irq.c', + 'otx2_mempool_debug.c' + ) deps += ['eal', 'mbuf', 'kvargs', 'bus_pci', 'common_octeontx2', 'mempool']
drivers/mempool/stack/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright(c) 2017-2019 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' + build = false + reason = 'not supported on Windows' endif sources = files('rte_mempool_stack.c')
drivers/net/af_packet/meson.build +2 -2
@@ -2,7 +2,7 @@ # Copyright(c) 2017 Intel Corporation if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif sources = files('rte_eth_af_packet.c')
drivers/net/af_xdp/meson.build +12 -12
@@ -2,26 +2,26 @@ # Copyright(c) 2019 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif sources = files('rte_eth_af_xdp.c') bpf_dep = dependency('libbpf', required: false, method: 'pkg-config') if not bpf_dep.found() - bpf_dep = cc.find_library('bpf', required: false) + bpf_dep = cc.find_library('bpf', required: false) endif if bpf_dep.found() and cc.has_header('bpf/xsk.h') and cc.has_header('linux/if_xdp.h') - ext_deps += bpf_dep - bpf_ver_dep = dependency('libbpf', version : '>=0.2.0', - required: false, method: 'pkg-config') - if bpf_ver_dep.found() - dpdk_conf.set('RTE_LIBRTE_AF_XDP_PMD_SHARED_UMEM', 1) - endif + ext_deps += bpf_dep + bpf_ver_dep = dependency('libbpf', version : '>=0.2.0', + required: false, method: 'pkg-config') + if bpf_ver_dep.found() + dpdk_conf.set('RTE_LIBRTE_AF_XDP_PMD_SHARED_UMEM', 1) + endif else - build = false - reason = 'missing dependency, "libbpf"' + build = false + reason = 'missing dependency, "libbpf"' endif
drivers/net/ark/meson.build +12 -12
@@ -2,20 +2,20 @@ # Copyright(c) 2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif headers = files('rte_pmd_ark.h') sources = files('ark_ddm.c', - 'ark_ethdev.c', - 'ark_ethdev_rx.c', - 'ark_ethdev_tx.c', - 'ark_mpu.c', - 'ark_pktchkr.c', - 'ark_pktdir.c', - 'ark_pktgen.c', - 'ark_rqp.c', - 'ark_udm.c') + 'ark_ethdev.c', + 'ark_ethdev_rx.c', + 'ark_ethdev_tx.c', + 'ark_mpu.c', + 'ark_pktchkr.c', + 'ark_pktdir.c', + 'ark_pktgen.c', + 'ark_rqp.c', + 'ark_udm.c')
drivers/net/atlantic/meson.build +11 -11
@@ -2,18 +2,18 @@ # Copyright(c) 2018 Aquantia Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif sources = files( - 'atl_rxtx.c', - 'atl_ethdev.c', - 'atl_hw_regs.c', - 'hw_atl/hw_atl_b0.c', - 'hw_atl/hw_atl_llh.c', - 'hw_atl/hw_atl_utils_fw2x.c', - 'hw_atl/hw_atl_utils.c', - 'rte_pmd_atlantic.c', + 'atl_rxtx.c', + 'atl_ethdev.c', + 'atl_hw_regs.c', + 'hw_atl/hw_atl_b0.c', + 'hw_atl/hw_atl_llh.c', + 'hw_atl/hw_atl_utils_fw2x.c', + 'hw_atl/hw_atl_utils.c', + 'rte_pmd_atlantic.c', )
drivers/net/avp/meson.build +2 -2
@@ -2,8 +2,8 @@ # Copyright(c) 2018 Intel Corporation if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif sources = files('avp_ethdev.c') headers = files('rte_avp_common.h', 'rte_avp_fifo.h')
drivers/net/axgbe/meson.build +8 -8
@@ -2,19 +2,19 @@ # Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif sources = files('axgbe_ethdev.c', - 'axgbe_dev.c', - 'axgbe_mdio.c', - 'axgbe_phy_impl.c', - 'axgbe_i2c.c', - 'axgbe_rxtx.c') + 'axgbe_dev.c', + 'axgbe_mdio.c', + 'axgbe_phy_impl.c', + 'axgbe_i2c.c', + 'axgbe_rxtx.c') cflags += '-Wno-cast-qual' if arch_subdir == 'x86' - sources += files('axgbe_rxtx_vec_sse.c') + sources += files('axgbe_rxtx_vec_sse.c') endif
drivers/net/bnx2x/meson.build +9 -9
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif dep = dependency('zlib', required: false, method: 'pkg-config')
@@ -13,9 +13,9 @@ reason = 'missing dependency, "zlib"' ext_deps += dep cflags += '-DZLIB_CONST' sources = files('bnx2x.c', - 'bnx2x_ethdev.c', - 'bnx2x_rxtx.c', - 'bnx2x_stats.c', - 'bnx2x_vfpf.c', - 'ecore_sp.c', - 'elink.c') + 'bnx2x_ethdev.c', + 'bnx2x_rxtx.c', + 'bnx2x_stats.c', + 'bnx2x_vfpf.c', + 'ecore_sp.c', + 'elink.c')
drivers/net/bnxt/meson.build +62 -62
143 lines not on this page · raw message
drivers/net/bonding/meson.build +4 -4
@@ -2,14 +2,14 @@ # Copyright(c) 2017 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif name = 'bond' #, james bond :-) sources = files('rte_eth_bond_api.c', 'rte_eth_bond_pmd.c', 'rte_eth_bond_flow.c', - 'rte_eth_bond_args.c', 'rte_eth_bond_8023ad.c', 'rte_eth_bond_alb.c') + 'rte_eth_bond_args.c', 'rte_eth_bond_8023ad.c', 'rte_eth_bond_alb.c') deps += 'sched' # needed for rte_bitmap.h deps += ['ip_frag']
drivers/net/cxgbe/meson.build +15 -15
@@ -2,22 +2,22 @@ # Copyright(c) 2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif sources = files('cxgbe_ethdev.c', - 'cxgbe_main.c', - 'cxgbevf_ethdev.c', - 'cxgbevf_main.c', - 'sge.c', - 'cxgbe_filter.c', - 'cxgbe_flow.c', - 'clip_tbl.c', - 'mps_tcam.c', - 'l2t.c', - 'smt.c', - 'base/t4_hw.c', - 'base/t4vf_hw.c') + 'cxgbe_main.c', + 'cxgbevf_ethdev.c', + 'cxgbevf_main.c', + 'sge.c', + 'cxgbe_filter.c', + 'cxgbe_flow.c', + 'clip_tbl.c', + 'mps_tcam.c', + 'l2t.c', + 'smt.c', + 'base/t4_hw.c', + 'base/t4vf_hw.c') includes += include_directories('base')
drivers/net/dpaa/meson.build +8 -8
@@ -2,20 +2,20 @@ # Copyright 2018-2020 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['mempool_dpaa'] sources = files('dpaa_ethdev.c', - 'fmlib/fm_lib.c', - 'fmlib/fm_vsp.c', - 'dpaa_flow.c', - 'dpaa_rxtx.c', - 'dpaa_fmc.c') + 'fmlib/fm_lib.c', + 'fmlib/fm_vsp.c', + 'dpaa_flow.c', + 'dpaa_rxtx.c', + 'dpaa_fmc.c') if cc.has_argument('-Wno-pointer-arith') - cflags += '-Wno-pointer-arith' + cflags += '-Wno-pointer-arith' endif headers = files('rte_pmd_dpaa.h')
drivers/net/dpaa2/meson.build +13 -13
@@ -2,23 +2,23 @@ # Copyright 2018-2021 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['mempool_dpaa2'] sources = files('base/dpaa2_hw_dpni.c', - 'dpaa2_tm.c', - 'dpaa2_mux.c', - 'dpaa2_ethdev.c', - 'dpaa2_flow.c', - 'dpaa2_rxtx.c', - 'dpaa2_sparser.c', - 'dpaa2_ptp.c', - 'mc/dprtc.c', - 'mc/dpkg.c', - 'mc/dpdmux.c', - 'mc/dpni.c') + 'dpaa2_tm.c', + 'dpaa2_mux.c', + 'dpaa2_ethdev.c', + 'dpaa2_flow.c', + 'dpaa2_rxtx.c', + 'dpaa2_sparser.c', + 'dpaa2_ptp.c', + 'mc/dprtc.c', + 'mc/dpkg.c', + 'mc/dpdmux.c', + 'mc/dpni.c') includes += include_directories('base', 'mc')
drivers/net/e1000/base/meson.build +25 -25
62 lines not on this page · raw message
drivers/net/e1000/meson.build +10 -10
@@ -2,22 +2,22 @@ # Copyright(c) 2017 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif subdir('base') objs = [base_objs] sources = files( - 'e1000_logs.c', - 'em_ethdev.c', - 'em_rxtx.c', - 'igb_ethdev.c', - 'igb_flow.c', - 'igb_pf.c', - 'igb_rxtx.c' + 'e1000_logs.c', + 'em_ethdev.c', + 'em_rxtx.c', + 'igb_ethdev.c', + 'igb_flow.c', + 'igb_pf.c', + 'igb_rxtx.c' ) includes += include_directories('base')
drivers/net/ena/meson.build +5 -5
@@ -2,14 +2,14 @@ # Copyright(c) 2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif sources = files('ena_ethdev.c', - 'base/ena_com.c', - 'base/ena_eth_com.c') + 'base/ena_com.c', + 'base/ena_eth_com.c') deps += ['timer']
drivers/net/enetc/meson.build +3 -3
@@ -2,12 +2,12 @@ # Copyright 2018 NXP if not is_linux - build = false - reason = 'only supported on Linux' + build = false + reason = 'only supported on Linux' endif deps += ['common_dpaax'] sources = files('enetc_ethdev.c', - 'enetc_rxtx.c') + 'enetc_rxtx.c') includes += include_directories('base')
drivers/net/enic/meson.build +23 -23
63 lines not on this page · raw message
drivers/net/failsafe/meson.build +12 -12
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif cflags += '-std=gnu99'
@@ -12,16 +12,16 @@ cflags += '-D_DEFAULT_SOURCE' cflags += '-D_XOPEN_SOURCE=700' cflags += '-pedantic' if is_linux - cflags += '-DLINUX' + cflags += '-DLINUX' else - cflags += '-DBSD' + cflags += '-DBSD' endif sources = files('failsafe_args.c', - 'failsafe.c', - 'failsafe_eal.c', - 'failsafe_ether.c', - 'failsafe_flow.c', - 'failsafe_intr.c', - 'failsafe_ops.c', - 'failsafe_rxtx.c') + 'failsafe.c', + 'failsafe_eal.c', + 'failsafe_ether.c', + 'failsafe_flow.c', + 'failsafe_intr.c', + 'failsafe_ops.c', + 'failsafe_rxtx.c')
drivers/net/fm10k/base/meson.build +14 -14
@@ -2,27 +2,27 @@ # Copyright(c) 2017 Intel Corporation sources = [ - 'fm10k_api.c', - 'fm10k_common.c', - 'fm10k_mbx.c', - 'fm10k_pf.c', - 'fm10k_tlv.c', - 'fm10k_vf.c' + 'fm10k_api.c', + 'fm10k_common.c', + 'fm10k_mbx.c', + 'fm10k_pf.c', + 'fm10k_tlv.c', + 'fm10k_vf.c' ] error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value', - '-Wno-strict-aliasing', '-Wno-format-extra-args', - '-Wno-unused-variable', - '-Wno-implicit-fallthrough' + '-Wno-strict-aliasing', '-Wno-format-extra-args', + '-Wno-unused-variable', + '-Wno-implicit-fallthrough' ] c_args = cflags foreach flag: error_cflags - if cc.has_argument(flag) - c_args += flag - endif + if cc.has_argument(flag) + c_args += flag + endif endforeach base_lib = static_library('fm10k_base', sources, - dependencies: static_rte_eal, - c_args: c_args) + dependencies: static_rte_eal, + c_args: c_args) base_objs = base_lib.extract_all_objects()
drivers/net/fm10k/meson.build +6 -6
@@ -2,20 +2,20 @@ # Copyright(c) 2017 Intel Corporation if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif subdir('base') objs = [base_objs] sources = files( - 'fm10k_ethdev.c', - 'fm10k_rxtx.c', + 'fm10k_ethdev.c', + 'fm10k_rxtx.c', ) if arch_subdir == 'x86' - sources += files('fm10k_rxtx_vec.c') + sources += files('fm10k_rxtx_vec.c') endif includes += include_directories('base')
drivers/net/hinic/base/meson.build +13 -13
@@ -2,17 +2,17 @@ # Copyright(c) 2017 Huawei Technologies Co., Ltd sources = [ - 'hinic_pmd_api_cmd.c', - 'hinic_pmd_cfg.c', - 'hinic_pmd_cmdq.c', - 'hinic_pmd_eqs.c', - 'hinic_pmd_hwdev.c', - 'hinic_pmd_hwif.c', - 'hinic_pmd_mgmt.c', - 'hinic_pmd_niccfg.c', - 'hinic_pmd_nicio.c', - 'hinic_pmd_wq.c', - 'hinic_pmd_mbox.c', + 'hinic_pmd_api_cmd.c', + 'hinic_pmd_cfg.c', + 'hinic_pmd_cmdq.c', + 'hinic_pmd_eqs.c', + 'hinic_pmd_hwdev.c', + 'hinic_pmd_hwif.c', + 'hinic_pmd_mgmt.c', + 'hinic_pmd_niccfg.c', + 'hinic_pmd_nicio.c', + 'hinic_pmd_wq.c', + 'hinic_pmd_mbox.c', ] extra_flags = []
@@ -32,6 +32,6 @@ deps += ['hash'] c_args = cflags base_lib = static_library('hinic_base', sources, - dependencies: [static_rte_eal, static_rte_ethdev, static_rte_bus_pci, static_rte_hash], - c_args: c_args) + dependencies: [static_rte_eal, static_rte_ethdev, static_rte_bus_pci, static_rte_hash], + c_args: c_args) base_objs = base_lib.extract_all_objects()
drivers/net/hinic/meson.build +8 -8
@@ -2,19 +2,19 @@ # Copyright(c) 2017 Huawei Technologies Co., Ltd if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() + build = false + reason = 'not supported on Windows' + subdir_done() endif subdir('base') objs = [base_objs] sources = files( - 'hinic_pmd_ethdev.c', - 'hinic_pmd_rx.c', - 'hinic_pmd_tx.c', - 'hinic_pmd_flow.c', - ) + 'hinic_pmd_ethdev.c', + 'hinic_pmd_rx.c', + 'hinic_pmd_tx.c', + 'hinic_pmd_flow.c', + ) includes += include_directories('base')
drivers/net/hns3/meson.build +23 -23
60 lines not on this page · raw message
drivers/net/i40e/base/meson.build +16 -16
@@ -2,29 +2,29 @@ # Copyright(c) 2017-2020 Intel Corporation sources = [ - 'i40e_adminq.c', - 'i40e_common.c', - 'i40e_dcb.c', - 'i40e_diag.c', - 'i40e_hmc.c', - 'i40e_lan_hmc.c', - 'i40e_nvm.c' + 'i40e_adminq.c', + 'i40e_common.c', + 'i40e_dcb.c', + 'i40e_diag.c', + 'i40e_hmc.c', + 'i40e_lan_hmc.c', + 'i40e_nvm.c' ] error_cflags = ['-Wno-sign-compare', '-Wno-unused-value', - '-Wno-format', '-Wno-format-security', - '-Wno-format-nonliteral', - '-Wno-strict-aliasing', '-Wno-unused-but-set-variable', - '-Wno-unused-parameter', + '-Wno-format', '-Wno-format-security', + '-Wno-format-nonliteral', + '-Wno-strict-aliasing', '-Wno-unused-but-set-variable', + '-Wno-unused-parameter', ] c_args = cflags foreach flag: error_cflags - if cc.has_argument(flag) - c_args += flag - endif + if cc.has_argument(flag) + c_args += flag + endif endforeach base_lib = static_library('i40e_base', sources, - dependencies: static_rte_eal, - c_args: c_args) + dependencies: static_rte_eal, + c_args: c_args) base_objs = base_lib.extract_all_objects()
drivers/net/i40e/meson.build +55 -55
131 lines not on this page · raw message
drivers/net/iavf/meson.build +47 -47
113 lines not on this page · raw message
drivers/net/ice/base/meson.build +20 -20
@@ -2,34 +2,34 @@ # Copyright(c) 2018-2021 Intel Corporation sources = [ - 'ice_controlq.c', - 'ice_common.c', - 'ice_sched.c', - 'ice_switch.c', - 'ice_nvm.c', - 'ice_flex_pipe.c', - 'ice_flow.c', - 'ice_dcb.c', - 'ice_fdir.c', - 'ice_acl.c', - 'ice_acl_ctrl.c', - 'ice_vlan_mode.c', + 'ice_controlq.c', + 'ice_common.c', + 'ice_sched.c', + 'ice_switch.c', + 'ice_nvm.c', + 'ice_flex_pipe.c', + 'ice_flow.c', + 'ice_dcb.c', + 'ice_fdir.c', + 'ice_acl.c', + 'ice_acl_ctrl.c', + 'ice_vlan_mode.c', ] error_cflags = ['-Wno-unused-value', - '-Wno-unused-but-set-variable', - '-Wno-unused-variable', - '-Wno-unused-parameter', + '-Wno-unused-but-set-variable', + '-Wno-unused-variable', + '-Wno-unused-parameter', ] c_args = cflags foreach flag: error_cflags - if cc.has_argument(flag) - c_args += flag - endif + if cc.has_argument(flag) + c_args += flag + endif endforeach base_lib = static_library('ice_base', sources, - dependencies: static_rte_eal, - c_args: c_args) + dependencies: static_rte_eal, + c_args: c_args) base_objs = base_lib.extract_all_objects()
drivers/net/ice/meson.build +50 -50
4 lines not on this page · raw message
drivers/net/ixgbe/base/meson.build +21 -21
42 lines not on this page · raw message
drivers/net/mlx4/meson.build +80 -80
160 lines not on this page · raw message
drivers/net/mlx5/meson.build +39 -39
78 lines not on this page · raw message
drivers/net/octeontx2/meson.build +31 -31
62 lines not on this page · raw message
drivers/net/qede/base/meson.build +39 -39
78 lines not on this page · raw message
drivers/net/sfc/meson.build +32 -32
64 lines not on this page · raw message
drivers/net/tap/meson.build +21 -21
42 lines not on this page · raw message
drivers/net/virtio/meson.build +39 -39
78 lines not on this page · raw message
drivers/raw/ifpga/base/meson.build +27 -27
54 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.27.0
Part of the diff is not shown here. View the raw message.
RFC PATCH 11/14 examples: change meson file tabs to spaces
In reply to Bruce RichardsonSwitch from using tabs to 4 spaces for meson.build indentation.
--- examples/bbdev_app/meson.build | 2 +- examples/bond/meson.build | 2 +- examples/cmdline/meson.build | 2 +- examples/distributor/meson.build | 4 +-- examples/ethtool/meson.build | 8 ++--- examples/eventdev_pipeline/meson.build | 6 ++-- examples/fips_validation/meson.build | 22 +++++++------- examples/flow_classify/meson.build | 2 +- examples/flow_filtering/meson.build | 2 +- examples/helloworld/meson.build | 2 +- examples/ioat/meson.build | 4 +-- examples/ip_fragmentation/meson.build | 2 +- examples/ip_pipeline/meson.build | 30 +++++++++---------- examples/ip_reassembly/meson.build | 2 +- examples/ipsec-secgw/meson.build | 26 ++++++++-------- examples/ipv4_multicast/meson.build | 2 +- examples/kni/meson.build | 4 +-- examples/l2fwd-cat/meson.build | 4 +-- examples/l2fwd-crypto/meson.build | 4 +-- examples/l2fwd-event/meson.build | 12 ++++---- examples/l2fwd-jobstats/meson.build | 2 +- examples/l2fwd-keepalive/meson.build | 6 ++-- examples/l2fwd/meson.build | 2 +- examples/l3fwd-acl/meson.build | 2 +- examples/l3fwd-graph/meson.build | 2 +- examples/l3fwd-power/meson.build | 2 +- examples/l3fwd/meson.build | 4 +-- examples/link_status_interrupt/meson.build | 2 +- .../client_server_mp/mp_client/meson.build | 2 +- .../client_server_mp/mp_server/meson.build | 2 +- examples/multi_process/hotplug_mp/meson.build | 2 +- examples/multi_process/simple_mp/meson.build | 2 +- .../multi_process/symmetric_mp/meson.build | 2 +- examples/ntb/meson.build | 8 ++--- examples/packet_ordering/meson.build | 2 +- .../l3fwd-thread/meson.build | 20 ++++++------- .../pthread_shim/meson.build | 22 +++++++------- examples/pipeline/meson.build | 12 ++++---- examples/ptpclient/meson.build | 2 +- examples/qos_meter/meson.build | 2 +- examples/qos_sched/meson.build | 4 +-- examples/rxtx_callbacks/meson.build | 2 +- examples/service_cores/meson.build | 2 +- examples/skeleton/meson.build | 2 +- examples/timer/meson.build | 2 +- examples/vdpa/meson.build | 6 ++-- examples/vhost/meson.build | 10 +++---- examples/vhost_blk/meson.build | 10 +++---- examples/vhost_crypto/meson.build | 4 +-- .../vm_power_manager/guest_cli/meson.build | 2 +- examples/vm_power_manager/meson.build | 20 ++++++------- examples/vmdq/meson.build | 2 +- examples/vmdq_dcb/meson.build | 2 +- 53 files changed, 155 insertions(+), 155 deletions(-)
examples/bbdev_app/meson.build +1 -1
@@ -9,5 +9,5 @@ deps += 'bbdev' allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/bond/meson.build +1 -1
@@ -9,5 +9,5 @@ deps += 'net_bond' allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/cmdline/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'commands.c', 'main.c', 'parse_obj_list.c' + 'commands.c', 'main.c', 'parse_obj_list.c' )
examples/distributor/meson.build +2 -2
@@ -9,11 +9,11 @@ # require the power library build = dpdk_conf.has('RTE_LIB_POWER') if not build - subdir_done() + subdir_done() endif allow_experimental_apis = true deps += ['distributor', 'power'] sources = files( - 'main.c' + 'main.c' )
examples/ethtool/meson.build +4 -4
@@ -8,17 +8,17 @@ build = is_linux if not build - subdir_done() + subdir_done() endif sources = files('lib/rte_ethtool.c', - 'ethtool-app/ethapp.c', - 'ethtool-app/main.c') + 'ethtool-app/ethapp.c', + 'ethtool-app/main.c') includes = include_directories('lib', 'ethtool-app') deps += 'bus_pci' if dpdk_conf.has('RTE_NET_IXGBE') - deps += 'net_ixgbe' + deps += 'net_ixgbe' endif allow_experimental_apis = true
examples/eventdev_pipeline/meson.build +3 -3
@@ -9,7 +9,7 @@ allow_experimental_apis = true deps += 'eventdev' sources = files( - 'main.c', - 'pipeline_worker_generic.c', - 'pipeline_worker_tx.c' + 'main.c', + 'pipeline_worker_generic.c', + 'pipeline_worker_tx.c' )
examples/fips_validation/meson.build +11 -11
@@ -9,15 +9,15 @@ deps += ['cryptodev'] allow_experimental_apis = true sources = files( - 'fips_validation_aes.c', - 'fips_validation.c', - 'fips_validation_hmac.c', - 'fips_validation_tdes.c', - 'fips_validation_gcm.c', - 'fips_validation_cmac.c', - 'fips_validation_ccm.c', - 'fips_validation_sha.c', - 'fips_validation_xts.c', - 'fips_dev_self_test.c', - 'main.c' + 'fips_validation_aes.c', + 'fips_validation.c', + 'fips_validation_hmac.c', + 'fips_validation_tdes.c', + 'fips_validation_gcm.c', + 'fips_validation_cmac.c', + 'fips_validation_ccm.c', + 'fips_validation_sha.c', + 'fips_validation_xts.c', + 'fips_dev_self_test.c', + 'main.c' )
examples/flow_classify/meson.build +1 -1
@@ -9,5 +9,5 @@ deps += 'flow_classify' allow_experimental_apis = true sources = files( - 'flow_classify.c' + 'flow_classify.c' )
examples/flow_filtering/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c', + 'main.c', )
examples/helloworld/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/ioat/meson.build +2 -2
@@ -9,11 +9,11 @@ allow_experimental_apis = true build = dpdk_conf.has('RTE_RAW_IOAT') if not build - subdir_done() + subdir_done() endif deps += ['raw_ioat'] sources = files( - 'ioatfwd.c' + 'ioatfwd.c' )
examples/ip_fragmentation/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += ['ip_frag', 'lpm'] sources = files( - 'main.c' + 'main.c' )
examples/ip_pipeline/meson.build +15 -15
@@ -8,24 +8,24 @@ build = cc.has_header('sys/epoll.h') if not build - subdir_done() + subdir_done() endif deps += ['pipeline', 'bus_pci'] allow_experimental_apis = true sources = files( - 'action.c', - 'cli.c', - 'conn.c', - 'kni.c', - 'link.c', - 'main.c', - 'mempool.c', - 'parser.c', - 'pipeline.c', - 'swq.c', - 'tap.c', - 'thread.c', - 'tmgr.c', - 'cryptodev.c' + 'action.c', + 'cli.c', + 'conn.c', + 'kni.c', + 'link.c', + 'main.c', + 'mempool.c', + 'parser.c', + 'pipeline.c', + 'swq.c', + 'tap.c', + 'thread.c', + 'tmgr.c', + 'cryptodev.c' )
examples/ip_reassembly/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += ['lpm', 'ip_frag'] sources = files( - 'main.c' + 'main.c' )
examples/ipsec-secgw/meson.build +13 -13
@@ -9,17 +9,17 @@ deps += ['security', 'lpm', 'acl', 'hash', 'ip_frag', 'ipsec', 'eventdev'] allow_experimental_apis = true sources = files( - 'esp.c', - 'event_helper.c', - 'flow.c', - 'ipsec.c', - 'ipsec_process.c', - 'ipsec-secgw.c', - 'ipsec_worker.c', - 'parser.c', - 'rt.c', - 'sa.c', - 'sad.c', - 'sp4.c', - 'sp6.c' + 'esp.c', + 'event_helper.c', + 'flow.c', + 'ipsec.c', + 'ipsec_process.c', + 'ipsec-secgw.c', + 'ipsec_worker.c', + 'parser.c', + 'rt.c', + 'sa.c', + 'sad.c', + 'sp4.c', + 'sp6.c' )
examples/ipv4_multicast/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += 'hash' sources = files( - 'main.c' + 'main.c' )
examples/kni/meson.build +2 -2
@@ -9,11 +9,11 @@ # this app can be built if-and-only-if KNI library is buildable build = dpdk_conf.has('RTE_LIB_KNI') if not build - subdir_done() + subdir_done() endif deps += ['kni', 'bus_pci'] sources = files( - 'main.c' + 'main.c' ) allow_experimental_apis = true
examples/l2fwd-cat/meson.build +2 -2
@@ -9,12 +9,12 @@ pqos = cc.find_library('pqos', required: false) build = pqos.found() if not build - subdir_done() + subdir_done() endif ext_deps += pqos allow_experimental_apis = true cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local sources = files( - 'cat.c', 'l2fwd-cat.c' + 'cat.c', 'l2fwd-cat.c' )
examples/l2fwd-crypto/meson.build +2 -2
@@ -8,9 +8,9 @@ deps += 'cryptodev' if dpdk_conf.has('RTE_CRYPTO_SCHEDULER') - deps += 'crypto_scheduler' + deps += 'crypto_scheduler' endif allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/l2fwd-event/meson.build +6 -6
@@ -10,10 +10,10 @@ allow_experimental_apis = true deps += 'eventdev' sources = files( - 'main.c', - 'l2fwd_poll.c', - 'l2fwd_common.c', - 'l2fwd_event.c', - 'l2fwd_event_internal_port.c', - 'l2fwd_event_generic.c' + 'main.c', + 'l2fwd_poll.c', + 'l2fwd_common.c', + 'l2fwd_event.c', + 'l2fwd_event_internal_port.c', + 'l2fwd_event_generic.c' )
examples/l2fwd-jobstats/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += ['jobstats', 'timer'] sources = files( - 'main.c' + 'main.c' )
examples/l2fwd-keepalive/meson.build +3 -3
@@ -9,12 +9,12 @@ allow_experimental_apis = true librt = cc.find_library('rt', required: false) if not librt.found() - build = false - subdir_done() + build = false + subdir_done() endif ext_deps += librt deps += 'timer' sources = files( - 'main.c', 'shm.c' + 'main.c', 'shm.c' )
examples/l2fwd/meson.build +1 -1
@@ -9,5 +9,5 @@ # Enable experimental API flag as l2fwd uses rte_ethdev_set_ptype API allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/l3fwd-acl/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += ['acl', 'lpm', 'hash'] sources = files( - 'main.c' + 'main.c' )
examples/l3fwd-graph/meson.build +1 -1
@@ -8,6 +8,6 @@ deps += ['graph', 'eal', 'lpm', 'ethdev', 'node' ] sources = files( - 'main.c' + 'main.c' ) allow_experimental_apis = true
examples/l3fwd-power/meson.build +1 -1
@@ -14,5 +14,5 @@ endif allow_experimental_apis = true deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry'] sources = files( - 'main.c', 'perf_core.c' + 'main.c', 'perf_core.c' )
examples/l3fwd/meson.build +2 -2
@@ -9,6 +9,6 @@ allow_experimental_apis = true deps += ['hash', 'lpm', 'eventdev'] sources = files( - 'l3fwd_em.c', 'l3fwd_lpm.c', 'l3fwd_event.c', - 'l3fwd_event_internal_port.c', 'l3fwd_event_generic.c', 'main.c' + 'l3fwd_em.c', 'l3fwd_lpm.c', 'l3fwd_event.c', + 'l3fwd_event_internal_port.c', 'l3fwd_event_generic.c', 'main.c' )
examples/link_status_interrupt/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/multi_process/client_server_mp/mp_client/meson.build +1 -1
@@ -10,5 +10,5 @@ includes += include_directories('../shared') allow_experimental_apis = true sources = files( - 'client.c' + 'client.c' )
examples/multi_process/client_server_mp/mp_server/meson.build +1 -1
@@ -10,5 +10,5 @@ includes += include_directories('../shared') allow_experimental_apis = true sources = files( - 'args.c', 'init.c', 'main.c' + 'args.c', 'init.c', 'main.c' )
examples/multi_process/hotplug_mp/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'commands.c', 'main.c' + 'commands.c', 'main.c' )
examples/multi_process/simple_mp/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'mp_commands.c', 'main.c' + 'mp_commands.c', 'main.c' )
examples/multi_process/symmetric_mp/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/ntb/meson.build +4 -4
@@ -8,15 +8,15 @@ allow_experimental_apis = true if not is_linux - build = false - subdir_done() + build = false + subdir_done() endif deps += 'rawdev' cflags += ['-D_FILE_OFFSET_BITS=64'] sources = files( - 'ntb_fwd.c' + 'ntb_fwd.c' ) if dpdk_conf.has('RTE_RAW_NTB') - deps += 'raw_ntb' + deps += 'raw_ntb' endif
examples/packet_ordering/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += 'reorder' sources = files( - 'main.c' + 'main.c' )
examples/performance-thread/l3fwd-thread/meson.build +10 -10
@@ -8,7 +8,7 @@ build = dpdk_conf.has('RTE_ARCH_X86_64') if not build - subdir_done() + subdir_done() endif deps += ['timer', 'lpm']
@@ -16,17 +16,17 @@ allow_experimental_apis = true # get the performance thread (pt) architecture subdir if dpdk_conf.has('RTE_ARCH_ARM64') - pt_arch_dir = '../common/arch/arm64' + pt_arch_dir = '../common/arch/arm64' else - pt_arch_dir = '../common/arch/x86' + pt_arch_dir = '../common/arch/x86' endif sources += files('main.c', - '../common/lthread.c', - '../common/lthread_cond.c', - '../common/lthread_diag.c', - '../common/lthread_mutex.c', - '../common/lthread_sched.c', - '../common/lthread_tls.c', - pt_arch_dir + '/ctx.c') + '../common/lthread.c', + '../common/lthread_cond.c', + '../common/lthread_diag.c', + '../common/lthread_mutex.c', + '../common/lthread_sched.c', + '../common/lthread_tls.c', + pt_arch_dir + '/ctx.c') includes += include_directories('../common', pt_arch_dir)
examples/performance-thread/pthread_shim/meson.build +11 -11
@@ -8,7 +8,7 @@ build = dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_ARM64') if not build - subdir_done() + subdir_done() endif deps += ['timer']
@@ -16,18 +16,18 @@ allow_experimental_apis = true # get the performance thread (pt) architecture subdir if dpdk_conf.has('RTE_ARCH_ARM64') - pt_arch_dir = '../common/arch/arm64' + pt_arch_dir = '../common/arch/arm64' else - pt_arch_dir = '../common/arch/x86' + pt_arch_dir = '../common/arch/x86' endif sources += files('main.c', - 'pthread_shim.c', - '../common/lthread.c', - '../common/lthread_cond.c', - '../common/lthread_diag.c', - '../common/lthread_mutex.c', - '../common/lthread_sched.c', - '../common/lthread_tls.c', - pt_arch_dir + '/ctx.c') + 'pthread_shim.c', + '../common/lthread.c', + '../common/lthread_cond.c', + '../common/lthread_diag.c', + '../common/lthread_mutex.c', + '../common/lthread_sched.c', + '../common/lthread_tls.c', + pt_arch_dir + '/ctx.c') includes += include_directories('../common', pt_arch_dir)
examples/pipeline/meson.build +6 -6
@@ -8,15 +8,15 @@ build = cc.has_header('sys/epoll.h') if not build - subdir_done() + subdir_done() endif deps += ['pipeline', 'bus_pci'] allow_experimental_apis = true sources = files( - 'cli.c', - 'conn.c', - 'main.c', - 'obj.c', - 'thread.c', + 'cli.c', + 'conn.c', + 'main.c', + 'obj.c', + 'thread.c', )
examples/ptpclient/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'ptpclient.c' + 'ptpclient.c' )
examples/qos_meter/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += 'meter' sources = files( - 'main.c', 'rte_policer.c' + 'main.c', 'rte_policer.c' )
examples/qos_sched/meson.build +2 -2
@@ -9,6 +9,6 @@ allow_experimental_apis = true deps += ['sched', 'cfgfile'] sources = files( - 'app_thread.c', 'args.c', 'cfg_file.c', 'cmdline.c', - 'init.c', 'main.c', 'stats.c' + 'app_thread.c', 'args.c', 'cfg_file.c', 'cmdline.c', + 'init.c', 'main.c', 'stats.c' )
examples/rxtx_callbacks/meson.build +1 -1
@@ -10,5 +10,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/service_cores/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/skeleton/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'basicfwd.c' + 'basicfwd.c' )
examples/timer/meson.build +1 -1
@@ -9,5 +9,5 @@ allow_experimental_apis = true deps += 'timer' sources = files( - 'main.c' + 'main.c' )
examples/vdpa/meson.build +3 -3
@@ -7,12 +7,12 @@ # DPDK instance, use 'make' if not is_linux - build = false - subdir_done() + build = false + subdir_done() endif deps += 'vhost' allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/vhost/meson.build +5 -5
@@ -7,17 +7,17 @@ # DPDK instance, use 'make' if not is_linux - build = false - subdir_done() + build = false + subdir_done() endif deps += 'vhost' allow_experimental_apis = true sources = files( - 'main.c', 'virtio_net.c' + 'main.c', 'virtio_net.c' ) if dpdk_conf.has('RTE_RAW_IOAT') - deps += 'raw_ioat' - sources += files('ioat.c') + deps += 'raw_ioat' + sources += files('ioat.c') endif
examples/vhost_blk/meson.build +5 -5
@@ -7,17 +7,17 @@ # DPDK instance, use 'make' if not is_linux - build = false - subdir_done() + build = false + subdir_done() endif if not cc.has_header('linux/virtio_blk.h') - build = false - subdir_done() + build = false + subdir_done() endif deps += 'vhost' allow_experimental_apis = true sources = files( - 'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c' + 'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c' )
examples/vhost_crypto/meson.build +2 -2
@@ -8,11 +8,11 @@ build = dpdk_conf.has('RTE_LIB_VHOST') if not build - subdir_done() + subdir_done() endif allow_experimental_apis = true deps += ['vhost', 'cryptodev'] sources = files( - 'main.c' + 'main.c' )
examples/vm_power_manager/guest_cli/meson.build +1 -1
@@ -14,7 +14,7 @@ endif deps += ['power'] sources = files( - 'main.c', 'parse.c', 'vm_power_cli_guest.c' + 'main.c', 'parse.c', 'vm_power_cli_guest.c' ) allow_experimental_apis = true
examples/vm_power_manager/meson.build +10 -10
@@ -7,34 +7,34 @@ # DPDK instance, use 'make' if not dpdk_conf.has('RTE_LIB_POWER') - build = false - subdir_done() + build = false + subdir_done() endif deps += ['power'] if dpdk_conf.has('RTE_NET_BNXT') - deps += ['net_bnxt'] + deps += ['net_bnxt'] endif if dpdk_conf.has('RTE_NET_I40E') - deps += ['net_i40e'] + deps += ['net_i40e'] endif if dpdk_conf.has('RTE_NET_IXGBE') - deps += ['net_ixgbe'] + deps += ['net_ixgbe'] endif allow_experimental_apis = true sources = files( - 'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c' + 'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c' ) # If we're on X86, pull in the x86 code for the branch monitor algo. if dpdk_conf.has('RTE_ARCH_X86_64') - sources += files('oob_monitor_x86.c') + sources += files('oob_monitor_x86.c') else - sources += files('oob_monitor_nop.c') + sources += files('oob_monitor_nop.c') endif opt_dep = cc.find_library('virt', required : false)
@@ -43,6 +43,6 @@ ext_deps += opt_dep opt_dep = dependency('jansson', required : false, method: 'pkg-config') if opt_dep.found() - ext_deps += opt_dep - cflags += '-DUSE_JANSSON' + ext_deps += opt_dep + cflags += '-DUSE_JANSSON' endif
examples/vmdq/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
examples/vmdq_dcb/meson.build +1 -1
@@ -8,5 +8,5 @@ allow_experimental_apis = true sources = files( - 'main.c' + 'main.c' )
Signature · 1 line
2.27.0
RFC PATCH 12/14 app: change meson file tabs to spaces
In reply to Bruce RichardsonSwitch from using tabs to 4 spaces for meson.build indentation.
--- app/test-bbdev/meson.build | 12 +- app/test-compress-perf/meson.build | 10 +- app/test-crypto-perf/meson.build | 20 +- app/test-eventdev/meson.build | 24 +- app/test-flow-perf/meson.build | 8 +- app/test-pipeline/meson.build | 18 +- app/test-pmd/meson.build | 60 +-- app/test/meson.build | 812 ++++++++++++++--------------- 8 files changed, 482 insertions(+), 482 deletions(-)
app/test-bbdev/meson.build +6 -6
@@ -2,16 +2,16 @@ # Copyright(c) 2018 Intel Corporation sources = files('main.c', - 'test_bbdev.c', - 'test_bbdev_perf.c', - 'test_bbdev_vector.c') + 'test_bbdev.c', + 'test_bbdev_perf.c', + 'test_bbdev_vector.c') deps += ['bbdev', 'bus_vdev'] if dpdk_conf.has('RTE_BASEBAND_FPGA_LTE_FEC') - deps += ['baseband_fpga_lte_fec'] + deps += ['baseband_fpga_lte_fec'] endif if dpdk_conf.has('RTE_BASEBAND_FPGA_5GNR_FEC') - deps += ['baseband_fpga_5gnr_fec'] + deps += ['baseband_fpga_5gnr_fec'] endif if dpdk_conf.has('RTE_BASEBAND_ACC100') - deps += ['baseband_acc100'] + deps += ['baseband_acc100'] endif
app/test-compress-perf/meson.build +5 -5
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Intel Corporation sources = files('comp_perf_options_parse.c', - 'main.c', - 'comp_perf_test_verify.c', - 'comp_perf_test_throughput.c', - 'comp_perf_test_cyclecount.c', - 'comp_perf_test_common.c') + 'main.c', + 'comp_perf_test_verify.c', + 'comp_perf_test_throughput.c', + 'comp_perf_test_cyclecount.c', + 'comp_perf_test_common.c') deps = ['compressdev']
app/test-crypto-perf/meson.build +10 -10
@@ -2,16 +2,16 @@ # Copyright(c) 2018 Intel Corporation sources = files('cperf_ops.c', - 'cperf_options_parsing.c', - 'cperf_test_common.c', - 'cperf_test_latency.c', - 'cperf_test_pmd_cyclecount.c', - 'cperf_test_throughput.c', - 'cperf_test_vector_parsing.c', - 'cperf_test_vectors.c', - 'cperf_test_verify.c', - 'main.c') + 'cperf_options_parsing.c', + 'cperf_test_common.c', + 'cperf_test_latency.c', + 'cperf_test_pmd_cyclecount.c', + 'cperf_test_throughput.c', + 'cperf_test_vector_parsing.c', + 'cperf_test_vectors.c', + 'cperf_test_verify.c', + 'main.c') deps += ['cryptodev', 'net', 'security'] if dpdk_conf.has('RTE_CRYPTO_SCHEDULER') - deps += 'crypto_scheduler' + deps += 'crypto_scheduler' endif
app/test-eventdev/meson.build +12 -12
@@ -2,16 +2,16 @@ # Copyright(c) 2017 Cavium, Inc sources = files('evt_main.c', - 'evt_options.c', - 'evt_test.c', - 'parser.c', - 'test_order_common.c', - 'test_order_atq.c', - 'test_order_queue.c', - 'test_perf_common.c', - 'test_perf_atq.c', - 'test_perf_queue.c', - 'test_pipeline_common.c', - 'test_pipeline_atq.c', - 'test_pipeline_queue.c') + 'evt_options.c', + 'evt_test.c', + 'parser.c', + 'test_order_common.c', + 'test_order_atq.c', + 'test_order_queue.c', + 'test_perf_common.c', + 'test_perf_atq.c', + 'test_perf_queue.c', + 'test_pipeline_common.c', + 'test_pipeline_atq.c', + 'test_pipeline_queue.c') deps += 'eventdev'
app/test-flow-perf/meson.build +4 -4
@@ -2,10 +2,10 @@ # Copyright(c) 2020 Mellanox Technologies, Ltd sources = files( - 'actions_gen.c', - 'flow_gen.c', - 'items_gen.c', - 'main.c', + 'actions_gen.c', + 'flow_gen.c', + 'items_gen.c', + 'main.c', ) deps += ['ethdev']
app/test-pipeline/meson.build +9 -9
@@ -2,13 +2,13 @@ # Copyright(c) 2019 Intel Corporation sources = files( - 'config.c', - 'init.c', - 'main.c', - 'pipeline_acl.c', - 'pipeline_hash.c', - 'pipeline_lpm.c', - 'pipeline_lpm_ipv6.c', - 'pipeline_stub.c', - 'runtime.c') + 'config.c', + 'init.c', + 'main.c', + 'pipeline_acl.c', + 'pipeline_hash.c', + 'pipeline_lpm.c', + 'pipeline_lpm_ipv6.c', + 'pipeline_stub.c', + 'runtime.c') deps += ['pipeline', 'pci']
app/test-pmd/meson.build +30 -30
87 lines not on this page · raw message
app/test/meson.build +406 -406
898 lines not on this page · raw message
Signature · 1 line
2.27.0