* [dpdk-dev] [RFC PATCH 00/14] Build file update proposals
@ 2021-04-01 11:49 Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 01/14] editorconfig: add entry for meson files Bruce Richardson
` (17 more replies)
0 siblings, 18 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:49 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
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
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 01/14] editorconfig: add entry for meson files
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
@ 2021-04-01 11:49 ` Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 02/14] build: simplify library build file Bruce Richardson
` (16 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:49 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Meson style guide recommends four-space indents, like for python, so add
to editorconfig file.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
.editorconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.editorconfig b/.editorconfig
index d705825574..5101630c8c 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 02/14] build: simplify library build file
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 01/14] editorconfig: add entry for meson files Bruce Richardson
@ 2021-04-01 11:49 ` Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs Bruce Richardson
` (15 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:49 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Two 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.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/meson.build | 291 +++++++++++++++++++++++-------------------------
1 file changed, 141 insertions(+), 150 deletions(-)
diff --git a/lib/meson.build b/lib/meson.build
index 7712aa4977..70a9ef0a0e 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 01/14] editorconfig: add entry for meson files Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 02/14] build: simplify library build file Bruce Richardson
@ 2021-04-01 11:49 ` Bruce Richardson
2021-04-01 13:30 ` Thomas Monjalon
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 04/14] build: simplify the driver build configuration file Bruce Richardson
` (14 subsequent siblings)
17 siblings, 1 reply; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:49 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
With 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.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/meson.build | 72 ++++++++++++++++++++++++-------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/lib/meson.build b/lib/meson.build
index 70a9ef0a0e..7821dc9290 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 04/14] build: simplify the driver build configuration file
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (2 preceding siblings ...)
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs Bruce Richardson
@ 2021-04-01 11:49 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation Bruce Richardson
` (13 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:49 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
As 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.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/meson.build | 361 ++++++++++++++++++++++----------------------
1 file changed, 177 insertions(+), 184 deletions(-)
diff --git a/drivers/meson.build b/drivers/meson.build
index 9c8eded697..57b15bda03 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (3 preceding siblings ...)
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 04/14] build: simplify the driver build configuration file Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 12:14 ` Andrew Rybchenko
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec Bruce Richardson
` (12 subsequent siblings)
17 siblings, 1 reply; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, 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 <bruce.richardson@intel.com>
---
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(-)
diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build
index 920e3b02ee..22d0036cd7 100644
--- a/drivers/baseband/meson.build
+++ b/drivers/baseband/meson.build
@@ -2,7 +2,11 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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']
diff --git a/drivers/bus/meson.build b/drivers/bus/meson.build
index 2e7727af08..65716c23f9 100644
--- a/drivers/bus/meson.build
+++ b/drivers/bus/meson.build
@@ -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']
diff --git a/drivers/common/meson.build b/drivers/common/meson.build
index 66e12143b2..dfebb17e29 100644
--- a/drivers/common/meson.build
+++ b/drivers/common/meson.build
@@ -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']
diff --git a/drivers/compress/meson.build b/drivers/compress/meson.build
index 49fa02d4ce..9cd631dff3 100644
--- a/drivers/compress/meson.build
+++ b/drivers/compress/meson.build
@@ -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
diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
index c927c5f8d3..e337fc5d1d 100644
--- a/drivers/crypto/meson.build
+++ b/drivers/crypto/meson.build
@@ -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
diff --git a/drivers/event/meson.build b/drivers/event/meson.build
index a49288a5d4..60eac20dd6 100644
--- a/drivers/event/meson.build
+++ b/drivers/event/meson.build
@@ -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']
diff --git a/drivers/mempool/meson.build b/drivers/mempool/meson.build
index 4428813dae..8dacc74016 100644
--- a/drivers/mempool/meson.build
+++ b/drivers/mempool/meson.build
@@ -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']
diff --git a/drivers/meson.build b/drivers/meson.build
index 57b15bda03..cb273406c0 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -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
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index fb9ff05a1f..c2ecb57b4f 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -3,57 +3,57 @@
drivers = ['af_packet',
- 'af_xdp',
- 'ark',
- 'atlantic',
- 'avp',
- 'axgbe', 'bonding',
- 'bnx2x',
- 'bnxt',
- 'cxgbe',
- 'dpaa', 'dpaa2',
- 'e1000',
- 'ena',
- 'enetc',
- 'enic',
- 'failsafe',
- 'fm10k', 'i40e',
- 'hinic',
- 'hns3',
- 'iavf',
- 'ice',
- 'igc',
- 'ionic',
- 'ipn3ke',
- 'ixgbe',
- 'kni',
- 'liquidio',
- 'memif',
- 'mlx4',
- 'mlx5',
- 'mvneta',
- 'mvpp2',
- 'netvsc',
- 'nfb',
- 'nfp',
- 'null',
- 'octeontx',
- 'octeontx2',
- 'octeontx_ep',
- 'pcap',
- 'pfe',
- 'qede',
- 'ring',
- 'sfc',
- 'softnic',
- 'szedata2',
- 'tap',
- 'thunderx',
- 'txgbe',
- 'vdev_netvsc',
- 'vhost',
- 'virtio',
- 'vmxnet3',
+ 'af_xdp',
+ 'ark',
+ 'atlantic',
+ 'avp',
+ 'axgbe', 'bonding',
+ 'bnx2x',
+ 'bnxt',
+ 'cxgbe',
+ 'dpaa', 'dpaa2',
+ 'e1000',
+ 'ena',
+ 'enetc',
+ 'enic',
+ 'failsafe',
+ 'fm10k', 'i40e',
+ 'hinic',
+ 'hns3',
+ 'iavf',
+ 'ice',
+ 'igc',
+ 'ionic',
+ 'ipn3ke',
+ 'ixgbe',
+ 'kni',
+ 'liquidio',
+ 'memif',
+ 'mlx4',
+ 'mlx5',
+ 'mvneta',
+ 'mvpp2',
+ 'netvsc',
+ 'nfb',
+ 'nfp',
+ 'null',
+ 'octeontx',
+ 'octeontx2',
+ 'octeontx_ep',
+ 'pcap',
+ 'pfe',
+ 'qede',
+ 'ring',
+ 'sfc',
+ 'softnic',
+ 'szedata2',
+ 'tap',
+ 'thunderx',
+ 'txgbe',
+ 'vdev_netvsc',
+ 'vhost',
+ 'virtio',
+ 'vmxnet3',
]
std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std
diff --git a/drivers/raw/meson.build b/drivers/raw/meson.build
index 8c3a036dfd..cb45019c59 100644
--- a/drivers/raw/meson.build
+++ b/drivers/raw/meson.build
@@ -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']
diff --git a/drivers/regex/meson.build b/drivers/regex/meson.build
index 2d05d5af12..ccdaa688b5 100644
--- a/drivers/regex/meson.build
+++ b/drivers/regex/meson.build
@@ -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
diff --git a/drivers/vdpa/meson.build b/drivers/vdpa/meson.build
index 4929be4c03..a46f02bfb3 100644
--- a/drivers/vdpa/meson.build
+++ b/drivers/vdpa/meson.build
@@ -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']
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (4 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 13:32 ` Thomas Monjalon
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 07/14] build: reduce indentation in examples " Bruce Richardson
` (11 subsequent siblings)
17 siblings, 1 reply; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
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 <bruce.richardson@intel.com>
---
app/meson.build | 100 ++++++++++++++++++++++++------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
diff --git a/app/meson.build b/app/meson.build
index 50a53dbde8..dcffda9d90 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 07/14] build: reduce indentation in examples build spec
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (5 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 08/14] build: change infrastructure file tabs to spaces Bruce Richardson
` (10 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
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 <bruce.richardson@intel.com>
---
examples/meson.build | 158 ++++++++++++++++++++++---------------------
1 file changed, 80 insertions(+), 78 deletions(-)
diff --git a/examples/meson.build b/examples/meson.build
index d065a6a08b..b9518d687c 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 08/14] build: change infrastructure file tabs to spaces
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (6 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 07/14] build: reduce indentation in examples " Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 09/14] lib: change meson " Bruce Richardson
` (9 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Switch from using tabs to 4 spaces for meson.build indentation, for the
basic infrastructure and tooling files, as well as doc and kernel
directories.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
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(-)
diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build
index f28cfd3cd4..428e418ca2 100644
--- a/buildtools/chkincs/meson.build
+++ b/buildtools/chkincs/meson.build
@@ -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: '@BASENAME@.c',
- arguments: ['@INPUT@', '@OUTPUT@'])
+ output: '@BASENAME@.c',
+ 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)
diff --git a/buildtools/meson.build b/buildtools/meson.build
index 9c9347457a..c520896b4b 100644
--- a/buildtools/meson.build
+++ b/buildtools/meson.build
@@ -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
diff --git a/buildtools/pkg-config/meson.build b/buildtools/pkg-config/meson.build
index 39a8fd1c8e..79a6c29a3c 100644
--- a/buildtools/pkg-config/meson.build
+++ b/buildtools/pkg-config/meson.build
@@ -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,
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 00bc4610a3..39f79b5f86 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -4,25 +4,25 @@
# common flags to all aarch64 builds, with lowest priority
flags_common = [
- # Accelerate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)
- # to determine the best threshold in code. Refer to notes in source file
- # (lib/librte_eal/arm/include/rte_memcpy_64.h) for more info.
- ['RTE_ARCH_ARM64_MEMCPY', false],
- # ['RTE_ARM64_MEMCPY_ALIGNED_THRESHOLD', 2048],
- # ['RTE_ARM64_MEMCPY_UNALIGNED_THRESHOLD', 512],
- # Leave below RTE_ARM64_MEMCPY_xxx options commented out,
- # unless there are strong reasons.
- # ['RTE_ARM64_MEMCPY_SKIP_GCC_VER_CHECK', false],
- # ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],
- # ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],
+ # Accelerate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)
+ # to determine the best threshold in code. Refer to notes in source file
+ # (lib/librte_eal/arm/include/rte_memcpy_64.h) for more info.
+ ['RTE_ARCH_ARM64_MEMCPY', false],
+ # ['RTE_ARM64_MEMCPY_ALIGNED_THRESHOLD', 2048],
+ # ['RTE_ARM64_MEMCPY_UNALIGNED_THRESHOLD', 512],
+ # Leave below RTE_ARM64_MEMCPY_xxx options commented out,
+ # unless there are strong reasons.
+ # ['RTE_ARM64_MEMCPY_SKIP_GCC_VER_CHECK', false],
+ # ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],
+ # ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],
- ['RTE_NET_FM10K', false],
- ['RTE_NET_AVP', false],
+ ['RTE_NET_FM10K', false],
+ ['RTE_NET_AVP', false],
- ['RTE_SCHED_VECTOR', false],
- ['RTE_ARM_USE_WFE', false],
- ['RTE_ARCH_ARM64', true],
- ['RTE_CACHE_LINE_SIZE', 128]
+ ['RTE_SCHED_VECTOR', false],
+ ['RTE_ARM_USE_WFE', false],
+ ['RTE_ARCH_ARM64', true],
+ ['RTE_CACHE_LINE_SIZE', 128]
]
## Part numbers are specific to Arm implementers
@@ -31,261 +31,261 @@ flags_common = [
# part number specific aarch64 flags have the highest priority
# (will overwrite both common and implementer specific flags)
implementer_generic = {
- 'description': 'Generic armv8',
- 'flags': [
- ['RTE_MACHINE', '"armv8a"'],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_MAX_LCORE', 256],
- ['RTE_MAX_NUMA_NODES', 4]
- ],
- 'part_number_config': {
- 'generic': {'machine_args': ['-march=armv8-a+crc',
- '-moutline-atomics']}
- }
+ 'description': 'Generic armv8',
+ 'flags': [
+ ['RTE_MACHINE', '"armv8a"'],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_MAX_LCORE', 256],
+ ['RTE_MAX_NUMA_NODES', 4]
+ ],
+ 'part_number_config': {
+ 'generic': {'machine_args': ['-march=armv8-a+crc',
+ '-moutline-atomics']}
+ }
}
part_number_config_arm = {
- '0xd03': {'machine_args': ['-mcpu=cortex-a53']},
- '0xd04': {'machine_args': ['-mcpu=cortex-a35']},
- '0xd07': {'machine_args': ['-mcpu=cortex-a57']},
- '0xd08': {'machine_args': ['-mcpu=cortex-a72']},
- '0xd09': {'machine_args': ['-mcpu=cortex-a73']},
- '0xd0a': {'machine_args': ['-mcpu=cortex-a75']},
- '0xd0b': {'machine_args': ['-mcpu=cortex-a76']},
- '0xd0c': {
- 'machine_args': ['-march=armv8.2-a+crypto',
- '-mcpu=neoverse-n1'],
- 'flags': [
- ['RTE_MACHINE', '"neoverse-n1"'],
- ['RTE_ARM_FEATURE_ATOMICS', true],
- ['RTE_MAX_MEM_MB', 1048576],
- ['RTE_MAX_LCORE', 80]
- ]
- },
- '0xd49': {
- 'machine_args': ['-march=armv8.5-a+crypto+sve2'],
- 'flags': [
- ['RTE_MACHINE', '"neoverse-n2"'],
- ['RTE_ARM_FEATURE_ATOMICS', true],
- ['RTE_MAX_LCORE', 64]
- ]
- }
+ '0xd03': {'machine_args': ['-mcpu=cortex-a53']},
+ '0xd04': {'machine_args': ['-mcpu=cortex-a35']},
+ '0xd07': {'machine_args': ['-mcpu=cortex-a57']},
+ '0xd08': {'machine_args': ['-mcpu=cortex-a72']},
+ '0xd09': {'machine_args': ['-mcpu=cortex-a73']},
+ '0xd0a': {'machine_args': ['-mcpu=cortex-a75']},
+ '0xd0b': {'machine_args': ['-mcpu=cortex-a76']},
+ '0xd0c': {
+ 'machine_args': ['-march=armv8.2-a+crypto',
+ '-mcpu=neoverse-n1'],
+ 'flags': [
+ ['RTE_MACHINE', '"neoverse-n1"'],
+ ['RTE_ARM_FEATURE_ATOMICS', true],
+ ['RTE_MAX_MEM_MB', 1048576],
+ ['RTE_MAX_LCORE', 80]
+ ]
+ },
+ '0xd49': {
+ 'machine_args': ['-march=armv8.5-a+crypto+sve2'],
+ 'flags': [
+ ['RTE_MACHINE', '"neoverse-n2"'],
+ ['RTE_ARM_FEATURE_ATOMICS', true],
+ ['RTE_MAX_LCORE', 64]
+ ]
+ }
}
implementer_arm = {
- 'description': 'Arm',
- 'flags': [
- ['RTE_MACHINE', '"armv8a"'],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 16],
- ['RTE_MAX_NUMA_NODES', 1]
- ],
- 'part_number_config': part_number_config_arm
+ 'description': 'Arm',
+ 'flags': [
+ ['RTE_MACHINE', '"armv8a"'],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 16],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
+ 'part_number_config': part_number_config_arm
}
flags_part_number_thunderx = [
- ['RTE_MACHINE', '"thunderx"'],
- ['RTE_USE_C11_MEM_MODEL', false]
+ ['RTE_MACHINE', '"thunderx"'],
+ ['RTE_USE_C11_MEM_MODEL', false]
]
implementer_cavium = {
- 'description': 'Cavium',
- 'flags': [
- ['RTE_MAX_VFIO_GROUPS', 128],
- ['RTE_MAX_LCORE', 96],
- ['RTE_MAX_NUMA_NODES', 2]
- ],
- 'part_number_config': {
- '0xa1': {
- 'machine_args': ['-mcpu=thunderxt88'],
- 'flags': flags_part_number_thunderx
- },
- '0xa2': {
- 'machine_args': ['-mcpu=thunderxt81'],
- 'flags': flags_part_number_thunderx
- },
- '0xa3': {
- 'machine_args': ['-mcpu=thunderxt83'],
- 'flags': flags_part_number_thunderx
- },
- '0xaf': {
- 'machine_args': ['-march=armv8.1-a+crc+crypto',
- '-mcpu=thunderx2t99'],
- 'flags': [
- ['RTE_MACHINE', '"thunderx2"'],
- ['RTE_ARM_FEATURE_ATOMICS', true],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 256]
- ]
- },
- '0xb2': {
- 'machine_args': ['-march=armv8.2-a+crc+crypto+lse',
- '-mcpu=octeontx2'],
- 'flags': [
- ['RTE_MACHINE', '"octeontx2"'],
- ['RTE_ARM_FEATURE_ATOMICS', true],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_EAL_IGB_UIO', false],
- ['RTE_MAX_LCORE', 36],
- ['RTE_MAX_NUMA_NODES', 1]
- ]
- }
- }
+ 'description': 'Cavium',
+ 'flags': [
+ ['RTE_MAX_VFIO_GROUPS', 128],
+ ['RTE_MAX_LCORE', 96],
+ ['RTE_MAX_NUMA_NODES', 2]
+ ],
+ 'part_number_config': {
+ '0xa1': {
+ 'machine_args': ['-mcpu=thunderxt88'],
+ 'flags': flags_part_number_thunderx
+ },
+ '0xa2': {
+ 'machine_args': ['-mcpu=thunderxt81'],
+ 'flags': flags_part_number_thunderx
+ },
+ '0xa3': {
+ 'machine_args': ['-mcpu=thunderxt83'],
+ 'flags': flags_part_number_thunderx
+ },
+ '0xaf': {
+ 'machine_args': ['-march=armv8.1-a+crc+crypto',
+ '-mcpu=thunderx2t99'],
+ 'flags': [
+ ['RTE_MACHINE', '"thunderx2"'],
+ ['RTE_ARM_FEATURE_ATOMICS', true],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 256]
+ ]
+ },
+ '0xb2': {
+ 'machine_args': ['-march=armv8.2-a+crc+crypto+lse',
+ '-mcpu=octeontx2'],
+ 'flags': [
+ ['RTE_MACHINE', '"octeontx2"'],
+ ['RTE_ARM_FEATURE_ATOMICS', true],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_EAL_IGB_UIO', false],
+ ['RTE_MAX_LCORE', 36],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ]
+ }
+ }
}
implementer_ampere = {
- 'description': 'Ampere Computing',
- 'flags': [
- ['RTE_MACHINE', '"emag"'],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 32],
- ['RTE_MAX_NUMA_NODES', 1]
- ],
- 'part_number_config': {
- '0x0': {'machine_args': ['-march=armv8-a+crc+crypto',
- '-mtune=emag']}
- }
+ 'description': 'Ampere Computing',
+ 'flags': [
+ ['RTE_MACHINE', '"emag"'],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 32],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
+ 'part_number_config': {
+ '0x0': {'machine_args': ['-march=armv8-a+crc+crypto',
+ '-mtune=emag']}
+ }
}
implementer_qualcomm = {
- 'description': 'Qualcomm',
- 'flags': [
- ['RTE_MACHINE', '"armv8a"'],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 64],
- ['RTE_MAX_NUMA_NODES', 1]
- ],
- 'part_number_config': {
- '0xc00': {'machine_args': ['-march=armv8-a+crc']}
- }
+ 'description': 'Qualcomm',
+ 'flags': [
+ ['RTE_MACHINE', '"armv8a"'],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 64],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
+ 'part_number_config': {
+ '0xc00': {'machine_args': ['-march=armv8-a+crc']}
+ }
}
implementer_marvell = {
- 'description': 'Marvell ARMADA',
- 'flags': [
- ['RTE_MACHINE', '"armv8a"'],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 16],
- ['RTE_MAX_NUMA_NODES', 1]
- ],
- 'part_number_config': part_number_config_arm
+ 'description': 'Marvell ARMADA',
+ 'flags': [
+ ['RTE_MACHINE', '"armv8a"'],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 16],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
+ 'part_number_config': part_number_config_arm
}
implementer_dpaa = {
- 'description': 'NXP DPAA',
- 'flags': [
- ['RTE_MACHINE', '"dpaa"'],
- ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false],
- ['RTE_USE_C11_MEM_MODEL', true],
- ['RTE_CACHE_LINE_SIZE', 64],
- ['RTE_MAX_LCORE', 16],
- ['RTE_MAX_NUMA_NODES', 1]
- ],
- 'part_number_config': part_number_config_arm
+ 'description': 'NXP DPAA',
+ 'flags': [
+ ['RTE_MACHINE', '"dpaa"'],
+ ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false],
+ ['RTE_USE_C11_MEM_MODEL', true],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_LCORE', 16],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
+ 'part_number_config': part_number_config_arm
}
## Arm implementers (ID from MIDR in Arm Architecture Reference Manual)
implementers = {
- 'generic': implementer_generic,
- '0x41': implementer_arm,
- '0x43': implementer_cavium,
- '0x50': implementer_ampere,
- '0x51': implementer_qualcomm,
- '0x56': implementer_marvell,
- 'dpaa': implementer_dpaa
+ 'generic': implementer_generic,
+ '0x41': implementer_arm,
+ '0x43': implementer_cavium,
+ '0x50': implementer_ampere,
+ '0x51': implementer_qualcomm,
+ '0x56': implementer_marvell,
+ 'dpaa': implementer_dpaa
}
dpdk_conf.set('RTE_ARCH_ARM', 1)
dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)
if dpdk_conf.get('RTE_ARCH_32')
- # armv7 build
- dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
- dpdk_conf.set('RTE_ARCH_ARMv7', 1)
- # the minimum architecture supported, armv7-a, needs the following,
- machine_args += '-mfpu=neon'
+ # armv7 build
+ dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
+ dpdk_conf.set('RTE_ARCH_ARMv7', 1)
+ # the minimum architecture supported, armv7-a, needs the following,
+ machine_args += '-mfpu=neon'
else
- # aarch64 build
- if not meson.is_cross_build()
- if machine == 'default'
- # default build
- implementer_id = 'generic'
- part_number = 'generic'
- else
- # native build
- # The script returns ['Implementer', 'Variant', 'Architecture',
- # 'Primary Part number', 'Revision']
- detect_vendor = find_program(join_paths(
- meson.current_source_dir(), 'armv8_machine.py'))
- cmd = run_command(detect_vendor.path())
- if cmd.returncode() == 0
- cmd_output = cmd.stdout().to_lower().strip().split(' ')
- implementer_id = cmd_output[0]
- part_number = cmd_output[3]
- else
- error('Error when getting Arm Implementer ID and part number.')
- endif
- endif
- else
- # cross build
- implementer_id = meson.get_cross_property('implementer_id')
- part_number = meson.get_cross_property('part_number')
- endif
+ # aarch64 build
+ if not meson.is_cross_build()
+ if machine == 'default'
+ # default build
+ implementer_id = 'generic'
+ part_number = 'generic'
+ else
+ # native build
+ # The script returns ['Implementer', 'Variant', 'Architecture',
+ # 'Primary Part number', 'Revision']
+ detect_vendor = find_program(join_paths(
+ meson.current_source_dir(), 'armv8_machine.py'))
+ cmd = run_command(detect_vendor.path())
+ if cmd.returncode() == 0
+ cmd_output = cmd.stdout().to_lower().strip().split(' ')
+ implementer_id = cmd_output[0]
+ part_number = cmd_output[3]
+ else
+ error('Error when getting Arm Implementer ID and part number.')
+ endif
+ endif
+ else
+ # cross build
+ implementer_id = meson.get_cross_property('implementer_id')
+ part_number = meson.get_cross_property('part_number')
+ endif
- if implementers.has_key(implementer_id)
- implementer_config = implementers[implementer_id]
- else
- error('Unsupported Arm implementer: @0@. '.format(implementer_id) +
- 'Please add support for it or use the generic ' +
- '(-Dmachine=generic) build.')
- endif
+ if implementers.has_key(implementer_id)
+ implementer_config = implementers[implementer_id]
+ else
+ error('Unsupported Arm implementer: @0@. '.format(implementer_id) +
+ 'Please add support for it or use the generic ' +
+ '(-Dmachine=generic) build.')
+ endif
- message('Arm implementer: ' + implementer_config['description'])
- message('Arm part number: ' + part_number)
+ message('Arm implementer: ' + implementer_config['description'])
+ message('Arm part number: ' + part_number)
- part_number_config = implementer_config['part_number_config']
- if part_number_config.has_key(part_number)
- # use the specified part_number machine args if found
- part_number_config = part_number_config[part_number]
- else
- # unknown part number
- error('Unsupported part number @0@ of implementer @1@. '
- .format(part_number, implementer_id) +
- 'Please add support for it or use the generic ' +
- '(-Dmachine=generic) build.')
- endif
+ part_number_config = implementer_config['part_number_config']
+ if part_number_config.has_key(part_number)
+ # use the specified part_number machine args if found
+ part_number_config = part_number_config[part_number]
+ else
+ # unknown part number
+ error('Unsupported part number @0@ of implementer @1@. '
+ .format(part_number, implementer_id) +
+ 'Please add support for it or use the generic ' +
+ '(-Dmachine=generic) build.')
+ endif
- # use default flags with implementer flags
- dpdk_flags = flags_common + implementer_config['flags'] + part_number_config.get('flags', [])
+ # use default flags with implementer flags
+ dpdk_flags = flags_common + implementer_config['flags'] + part_number_config.get('flags', [])
- # apply supported machine args
- machine_args = [] # Clear previous machine args
- foreach flag: part_number_config['machine_args']
- if cc.has_argument(flag)
- machine_args += flag
- endif
- endforeach
+ # apply supported machine args
+ machine_args = [] # Clear previous machine args
+ foreach flag: part_number_config['machine_args']
+ if cc.has_argument(flag)
+ machine_args += flag
+ endif
+ endforeach
- # apply flags
- foreach flag: dpdk_flags
- if flag.length() > 0
- dpdk_conf.set(flag[0], flag[1])
- endif
- endforeach
+ # apply flags
+ foreach flag: dpdk_flags
+ if flag.length() > 0
+ dpdk_conf.set(flag[0], flag[1])
+ endif
+ endforeach
endif
message('Using machine args: @0@'.format(machine_args))
if (cc.get_define('__ARM_NEON', args: machine_args) != '' or
cc.get_define('__aarch64__', args: machine_args) != '')
- compile_time_cpuflags += ['RTE_CPUFLAG_NEON']
+ compile_time_cpuflags += ['RTE_CPUFLAG_NEON']
endif
if cc.get_define('__ARM_FEATURE_CRC32', args: machine_args) != ''
- compile_time_cpuflags += ['RTE_CPUFLAG_CRC32']
+ compile_time_cpuflags += ['RTE_CPUFLAG_CRC32']
endif
if cc.get_define('__ARM_FEATURE_CRYPTO', args: machine_args) != ''
- compile_time_cpuflags += ['RTE_CPUFLAG_AES', 'RTE_CPUFLAG_PMULL',
- 'RTE_CPUFLAG_SHA1', 'RTE_CPUFLAG_SHA2']
+ compile_time_cpuflags += ['RTE_CPUFLAG_AES', 'RTE_CPUFLAG_PMULL',
+ 'RTE_CPUFLAG_SHA1', 'RTE_CPUFLAG_SHA2']
endif
diff --git a/config/meson.build b/config/meson.build
index 66a2edcc47..b748e57bde 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -5,13 +5,13 @@
supported_exec_envs = ['freebsd', 'linux', 'windows']
exec_env = host_machine.system()
if not supported_exec_envs.contains(exec_env)
- error('unsupported system type "@0@"'.format(exec_env))
+ error('unsupported system type "@0@"'.format(exec_env))
endif
# define a handy variable for checking which OS we have.
# gives us "is_windows", "is_freebsd" and "is_linux"
foreach env:supported_exec_envs
- set_variable('is_' + env, exec_env == env)
+ set_variable('is_' + env, exec_env == env)
endforeach
# MS linker requires special treatment.
@@ -23,7 +23,7 @@ is_ms_linker = is_windows and (cc.get_id() == 'clang')
pver = meson.project_version().split('.')
major_version = '@0@.@1@'.format(pver.get(0), pver.get(1))
abi_version = run_command(find_program('cat', 'more'),
- abi_version_file).stdout().strip()
+ abi_version_file).stdout().strip()
# Libraries have the abi_version as the filename extension
# and have the soname be all but the final part of the abi_version.
@@ -35,21 +35,21 @@ so_version = abi_version.split('.')[0]
dpdk_conf.set('RTE_VER_YEAR', pver.get(0).to_int())
dpdk_conf.set('RTE_VER_MONTH', pver.get(1).to_int())
if pver.get(2).contains('-rc')
- rc_ver = pver.get(2).split('-rc')
- dpdk_conf.set('RTE_VER_MINOR', rc_ver.get(0).to_int())
- dpdk_conf.set_quoted('RTE_VER_SUFFIX', '-rc')
- dpdk_conf.set('RTE_VER_RELEASE', rc_ver.get(1).to_int())
+ rc_ver = pver.get(2).split('-rc')
+ dpdk_conf.set('RTE_VER_MINOR', rc_ver.get(0).to_int())
+ dpdk_conf.set_quoted('RTE_VER_SUFFIX', '-rc')
+ dpdk_conf.set('RTE_VER_RELEASE', rc_ver.get(1).to_int())
else
- dpdk_conf.set('RTE_VER_MINOR', pver.get(2).to_int())
- dpdk_conf.set_quoted('RTE_VER_SUFFIX', '')
+ dpdk_conf.set('RTE_VER_MINOR', pver.get(2).to_int())
+ dpdk_conf.set_quoted('RTE_VER_SUFFIX', '')
# for actual, non-rc releases, set the release value to 99 to ensure releases
# have higher version numbers than their respective release candidates
- dpdk_conf.set('RTE_VER_RELEASE', 99)
+ dpdk_conf.set('RTE_VER_RELEASE', 99)
endif
pmd_subdir_opt = get_option('drivers_install_subdir')
if pmd_subdir_opt.contains('<VERSION>')
- pmd_subdir_opt = abi_version.join(pmd_subdir_opt.split('<VERSION>'))
+ pmd_subdir_opt = abi_version.join(pmd_subdir_opt.split('<VERSION>'))
endif
driver_install_path = join_paths(get_option('libdir'), pmd_subdir_opt)
eal_pmd_path = join_paths(get_option('prefix'), driver_install_path)
@@ -58,16 +58,16 @@ eal_pmd_path = join_paths(get_option('prefix'), driver_install_path)
# e.g. ixgbe depends on librte_bus_pci. This means that the bus drivers need
# to be in the library path, so symlink the drivers from the main lib directory.
if not is_windows
- meson.add_install_script('../buildtools/symlink-drivers-solibs.sh',
- get_option('libdir'),
- pmd_subdir_opt)
+ meson.add_install_script('../buildtools/symlink-drivers-solibs.sh',
+ get_option('libdir'),
+ pmd_subdir_opt)
endif
# set the machine type and cflags for it
if meson.is_cross_build()
- machine = host_machine.cpu()
+ machine = host_machine.cpu()
else
- machine = get_option('machine')
+ machine = get_option('machine')
endif
# machine type 'default' is special, it defaults to the per arch agreed common
@@ -77,17 +77,17 @@ endif
# This can be bumped up by the DPDK project, but it can never be an
# invariant like 'native'
if machine == 'default'
- if host_machine.cpu_family().startswith('x86')
- # matches the old pre-meson build systems default
- machine = 'corei7'
- elif host_machine.cpu_family().startswith('arm')
- machine = 'armv7-a'
- elif host_machine.cpu_family().startswith('aarch')
- # arm64 manages defaults in config/arm/meson.build
- machine = 'default'
- elif host_machine.cpu_family().startswith('ppc')
- machine = 'power8'
- endif
+ if host_machine.cpu_family().startswith('x86')
+ # matches the old pre-meson build systems default
+ machine = 'corei7'
+ elif host_machine.cpu_family().startswith('arm')
+ machine = 'armv7-a'
+ elif host_machine.cpu_family().startswith('aarch')
+ # arm64 manages defaults in config/arm/meson.build
+ machine = 'default'
+ elif host_machine.cpu_family().startswith('ppc')
+ machine = 'power8'
+ endif
endif
dpdk_conf.set('RTE_MACHINE', machine)
@@ -95,10 +95,10 @@ machine_args = []
# ppc64 does not support -march= at all, use -mcpu and -mtune for that
if host_machine.cpu_family().startswith('ppc')
- machine_args += '-mcpu=' + machine
- machine_args += '-mtune=' + machine
+ machine_args += '-mcpu=' + machine
+ machine_args += '-mtune=' + machine
else
- machine_args += '-march=' + machine
+ machine_args += '-march=' + machine
endif
toolchain = cc.get_id()
@@ -109,88 +109,88 @@ dpdk_conf.set('RTE_ARCH_64', cc.sizeof('void *') == 8)
dpdk_conf.set('RTE_ARCH_32', cc.sizeof('void *') == 4)
if not is_windows
- add_project_link_arguments('-Wl,--no-as-needed', language: 'c')
+ add_project_link_arguments('-Wl,--no-as-needed', language: 'c')
endif
# use pthreads if available for the platform
if not is_windows
- add_project_link_arguments('-pthread', language: 'c')
- dpdk_extra_ldflags += '-pthread'
+ add_project_link_arguments('-pthread', language: 'c')
+ dpdk_extra_ldflags += '-pthread'
endif
# on some OS, maths functions are in a separate library
if cc.find_library('m', required : false).found()
- # some libs depend on maths lib
- add_project_link_arguments('-lm', language: 'c')
- dpdk_extra_ldflags += '-lm'
+ # some libs depend on maths lib
+ add_project_link_arguments('-lm', language: 'c')
+ dpdk_extra_ldflags += '-lm'
endif
if is_linux
- link_lib = 'dl'
+ link_lib = 'dl'
else
- link_lib = ''
+ link_lib = ''
endif
# if link_lib is empty, do not add it to project properties
if link_lib != ''
- add_project_link_arguments('-l' + link_lib, language: 'c')
- dpdk_extra_ldflags += '-l' + link_lib
+ add_project_link_arguments('-l' + link_lib, language: 'c')
+ dpdk_extra_ldflags += '-l' + link_lib
endif
# check for libraries used in multiple places in DPDK
has_libnuma = 0
find_libnuma = true
if meson.is_cross_build() and not meson.get_cross_property('numa', true)
- # don't look for libnuma if explicitly disabled in cross build
- find_libnuma = false
+ # don't look for libnuma if explicitly disabled in cross build
+ find_libnuma = false
endif
if find_libnuma
- numa_dep = cc.find_library('numa', required: false)
- if numa_dep.found() and cc.has_header('numaif.h')
- dpdk_conf.set10('RTE_HAS_LIBNUMA', true)
- has_libnuma = 1
- add_project_link_arguments('-lnuma', language: 'c')
- dpdk_extra_ldflags += '-lnuma'
- endif
+ numa_dep = cc.find_library('numa', required: false)
+ if numa_dep.found() and cc.has_header('numaif.h')
+ dpdk_conf.set10('RTE_HAS_LIBNUMA', true)
+ has_libnuma = 1
+ add_project_link_arguments('-lnuma', language: 'c')
+ dpdk_extra_ldflags += '-lnuma'
+ endif
endif
has_libfdt = 0
fdt_dep = cc.find_library('libfdt', required: false)
if fdt_dep.found() and cc.has_header('fdt.h')
- dpdk_conf.set10('RTE_HAS_LIBFDT', true)
- has_libfdt = 1
- add_project_link_arguments('-lfdt', language: 'c')
- dpdk_extra_ldflags += '-lfdt'
+ dpdk_conf.set10('RTE_HAS_LIBFDT', true)
+ has_libfdt = 1
+ add_project_link_arguments('-lfdt', language: 'c')
+ dpdk_extra_ldflags += '-lfdt'
endif
libexecinfo = cc.find_library('libexecinfo', required: false)
if libexecinfo.found() and cc.has_header('execinfo.h')
- add_project_link_arguments('-lexecinfo', language: 'c')
- dpdk_extra_ldflags += '-lexecinfo'
+ add_project_link_arguments('-lexecinfo', language: 'c')
+ dpdk_extra_ldflags += '-lexecinfo'
endif
# check for libbsd
libbsd = dependency('libbsd', required: false, method: 'pkg-config')
if libbsd.found()
- dpdk_conf.set('RTE_USE_LIBBSD', 1)
+ dpdk_conf.set('RTE_USE_LIBBSD', 1)
endif
# check for pcap
pcap_dep = dependency('libpcap', required: false, method: 'pkg-config')
if not pcap_dep.found()
- # pcap got a pkg-config file only in 1.9.0
- pcap_dep = cc.find_library('pcap', required: false)
+ # pcap got a pkg-config file only in 1.9.0
+ pcap_dep = cc.find_library('pcap', required: false)
endif
if pcap_dep.found() and cc.has_header('pcap.h', dependencies: pcap_dep)
- dpdk_conf.set('RTE_PORT_PCAP', 1)
- dpdk_extra_ldflags += '-lpcap'
+ dpdk_conf.set('RTE_PORT_PCAP', 1)
+ dpdk_extra_ldflags += '-lpcap'
endif
# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
- atomic_dep = cc.find_library('atomic', required: true)
- add_project_link_arguments('-latomic', language: 'c')
- dpdk_extra_ldflags += '-latomic'
+ atomic_dep = cc.find_library('atomic', required: true)
+ add_project_link_arguments('-latomic', language: 'c')
+ dpdk_extra_ldflags += '-latomic'
endif
# add -include rte_config to cflags
@@ -198,48 +198,48 @@ add_project_arguments('-include', 'rte_config.h', language: 'c')
# enable extra warnings and disable any unwanted warnings
warning_flags = [
- # -Wall is added by meson by default, so add -Wextra only
- '-Wextra',
-
- # additional warnings in alphabetical order
- '-Wcast-qual',
- '-Wdeprecated',
- '-Wformat',
- '-Wformat-nonliteral',
- '-Wformat-security',
- '-Wmissing-declarations',
- '-Wmissing-prototypes',
- '-Wnested-externs',
- '-Wold-style-definition',
- '-Wpointer-arith',
- '-Wsign-compare',
- '-Wstrict-prototypes',
- '-Wundef',
- '-Wwrite-strings',
-
- # globally disabled warnings
- '-Wno-address-of-packed-member',
- '-Wno-packed-not-aligned',
- '-Wno-missing-field-initializers'
+ # -Wall is added by meson by default, so add -Wextra only
+ '-Wextra',
+
+ # additional warnings in alphabetical order
+ '-Wcast-qual',
+ '-Wdeprecated',
+ '-Wformat',
+ '-Wformat-nonliteral',
+ '-Wformat-security',
+ '-Wmissing-declarations',
+ '-Wmissing-prototypes',
+ '-Wnested-externs',
+ '-Wold-style-definition',
+ '-Wpointer-arith',
+ '-Wsign-compare',
+ '-Wstrict-prototypes',
+ '-Wundef',
+ '-Wwrite-strings',
+
+ # globally disabled warnings
+ '-Wno-address-of-packed-member',
+ '-Wno-packed-not-aligned',
+ '-Wno-missing-field-initializers'
]
if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0')
# FIXME: Bugzilla 396
- warning_flags += '-Wno-zero-length-bounds'
+ warning_flags += '-Wno-zero-length-bounds'
endif
if not dpdk_conf.get('RTE_ARCH_64')
# for 32-bit, don't warn about casting a 32-bit pointer to 64-bit int - it's fine!!
- warning_flags += '-Wno-pointer-to-int-cast'
+ warning_flags += '-Wno-pointer-to-int-cast'
endif
if cc.get_id() == 'intel'
- warning_ids = [181, 188, 2203, 2279, 2557, 3179, 3656]
- foreach i:warning_ids
- warning_flags += '-diag-disable=@0@'.format(i)
- endforeach
+ warning_ids = [181, 188, 2203, 2279, 2557, 3179, 3656]
+ foreach i:warning_ids
+ warning_flags += '-diag-disable=@0@'.format(i)
+ endforeach
endif
foreach arg: warning_flags
- if cc.has_argument(arg)
- add_project_arguments(arg, language: 'c')
- endif
+ if cc.has_argument(arg)
+ add_project_arguments(arg, language: 'c')
+ endif
endforeach
# set other values pulled from the build options
@@ -253,9 +253,9 @@ dpdk_conf.set('RTE_MAX_VFIO_GROUPS', 64)
dpdk_conf.set('RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB', 64)
dpdk_conf.set('RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', true)
if dpdk_conf.get('RTE_ARCH_64')
- dpdk_conf.set('RTE_MAX_MEM_MB', 524288)
+ dpdk_conf.set('RTE_MAX_MEM_MB', 524288)
else # for 32-bit we need smaller reserved memory areas
- dpdk_conf.set('RTE_MAX_MEM_MB', 2048)
+ dpdk_conf.set('RTE_MAX_MEM_MB', 2048)
endif
@@ -265,24 +265,24 @@ dpdk_conf.set('RTE_COMPILE_TIME_CPUFLAGS', ','.join(compile_time_cpuflags))
# apply cross-specific options
if meson.is_cross_build()
- # configure RTE_MAX_LCORE and RTE_MAX_NUMA_NODES from cross file
- cross_max_lcores = meson.get_cross_property('max_lcores', 0)
- if cross_max_lcores != 0
- message('Setting RTE_MAX_LCORE from cross file')
- dpdk_conf.set('RTE_MAX_LCORE', cross_max_lcores)
- endif
- cross_max_numa_nodes = meson.get_cross_property('max_numa_nodes', 0)
- if cross_max_numa_nodes != 0
- message('Setting RTE_MAX_NUMA_NODES from cross file')
- dpdk_conf.set('RTE_MAX_NUMA_NODES', cross_max_numa_nodes)
- endif
+ # configure RTE_MAX_LCORE and RTE_MAX_NUMA_NODES from cross file
+ cross_max_lcores = meson.get_cross_property('max_lcores', 0)
+ if cross_max_lcores != 0
+ message('Setting RTE_MAX_LCORE from cross file')
+ dpdk_conf.set('RTE_MAX_LCORE', cross_max_lcores)
+ endif
+ cross_max_numa_nodes = meson.get_cross_property('max_numa_nodes', 0)
+ if cross_max_numa_nodes != 0
+ message('Setting RTE_MAX_NUMA_NODES from cross file')
+ dpdk_conf.set('RTE_MAX_NUMA_NODES', cross_max_numa_nodes)
+ endif
endif
# set the install path for the drivers
dpdk_conf.set_quoted('RTE_EAL_PMD_PATH', eal_pmd_path)
install_headers(['rte_config.h'],
- subdir: get_option('include_subdir_arch'))
+ subdir: get_option('include_subdir_arch'))
# enable VFIO only if it is linux OS
dpdk_conf.set('RTE_EAL_VFIO', is_linux)
@@ -292,50 +292,50 @@ add_project_arguments('-D_GNU_SOURCE', language: 'c')
# specify -D__BSD_VISIBLE for FreeBSD
if is_freebsd
- add_project_arguments('-D__BSD_VISIBLE', language: 'c')
+ add_project_arguments('-D__BSD_VISIBLE', language: 'c')
endif
if is_windows
- # VirtualAlloc2() is available since Windows 10 / Server 2016.
- add_project_arguments('-D_WIN32_WINNT=0x0A00', language: 'c')
+ # VirtualAlloc2() is available since Windows 10 / Server 2016.
+ add_project_arguments('-D_WIN32_WINNT=0x0A00', language: 'c')
- # Use MinGW-w64 stdio, because DPDK assumes ANSI-compliant formatting.
- if cc.get_id() == 'gcc'
- add_project_arguments('-D__USE_MINGW_ANSI_STDIO', language: 'c')
- endif
+ # Use MinGW-w64 stdio, because DPDK assumes ANSI-compliant formatting.
+ if cc.get_id() == 'gcc'
+ add_project_arguments('-D__USE_MINGW_ANSI_STDIO', language: 'c')
+ endif
- # Disable secure CRT deprecated warnings for clang
- if cc.get_id() == 'clang'
- add_project_arguments('-D_CRT_SECURE_NO_WARNINGS', language: 'c')
- endif
+ # Disable secure CRT deprecated warnings for clang
+ if cc.get_id() == 'clang'
+ add_project_arguments('-D_CRT_SECURE_NO_WARNINGS', language: 'c')
+ endif
- add_project_link_arguments('-lws2_32', language: 'c')
+ add_project_link_arguments('-lws2_32', language: 'c')
- # Contrary to docs, VirtualAlloc2() is exported by mincore.lib
- # in Windows SDK, while MinGW exports it by advapi32.a.
- if is_ms_linker
- add_project_link_arguments('-lmincore', language: 'c')
- endif
+ # Contrary to docs, VirtualAlloc2() is exported by mincore.lib
+ # in Windows SDK, while MinGW exports it by advapi32.a.
+ if is_ms_linker
+ add_project_link_arguments('-lmincore', language: 'c')
+ endif
- add_project_link_arguments('-ladvapi32', '-lsetupapi', language: 'c')
- add_project_link_arguments('-ldbghelp', language: 'c')
+ add_project_link_arguments('-ladvapi32', '-lsetupapi', language: 'c')
+ add_project_link_arguments('-ldbghelp', language: 'c')
endif
if get_option('b_lto')
- if cc.has_argument('-ffat-lto-objects')
- add_project_arguments('-ffat-lto-objects', language: 'c')
- else
- error('compiler does not support fat LTO objects - please turn LTO off')
- endif
- # workaround for gcc bug 81440
- if cc.get_id() == 'gcc' and cc.version().version_compare('<8.0')
- add_project_arguments('-Wno-lto-type-mismatch', language: 'c')
- add_project_link_arguments('-Wno-lto-type-mismatch', language: 'c')
- endif
+ if cc.has_argument('-ffat-lto-objects')
+ add_project_arguments('-ffat-lto-objects', language: 'c')
+ else
+ error('compiler does not support fat LTO objects - please turn LTO off')
+ endif
+ # workaround for gcc bug 81440
+ if cc.get_id() == 'gcc' and cc.version().version_compare('<8.0')
+ add_project_arguments('-Wno-lto-type-mismatch', language: 'c')
+ add_project_link_arguments('-Wno-lto-type-mismatch', language: 'c')
+ endif
endif
if get_option('default_library') == 'both'
- error( '''
+ error( '''
Unsupported value "both" for "default_library" option.
NOTE: DPDK always builds both shared and static libraries. Please set
diff --git a/config/ppc/meson.build b/config/ppc/meson.build
index 0d8da87e6f..1c196b8db5 100644
--- a/config/ppc/meson.build
+++ b/config/ppc/meson.build
@@ -2,7 +2,7 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 31bfa63b1c..34b1164810 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -3,57 +3,57 @@
# get binutils version for the workaround of Bug 97
if not is_windows
- binutils_ok = run_command(binutils_avx512_check)
- if binutils_ok.returncode() != 0 and cc.has_argument('-mno-avx512f')
- machine_args += '-mno-avx512f'
- warning('Binutils error with AVX512 assembly, disabling AVX512 support')
- endif
+ binutils_ok = run_command(binutils_avx512_check)
+ if binutils_ok.returncode() != 0 and cc.has_argument('-mno-avx512f')
+ machine_args += '-mno-avx512f'
+ warning('Binutils error with AVX512 assembly, disabling AVX512 support')
+ endif
endif
# we require SSE4.2 for DPDK
if cc.get_define('__SSE4_2__', args: machine_args) == ''
- message('SSE 4.2 not enabled by default, explicitly enabling')
- machine_args += '-msse4'
+ message('SSE 4.2 not enabled by default, explicitly enabling')
+ machine_args += '-msse4'
endif
base_flags = ['SSE', 'SSE2', 'SSE3','SSSE3', 'SSE4_1', 'SSE4_2']
foreach f:base_flags
- compile_time_cpuflags += ['RTE_CPUFLAG_' + f]
+ compile_time_cpuflags += ['RTE_CPUFLAG_' + f]
endforeach
optional_flags = [
- 'AES',
- 'AVX',
- 'AVX2',
- 'AVX512BW',
- 'AVX512CD',
- 'AVX512DQ',
- 'AVX512F',
- 'AVX512VL',
- 'PCLMUL',
- 'RDRND',
- 'RDSEED',
- 'VPCLMULQDQ',
+ 'AES',
+ 'AVX',
+ 'AVX2',
+ 'AVX512BW',
+ 'AVX512CD',
+ 'AVX512DQ',
+ 'AVX512F',
+ 'AVX512VL',
+ 'PCLMUL',
+ 'RDRND',
+ 'RDSEED',
+ 'VPCLMULQDQ',
]
foreach f:optional_flags
- if cc.get_define('__@0@__'.format(f), args: machine_args) == '1'
- if f == 'PCLMUL' # special case flags with different defines
- f = 'PCLMULQDQ'
- elif f == 'RDRND'
- f = 'RDRAND'
- endif
- compile_time_cpuflags += ['RTE_CPUFLAG_' + f]
- endif
+ if cc.get_define('__@0@__'.format(f), args: machine_args) == '1'
+ if f == 'PCLMUL' # special case flags with different defines
+ f = 'PCLMULQDQ'
+ elif f == 'RDRND'
+ f = 'RDRAND'
+ endif
+ compile_time_cpuflags += ['RTE_CPUFLAG_' + f]
+ endif
endforeach
dpdk_conf.set('RTE_ARCH_X86', 1)
if dpdk_conf.get('RTE_ARCH_64')
- dpdk_conf.set('RTE_ARCH_X86_64', 1)
- dpdk_conf.set('RTE_ARCH', 'x86_64')
+ dpdk_conf.set('RTE_ARCH_X86_64', 1)
+ dpdk_conf.set('RTE_ARCH', 'x86_64')
else
- dpdk_conf.set('RTE_ARCH_I686', 1)
- dpdk_conf.set('RTE_ARCH', 'i686')
+ dpdk_conf.set('RTE_ARCH_I686', 1)
+ dpdk_conf.set('RTE_ARCH', 'i686')
endif
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
diff --git a/doc/api/meson.build b/doc/api/meson.build
index dfdefdc924..2366322311 100644
--- a/doc/api/meson.build
+++ b/doc/api/meson.build
@@ -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'
diff --git a/doc/guides/meson.build b/doc/guides/meson.build
index 9c35efb5b2..35956e8d4b 100644
--- a/doc/guides/meson.build
+++ b/doc/guides/meson.build
@@ -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'
diff --git a/doc/meson.build b/doc/meson.build
index c5410d85d6..959606b965 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -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)
diff --git a/kernel/freebsd/meson.build b/kernel/freebsd/meson.build
index dc156a43fd..e72d2621e6 100644
--- a/kernel/freebsd/meson.build
+++ b/kernel/freebsd/meson.build
@@ -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
diff --git a/kernel/linux/kni/meson.build b/kernel/linux/kni/meson.build
index 46b71c7418..15d848b28d 100644
--- a/kernel/linux/kni/meson.build
+++ b/kernel/linux/kni/meson.build
@@ -2,27 +2,27 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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'))
diff --git a/kernel/linux/meson.build b/kernel/linux/meson.build
index b434706796..cac33aef6c 100644
--- a/kernel/linux/meson.build
+++ b/kernel/linux/meson.build
@@ -9,84 +9,84 @@ install = not meson.is_cross_build()
cross_args = []
if not meson.is_cross_build()
- # native build
- kernel_version = run_command('uname', '-r').stdout().strip()
- kernel_install_dir = '/lib/modules/' + kernel_version + '/extra/dpdk'
- if kernel_build_dir == ''
- # use default path for native builds
- kernel_build_dir = '/lib/modules/' + kernel_version + '/build'
- endif
+ # native build
+ kernel_version = run_command('uname', '-r').stdout().strip()
+ kernel_install_dir = '/lib/modules/' + kernel_version + '/extra/dpdk'
+ if kernel_build_dir == ''
+ # use default path for native builds
+ kernel_build_dir = '/lib/modules/' + kernel_version + '/build'
+ endif
- # test running make in kernel directory, using "make kernelversion"
- make_returncode = run_command('make', '-sC', kernel_build_dir,
- 'kernelversion').returncode()
- if make_returncode != 0
- # backward compatibility:
- # the headers could still be in the 'build' subdir
- if not kernel_build_dir.endswith('build') and not kernel_build_dir.endswith('build/')
- kernel_build_dir = join_paths(kernel_build_dir, 'build')
- make_returncode = run_command('make', '-sC', kernel_build_dir,
- 'kernelversion').returncode()
- endif
- endif
+ # test running make in kernel directory, using "make kernelversion"
+ make_returncode = run_command('make', '-sC', kernel_build_dir,
+ 'kernelversion').returncode()
+ if make_returncode != 0
+ # backward compatibility:
+ # the headers could still be in the 'build' subdir
+ if not kernel_build_dir.endswith('build') and not kernel_build_dir.endswith('build/')
+ kernel_build_dir = join_paths(kernel_build_dir, 'build')
+ make_returncode = run_command('make', '-sC', kernel_build_dir,
+ 'kernelversion').returncode()
+ endif
+ endif
- if make_returncode != 0
- error('Cannot compile kernel modules as requested - are kernel headers installed?')
- endif
+ if make_returncode != 0
+ error('Cannot compile kernel modules as requested - are kernel headers installed?')
+ endif
- # DO ACTUAL MODULE BUILDING
- foreach d:subdirs
- subdir(d)
- endforeach
+ # DO ACTUAL MODULE BUILDING
+ foreach d:subdirs
+ subdir(d)
+ endforeach
- subdir_done()
+ subdir_done()
endif
# cross build
# if we are cross-compiling we need kernel_build_dir specified
if kernel_build_dir == ''
- error('Need "kernel_dir" option for kmod compilation when cross-compiling')
+ error('Need "kernel_dir" option for kmod compilation when cross-compiling')
endif
cross_compiler = find_program('c').path()
if cross_compiler.endswith('gcc')
- cross_prefix = run_command([py3, '-c', 'print("' + cross_compiler + '"[:-3])']).stdout().strip()
+ cross_prefix = run_command([py3, '-c', 'print("' + cross_compiler + '"[:-3])']).stdout().strip()
elif cross_compiler.endswith('clang')
- cross_prefix = ''
- found_target = false
- # search for '-target' and use the arg that follows
- # (i.e. the value of '-target') as cross_prefix
- foreach cross_c_arg : meson.get_cross_property('c_args')
- if found_target and cross_prefix == ''
- cross_prefix = cross_c_arg
- endif
- if cross_c_arg == '-target'
- found_target = true
- endif
- endforeach
- if cross_prefix == ''
- error('Didn\'t find -target and its value in' +
- ' c_args in input cross-file.')
- endif
- linker = 'lld'
- foreach cross_c_link_arg : meson.get_cross_property('c_link_args')
- if cross_c_link_arg.startswith('-fuse-ld')
- linker = cross_c_link_arg.split('=')[1]
- endif
- endforeach
- cross_args += ['CC=@0@'.format(cross_compiler), 'LD=ld.@0@'.format(linker)]
+ cross_prefix = ''
+ found_target = false
+ # search for '-target' and use the arg that follows
+ # (i.e. the value of '-target') as cross_prefix
+ foreach cross_c_arg : meson.get_cross_property('c_args')
+ if found_target and cross_prefix == ''
+ cross_prefix = cross_c_arg
+ endif
+ if cross_c_arg == '-target'
+ found_target = true
+ endif
+ endforeach
+ if cross_prefix == ''
+ error('Didn\'t find -target and its value in' +
+ ' c_args in input cross-file.')
+ endif
+ linker = 'lld'
+ foreach cross_c_link_arg : meson.get_cross_property('c_link_args')
+ if cross_c_link_arg.startswith('-fuse-ld')
+ linker = cross_c_link_arg.split('=')[1]
+ endif
+ endforeach
+ cross_args += ['CC=@0@'.format(cross_compiler), 'LD=ld.@0@'.format(linker)]
else
- error('Unsupported cross compiler: @0@'.format(cross_compiler))
+ error('Unsupported cross compiler: @0@'.format(cross_compiler))
endif
cross_arch = host_machine.cpu_family()
if host_machine.cpu_family() == 'aarch64'
- cross_arch = 'arm64'
+ cross_arch = 'arm64'
endif
cross_args += ['ARCH=@0@'.format(cross_arch),
- 'CROSS_COMPILE=@0@'.format(cross_prefix)]
+ 'CROSS_COMPILE=@0@'.format(cross_prefix)]
# DO ACTUAL MODULE BUILDING
foreach d:subdirs
- subdir(d)
+ subdir(d)
endforeach
diff --git a/meson.build b/meson.build
index 7778e18200..30b5a43794 100644
--- a/meson.build
+++ b/meson.build
@@ -2,13 +2,13 @@
# Copyright(c) 2017-2019 Intel Corporation
project('DPDK', 'C',
- # Get version number from file.
- # Fallback to "more" for Windows compatibility.
- version: run_command(find_program('cat', 'more'),
- files('VERSION')).stdout().strip(),
- license: 'BSD',
- default_options: ['buildtype=release', 'default_library=static'],
- meson_version: '>= 0.47.1'
+ # Get version number from file.
+ # Fallback to "more" for Windows compatibility.
+ version: run_command(find_program('cat', 'more'),
+ files('VERSION')).stdout().strip(),
+ license: 'BSD',
+ default_options: ['buildtype=release', 'default_library=static'],
+ meson_version: '>= 0.47.1'
)
# set up some global vars for compiler, platform, configuration, etc.
@@ -25,20 +25,20 @@ dpdk_drvs_disabled = []
abi_version_file = files('ABI_VERSION')
if host_machine.cpu_family().startswith('x86')
- arch_subdir = 'x86'
+ arch_subdir = 'x86'
elif host_machine.cpu_family().startswith('arm') or host_machine.cpu_family().startswith('aarch')
- arch_subdir = 'arm'
+ arch_subdir = 'arm'
elif host_machine.cpu_family().startswith('ppc')
- arch_subdir = 'ppc'
+ arch_subdir = 'ppc'
endif
# configure the build, and make sure configs here and in config folder are
# able to be included in any file. We also store a global array of include dirs
# for passing to pmdinfogen scripts
global_inc = include_directories('.', 'config',
- 'lib/librte_eal/include',
- 'lib/librte_eal/@0@/include'.format(host_machine.system()),
- 'lib/librte_eal/@0@/include'.format(arch_subdir),
+ 'lib/librte_eal/include',
+ 'lib/librte_eal/@0@/include'.format(host_machine.system()),
+ 'lib/librte_eal/@0@/include'.format(arch_subdir),
)
# do configuration and get tool paths
@@ -60,25 +60,25 @@ subdir('doc')
# install any example code into the appropriate install path
subdir('examples')
install_subdir('examples',
- install_dir: get_option('datadir') + '/dpdk',
- exclude_files: ex_file_excludes)
+ install_dir: get_option('datadir') + '/dpdk',
+ exclude_files: ex_file_excludes)
# build kernel modules if enabled
if get_option('enable_kmods')
- subdir('kernel')
+ subdir('kernel')
endif
# check header includes if requested
if get_option('check_includes')
- subdir('buildtools/chkincs')
+ subdir('buildtools/chkincs')
endif
# write the build config
build_cfg = 'rte_build_config.h'
configure_file(output: build_cfg,
- configuration: dpdk_conf,
- install_dir: join_paths(get_option('includedir'),
- get_option('include_subdir_arch')))
+ configuration: dpdk_conf,
+ install_dir: join_paths(get_option('includedir'),
+ get_option('include_subdir_arch')))
# build pkg-config files for dpdk
subdir('buildtools/pkg-config')
@@ -89,40 +89,40 @@ output_message = '\n=================\nLibraries Enabled\n=================\n'
output_message += '\nlibs:\n\t'
output_count = 0
foreach lib:enabled_libs
- output_message += lib + ', '
- output_count += 1
- if output_count == 8
- output_message += '\n\t'
- output_count = 0
- endif
+ output_message += lib + ', '
+ output_count += 1
+ if output_count == 8
+ output_message += '\n\t'
+ output_count = 0
+ endif
endforeach
message(output_message + '\n')
output_message = '\n===============\nDrivers Enabled\n===============\n'
foreach class:dpdk_driver_classes
- class_drivers = get_variable(class + '_drivers')
- output_message += '\n' + class + ':\n\t'
- output_count = 0
- foreach drv:class_drivers
- output_message += drv + ', '
- output_count += 1
- if output_count == 8
- output_message += '\n\t'
- output_count = 0
- endif
- endforeach
+ class_drivers = get_variable(class + '_drivers')
+ output_message += '\n' + class + ':\n\t'
+ output_count = 0
+ foreach drv:class_drivers
+ output_message += drv + ', '
+ output_count += 1
+ if output_count == 8
+ output_message += '\n\t'
+ output_count = 0
+ endif
+ endforeach
endforeach
message(output_message + '\n')
output_message = '\n=================\nContent Skipped\n=================\n'
output_message += '\nlibs:\n\t'
foreach lib:dpdk_libs_disabled
- reason = get_variable(lib.underscorify() + '_disable_reason')
- output_message += lib + ':\t' + reason + '\n\t'
+ reason = get_variable(lib.underscorify() + '_disable_reason')
+ output_message += lib + ':\t' + reason + '\n\t'
endforeach
output_message += '\ndrivers:\n\t'
foreach drv:dpdk_drvs_disabled
- reason = get_variable(drv.underscorify() + '_disable_reason')
- output_message += drv + ':\t' + reason + '\n\t'
+ reason = get_variable(drv.underscorify() + '_disable_reason')
+ output_message += drv + ':\t' + reason + '\n\t'
endforeach
message(output_message + '\n')
diff --git a/meson_options.txt b/meson_options.txt
index 3b8c5d316d..f22db9fb7d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -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')
diff --git a/usertools/meson.build b/usertools/meson.build
index 596eaefb0e..e52e2457c9 100644
--- a/usertools/meson.build
+++ b/usertools/meson.build
@@ -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')
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 09/14] lib: change meson file tabs to spaces
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (7 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 08/14] build: change infrastructure file tabs to spaces Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 10/14] drivers: " Bruce Richardson
` (8 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Switch from using tabs to 4 spaces for meson.build indentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
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(-)
diff --git a/lib/librte_acl/meson.build b/lib/librte_acl/meson.build
index ee4e229e59..fbb1318230 100644
--- a/lib/librte_acl/meson.build
+++ b/lib/librte_acl/meson.build
@@ -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
diff --git a/lib/librte_bbdev/meson.build b/lib/librte_bbdev/meson.build
index 1267782203..2969cab26b 100644
--- a/lib/librte_bbdev/meson.build
+++ b/lib/librte_bbdev/meson.build
@@ -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']
diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build
index 614277effd..63cbd60185 100644
--- a/lib/librte_bpf/meson.build
+++ b/lib/librte_bpf/meson.build
@@ -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
diff --git a/lib/librte_cmdline/meson.build b/lib/librte_cmdline/meson.build
index 5009b33542..63fb69100d 100644
--- a/lib/librte_cmdline/meson.build
+++ b/lib/librte_cmdline/meson.build
@@ -2,33 +2,33 @@
# Copyright(c) 2017 Intel Corporation
sources = files('cmdline.c',
- 'cmdline_cirbuf.c',
- 'cmdline_parse.c',
- 'cmdline_parse_etheraddr.c',
- 'cmdline_parse_ipaddr.c',
- 'cmdline_parse_num.c',
- 'cmdline_parse_portlist.c',
- 'cmdline_parse_string.c',
- 'cmdline_rdline.c',
- 'cmdline_socket.c',
- 'cmdline_vt100.c')
+ 'cmdline_cirbuf.c',
+ 'cmdline_parse.c',
+ 'cmdline_parse_etheraddr.c',
+ 'cmdline_parse_ipaddr.c',
+ 'cmdline_parse_num.c',
+ 'cmdline_parse_portlist.c',
+ 'cmdline_parse_string.c',
+ 'cmdline_rdline.c',
+ 'cmdline_socket.c',
+ 'cmdline_vt100.c')
headers = files('cmdline.h',
- 'cmdline_parse.h',
- 'cmdline_parse_num.h',
- 'cmdline_parse_ipaddr.h',
- 'cmdline_parse_etheraddr.h',
- 'cmdline_parse_string.h',
- 'cmdline_rdline.h',
- 'cmdline_vt100.h',
- 'cmdline_socket.h',
- 'cmdline_cirbuf.h',
- 'cmdline_parse_portlist.h')
+ 'cmdline_parse.h',
+ 'cmdline_parse_num.h',
+ 'cmdline_parse_ipaddr.h',
+ 'cmdline_parse_etheraddr.h',
+ 'cmdline_parse_string.h',
+ 'cmdline_rdline.h',
+ 'cmdline_vt100.h',
+ 'cmdline_socket.h',
+ 'cmdline_cirbuf.h',
+ 'cmdline_parse_portlist.h')
if is_windows
- sources += files('cmdline_os_windows.c')
+ sources += files('cmdline_os_windows.c')
else
- sources += files('cmdline_os_unix.c')
+ sources += files('cmdline_os_unix.c')
endif
deps += ['net']
diff --git a/lib/librte_compressdev/meson.build b/lib/librte_compressdev/meson.build
index 7d95cd4f30..663ceec0b9 100644
--- a/lib/librte_compressdev/meson.build
+++ b/lib/librte_compressdev/meson.build
@@ -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']
diff --git a/lib/librte_cryptodev/meson.build b/lib/librte_cryptodev/meson.build
index 8c5493f4cf..b206039cb6 100644
--- a/lib/librte_cryptodev/meson.build
+++ b/lib/librte_cryptodev/meson.build
@@ -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']
diff --git a/lib/librte_distributor/meson.build b/lib/librte_distributor/meson.build
index bd12ddb2f1..cefe1b9f19 100644
--- a/lib/librte_distributor/meson.build
+++ b/lib/librte_distributor/meson.build
@@ -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']
diff --git a/lib/librte_eal/arm/include/meson.build b/lib/librte_eal/arm/include/meson.build
index 770766de1a..9f498ced2e 100644
--- a/lib/librte_eal/arm/include/meson.build
+++ b/lib/librte_eal/arm/include/meson.build
@@ -2,32 +2,32 @@
# Copyright(c) 2017 Intel Corporation.
arch_headers = files(
- 'rte_atomic_32.h',
- 'rte_atomic_64.h',
- 'rte_atomic.h',
- 'rte_byteorder.h',
- 'rte_cpuflags_32.h',
- 'rte_cpuflags_64.h',
- 'rte_cpuflags.h',
- 'rte_cycles_32.h',
- 'rte_cycles_64.h',
- 'rte_cycles.h',
- 'rte_io_64.h',
- 'rte_io.h',
- 'rte_mcslock.h',
- 'rte_memcpy_32.h',
- 'rte_memcpy_64.h',
- 'rte_memcpy.h',
- 'rte_pause_32.h',
- 'rte_pause_64.h',
- 'rte_pause.h',
- 'rte_power_intrinsics.h',
- 'rte_prefetch_32.h',
- 'rte_prefetch_64.h',
- 'rte_prefetch.h',
- 'rte_rwlock.h',
- 'rte_spinlock.h',
- 'rte_ticketlock.h',
- 'rte_vect.h',
+ 'rte_atomic_32.h',
+ 'rte_atomic_64.h',
+ 'rte_atomic.h',
+ 'rte_byteorder.h',
+ 'rte_cpuflags_32.h',
+ 'rte_cpuflags_64.h',
+ 'rte_cpuflags.h',
+ 'rte_cycles_32.h',
+ 'rte_cycles_64.h',
+ 'rte_cycles.h',
+ 'rte_io_64.h',
+ 'rte_io.h',
+ 'rte_mcslock.h',
+ 'rte_memcpy_32.h',
+ 'rte_memcpy_64.h',
+ 'rte_memcpy.h',
+ 'rte_pause_32.h',
+ 'rte_pause_64.h',
+ 'rte_pause.h',
+ 'rte_power_intrinsics.h',
+ 'rte_prefetch_32.h',
+ 'rte_prefetch_64.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'))
diff --git a/lib/librte_eal/arm/meson.build b/lib/librte_eal/arm/meson.build
index 6ec53ea03a..990ac508fb 100644
--- a/lib/librte_eal/arm/meson.build
+++ b/lib/librte_eal/arm/meson.build
@@ -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',
)
diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build
index 70bd854fec..84767cfe3c 100644
--- a/lib/librte_eal/common/meson.build
+++ b/lib/librte_eal/common/meson.build
@@ -6,83 +6,83 @@ includes += include_directories('.')
cflags += [ '-DABI_VERSION="@0@"'.format(abi_version) ]
if is_windows
- sources += files(
- 'eal_common_bus.c',
- 'eal_common_class.c',
- 'eal_common_config.c',
- 'eal_common_debug.c',
- 'eal_common_dev.c',
- 'eal_common_devargs.c',
- 'eal_common_dynmem.c',
- 'eal_common_errno.c',
- 'eal_common_fbarray.c',
- 'eal_common_hexdump.c',
- 'eal_common_launch.c',
- 'eal_common_lcore.c',
- 'eal_common_log.c',
- 'eal_common_mcfg.c',
- 'eal_common_memalloc.c',
- 'eal_common_memory.c',
- 'eal_common_memzone.c',
- 'eal_common_options.c',
- 'eal_common_string_fns.c',
- 'eal_common_tailqs.c',
- 'eal_common_thread.c',
- 'eal_common_trace_points.c',
- 'malloc_elem.c',
- 'malloc_heap.c',
- 'rte_malloc.c',
- 'eal_common_timer.c',
- 'rte_random.c',
- 'rte_reciprocal.c',
- 'rte_service.c',
- 'rte_version.c',
- )
- subdir_done()
+ sources += files(
+ 'eal_common_bus.c',
+ 'eal_common_class.c',
+ 'eal_common_config.c',
+ 'eal_common_debug.c',
+ 'eal_common_dev.c',
+ 'eal_common_devargs.c',
+ 'eal_common_dynmem.c',
+ 'eal_common_errno.c',
+ 'eal_common_fbarray.c',
+ 'eal_common_hexdump.c',
+ 'eal_common_launch.c',
+ 'eal_common_lcore.c',
+ 'eal_common_log.c',
+ 'eal_common_mcfg.c',
+ 'eal_common_memalloc.c',
+ 'eal_common_memory.c',
+ 'eal_common_memzone.c',
+ 'eal_common_options.c',
+ 'eal_common_string_fns.c',
+ 'eal_common_tailqs.c',
+ 'eal_common_thread.c',
+ 'eal_common_trace_points.c',
+ 'malloc_elem.c',
+ 'malloc_heap.c',
+ 'rte_malloc.c',
+ 'eal_common_timer.c',
+ 'rte_random.c',
+ 'rte_reciprocal.c',
+ 'rte_service.c',
+ 'rte_version.c',
+ )
+ subdir_done()
endif
sources += files(
- 'eal_common_bus.c',
- 'eal_common_cpuflags.c',
- 'eal_common_class.c',
- 'eal_common_config.c',
- 'eal_common_debug.c',
- 'eal_common_devargs.c',
- 'eal_common_dev.c',
- 'eal_common_errno.c',
- 'eal_common_fbarray.c',
- 'eal_common_hexdump.c',
- 'eal_common_hypervisor.c',
- 'eal_common_launch.c',
- 'eal_common_lcore.c',
- 'eal_common_log.c',
- 'eal_common_mcfg.c',
- 'eal_common_memalloc.c',
- 'eal_common_memory.c',
- 'eal_common_memzone.c',
- 'eal_common_options.c',
- 'eal_common_proc.c',
- 'eal_common_string_fns.c',
- 'eal_common_tailqs.c',
- 'eal_common_thread.c',
- 'eal_common_timer.c',
- 'eal_common_trace.c',
- 'eal_common_trace_ctf.c',
- 'eal_common_trace_points.c',
- 'eal_common_trace_utils.c',
- 'eal_common_uuid.c',
- 'hotplug_mp.c',
- 'malloc_elem.c',
- 'malloc_heap.c',
- 'malloc_mp.c',
- 'rte_keepalive.c',
- 'rte_malloc.c',
- 'rte_random.c',
- 'rte_reciprocal.c',
- 'rte_service.c',
- 'rte_version.c',
+ 'eal_common_bus.c',
+ 'eal_common_cpuflags.c',
+ 'eal_common_class.c',
+ 'eal_common_config.c',
+ 'eal_common_debug.c',
+ 'eal_common_devargs.c',
+ 'eal_common_dev.c',
+ 'eal_common_errno.c',
+ 'eal_common_fbarray.c',
+ 'eal_common_hexdump.c',
+ 'eal_common_hypervisor.c',
+ 'eal_common_launch.c',
+ 'eal_common_lcore.c',
+ 'eal_common_log.c',
+ 'eal_common_mcfg.c',
+ 'eal_common_memalloc.c',
+ 'eal_common_memory.c',
+ 'eal_common_memzone.c',
+ 'eal_common_options.c',
+ 'eal_common_proc.c',
+ 'eal_common_string_fns.c',
+ 'eal_common_tailqs.c',
+ 'eal_common_thread.c',
+ 'eal_common_timer.c',
+ 'eal_common_trace.c',
+ 'eal_common_trace_ctf.c',
+ 'eal_common_trace_points.c',
+ 'eal_common_trace_utils.c',
+ 'eal_common_uuid.c',
+ 'hotplug_mp.c',
+ 'malloc_elem.c',
+ 'malloc_heap.c',
+ 'malloc_mp.c',
+ 'rte_keepalive.c',
+ 'rte_malloc.c',
+ 'rte_random.c',
+ 'rte_reciprocal.c',
+ 'rte_service.c',
+ 'rte_version.c',
)
if is_linux
- sources += files('eal_common_dynmem.c')
+ sources += files('eal_common_dynmem.c')
endif
diff --git a/lib/librte_eal/freebsd/meson.build b/lib/librte_eal/freebsd/meson.build
index e10fd8a16d..0c1b69fa88 100644
--- a/lib/librte_eal/freebsd/meson.build
+++ b/lib/librte_eal/freebsd/meson.build
@@ -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']
diff --git a/lib/librte_eal/include/meson.build b/lib/librte_eal/include/meson.build
index 3969cf4ac7..1f8f096113 100644
--- a/lib/librte_eal/include/meson.build
+++ b/lib/librte_eal/include/meson.build
@@ -4,67 +4,67 @@
includes += include_directories('.')
headers += files(
- 'rte_alarm.h',
- 'rte_bitmap.h',
- 'rte_bitops.h',
- 'rte_branch_prediction.h',
- 'rte_bus.h',
- 'rte_class.h',
- 'rte_common.h',
- 'rte_compat.h',
- 'rte_debug.h',
- 'rte_dev.h',
- 'rte_devargs.h',
- 'rte_eal.h',
- 'rte_eal_memconfig.h',
- 'rte_eal_trace.h',
- 'rte_errno.h',
- 'rte_fbarray.h',
- 'rte_hexdump.h',
- 'rte_hypervisor.h',
- 'rte_interrupts.h',
- 'rte_keepalive.h',
- 'rte_launch.h',
- 'rte_lcore.h',
- 'rte_log.h',
- 'rte_malloc.h',
- 'rte_memory.h',
- 'rte_memzone.h',
- 'rte_pci_dev_feature_defs.h',
- 'rte_pci_dev_features.h',
- 'rte_per_lcore.h',
- 'rte_random.h',
- 'rte_reciprocal.h',
- 'rte_service.h',
- 'rte_service_component.h',
- 'rte_string_fns.h',
- 'rte_tailq.h',
- 'rte_thread.h',
- 'rte_time.h',
- 'rte_trace.h',
- 'rte_trace_point.h',
- 'rte_trace_point_register.h',
- 'rte_uuid.h',
- 'rte_version.h',
- 'rte_vfio.h',
+ 'rte_alarm.h',
+ 'rte_bitmap.h',
+ 'rte_bitops.h',
+ 'rte_branch_prediction.h',
+ 'rte_bus.h',
+ 'rte_class.h',
+ 'rte_common.h',
+ 'rte_compat.h',
+ 'rte_debug.h',
+ 'rte_dev.h',
+ 'rte_devargs.h',
+ 'rte_eal.h',
+ 'rte_eal_memconfig.h',
+ 'rte_eal_trace.h',
+ 'rte_errno.h',
+ 'rte_fbarray.h',
+ 'rte_hexdump.h',
+ 'rte_hypervisor.h',
+ 'rte_interrupts.h',
+ 'rte_keepalive.h',
+ 'rte_launch.h',
+ 'rte_lcore.h',
+ 'rte_log.h',
+ 'rte_malloc.h',
+ 'rte_memory.h',
+ 'rte_memzone.h',
+ 'rte_pci_dev_feature_defs.h',
+ 'rte_pci_dev_features.h',
+ 'rte_per_lcore.h',
+ 'rte_random.h',
+ 'rte_reciprocal.h',
+ 'rte_service.h',
+ 'rte_service_component.h',
+ 'rte_string_fns.h',
+ 'rte_tailq.h',
+ 'rte_thread.h',
+ 'rte_time.h',
+ 'rte_trace.h',
+ 'rte_trace_point.h',
+ 'rte_trace_point_register.h',
+ 'rte_uuid.h',
+ 'rte_version.h',
+ 'rte_vfio.h',
)
indirect_headers += files('rte_eal_interrupts.h')
# special case install the generic headers, since they go in a subdir
generic_headers = files(
- 'generic/rte_atomic.h',
- 'generic/rte_byteorder.h',
- 'generic/rte_cpuflags.h',
- 'generic/rte_cycles.h',
- 'generic/rte_io.h',
- 'generic/rte_mcslock.h',
- 'generic/rte_memcpy.h',
- 'generic/rte_pause.h',
- 'generic/rte_power_intrinsics.h',
- 'generic/rte_prefetch.h',
- 'generic/rte_rwlock.h',
- 'generic/rte_spinlock.h',
- 'generic/rte_ticketlock.h',
- 'generic/rte_vect.h',
+ 'generic/rte_atomic.h',
+ 'generic/rte_byteorder.h',
+ 'generic/rte_cpuflags.h',
+ 'generic/rte_cycles.h',
+ 'generic/rte_io.h',
+ 'generic/rte_mcslock.h',
+ 'generic/rte_memcpy.h',
+ 'generic/rte_pause.h',
+ 'generic/rte_power_intrinsics.h',
+ 'generic/rte_prefetch.h',
+ 'generic/rte_rwlock.h',
+ 'generic/rte_spinlock.h',
+ 'generic/rte_ticketlock.h',
+ 'generic/rte_vect.h',
)
install_headers(generic_headers, subdir: 'generic')
diff --git a/lib/librte_eal/linux/meson.build b/lib/librte_eal/linux/meson.build
index 7742aa4759..d741a4ac71 100644
--- a/lib/librte_eal/linux/meson.build
+++ b/lib/librte_eal/linux/meson.build
@@ -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
diff --git a/lib/librte_eal/meson.build b/lib/librte_eal/meson.build
index 7d6222e781..1722924f67 100644
--- a/lib/librte_eal/meson.build
+++ b/lib/librte_eal/meson.build
@@ -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
diff --git a/lib/librte_eal/ppc/include/meson.build b/lib/librte_eal/ppc/include/meson.build
index dae40ede54..08925ec295 100644
--- a/lib/librte_eal/ppc/include/meson.build
+++ b/lib/librte_eal/ppc/include/meson.build
@@ -2,20 +2,20 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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'))
diff --git a/lib/librte_eal/ppc/meson.build b/lib/librte_eal/ppc/meson.build
index 43c46542fb..58bb8dd5b5 100644
--- a/lib/librte_eal/ppc/meson.build
+++ b/lib/librte_eal/ppc/meson.build
@@ -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',
)
diff --git a/lib/librte_eal/unix/meson.build b/lib/librte_eal/unix/meson.build
index 71221b84a4..55a0fa27be 100644
--- a/lib/librte_eal/unix/meson.build
+++ b/lib/librte_eal/unix/meson.build
@@ -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',
)
diff --git a/lib/librte_eal/windows/meson.build b/lib/librte_eal/windows/meson.build
index 42ff5c2d59..da490c698b 100644
--- a/lib/librte_eal/windows/meson.build
+++ b/lib/librte_eal/windows/meson.build
@@ -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)
diff --git a/lib/librte_eal/x86/include/meson.build b/lib/librte_eal/x86/include/meson.build
index 1a6ad0b173..832a512020 100644
--- a/lib/librte_eal/x86/include/meson.build
+++ b/lib/librte_eal/x86/include/meson.build
@@ -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
diff --git a/lib/librte_eal/x86/meson.build b/lib/librte_eal/x86/meson.build
index dfd42dee0c..6cf438a9dc 100644
--- a/lib/librte_eal/x86/meson.build
+++ b/lib/librte_eal/x86/meson.build
@@ -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',
)
diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
index c37b2e3772..9d906b2d98 100644
--- a/lib/librte_ethdev/meson.build
+++ b/lib/librte_ethdev/meson.build
@@ -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']
diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build
index 79d36d37bb..3b6859e60f 100644
--- a/lib/librte_eventdev/meson.build
+++ b/lib/librte_eventdev/meson.build
@@ -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']
diff --git a/lib/librte_fib/meson.build b/lib/librte_fib/meson.build
index 18eadcc56c..5618c215a7 100644
--- a/lib/librte_fib/meson.build
+++ b/lib/librte_fib/meson.build
@@ -9,50 +9,50 @@ deps += ['rib']
# 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
- # compile AVX512 version if either:
- # a. we have AVX512F 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 AVX512F 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__','__AVX512DQ__']
- acl_avx512_on = true
- foreach f:acl_avx512_flags
- if cc.get_define(f, args: machine_args) == ''
- acl_avx512_on = false
- endif
- endforeach
+ # check if all required flags already enabled (variant a).
+ acl_avx512_flags = ['__AVX512F__','__AVX512DQ__']
+ acl_avx512_on = true
+ foreach f:acl_avx512_flags
+ if cc.get_define(f, args: machine_args) == ''
+ acl_avx512_on = false
+ endif
+ endforeach
- if acl_avx512_on == true
- cflags += ['-DCC_DIR24_8_AVX512_SUPPORT']
- sources += files('dir24_8_avx512.c')
- # TRIE AVX512 implementation uses avx512bw intrinsics along with
- # avx512f and avx512dq
- if cc.get_define('__AVX512BW__', args: machine_args) != ''
- cflags += ['-DCC_TRIE_AVX512_SUPPORT']
- sources += files('trie_avx512.c')
- endif
- elif cc.has_multi_arguments('-mavx512f', '-mavx512dq')
- dir24_8_avx512_tmp = static_library('dir24_8_avx512_tmp',
- 'dir24_8_avx512.c',
- dependencies: static_rte_eal,
- c_args: cflags + ['-mavx512f', '-mavx512dq'])
- objs += dir24_8_avx512_tmp.extract_objects('dir24_8_avx512.c')
- cflags += ['-DCC_DIR24_8_AVX512_SUPPORT']
- # TRIE AVX512 implementation uses avx512bw intrinsics along with
- # avx512f and avx512dq
- if cc.has_argument('-mavx512bw')
- trie_avx512_tmp = static_library('trie_avx512_tmp',
- 'trie_avx512.c',
- dependencies: static_rte_eal,
- c_args: cflags + ['-mavx512f', \
- '-mavx512dq', '-mavx512bw'])
- objs += trie_avx512_tmp.extract_objects('trie_avx512.c')
- cflags += ['-DCC_TRIE_AVX512_SUPPORT']
- endif
- endif
+ if acl_avx512_on == true
+ cflags += ['-DCC_DIR24_8_AVX512_SUPPORT']
+ sources += files('dir24_8_avx512.c')
+ # TRIE AVX512 implementation uses avx512bw intrinsics along with
+ # avx512f and avx512dq
+ if cc.get_define('__AVX512BW__', args: machine_args) != ''
+ cflags += ['-DCC_TRIE_AVX512_SUPPORT']
+ sources += files('trie_avx512.c')
+ endif
+ elif cc.has_multi_arguments('-mavx512f', '-mavx512dq')
+ dir24_8_avx512_tmp = static_library('dir24_8_avx512_tmp',
+ 'dir24_8_avx512.c',
+ dependencies: static_rte_eal,
+ c_args: cflags + ['-mavx512f', '-mavx512dq'])
+ objs += dir24_8_avx512_tmp.extract_objects('dir24_8_avx512.c')
+ cflags += ['-DCC_DIR24_8_AVX512_SUPPORT']
+ # TRIE AVX512 implementation uses avx512bw intrinsics along with
+ # avx512f and avx512dq
+ if cc.has_argument('-mavx512bw')
+ trie_avx512_tmp = static_library('trie_avx512_tmp',
+ 'trie_avx512.c',
+ dependencies: static_rte_eal,
+ c_args: cflags + ['-mavx512f', \
+ '-mavx512dq', '-mavx512bw'])
+ objs += trie_avx512_tmp.extract_objects('trie_avx512.c')
+ cflags += ['-DCC_TRIE_AVX512_SUPPORT']
+ endif
+ endif
endif
diff --git a/lib/librte_gso/meson.build b/lib/librte_gso/meson.build
index 05904f2fea..ab128d5572 100644
--- a/lib/librte_gso/meson.build
+++ b/lib/librte_gso/meson.build
@@ -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']
diff --git a/lib/librte_hash/meson.build b/lib/librte_hash/meson.build
index 242859f5ad..fb3edd8ec0 100644
--- a/lib/librte_hash/meson.build
+++ b/lib/librte_hash/meson.build
@@ -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')
diff --git a/lib/librte_ip_frag/meson.build b/lib/librte_ip_frag/meson.build
index c5b9a45963..4f6d600cb7 100644
--- a/lib/librte_ip_frag/meson.build
+++ b/lib/librte_ip_frag/meson.build
@@ -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']
diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build
index 55e47df413..e2e4e44fc6 100644
--- a/lib/librte_kni/meson.build
+++ b/lib/librte_kni/meson.build
@@ -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')
diff --git a/lib/librte_mbuf/meson.build b/lib/librte_mbuf/meson.build
index e95c770e5a..7a2ac02749 100644
--- a/lib/librte_mbuf/meson.build
+++ b/lib/librte_mbuf/meson.build
@@ -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']
diff --git a/lib/librte_mempool/meson.build b/lib/librte_mempool/meson.build
index a6e861cbfc..cf24a6436d 100644
--- a/lib/librte_mempool/meson.build
+++ b/lib/librte_mempool/meson.build
@@ -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']
diff --git a/lib/librte_metrics/meson.build b/lib/librte_metrics/meson.build
index d5be6a2145..3cb43d9ee7 100644
--- a/lib/librte_metrics/meson.build
+++ b/lib/librte_metrics/meson.build
@@ -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']
diff --git a/lib/librte_net/meson.build b/lib/librte_net/meson.build
index 94d816e79f..d47434f67c 100644
--- a/lib/librte_net/meson.build
+++ b/lib/librte_net/meson.build
@@ -2,109 +2,109 @@
# Copyright(c) 2017-2020 Intel Corporation
headers = files('rte_ip.h',
- 'rte_tcp.h',
- 'rte_udp.h',
- 'rte_esp.h',
- 'rte_sctp.h',
- 'rte_icmp.h',
- 'rte_arp.h',
- 'rte_ether.h',
- 'rte_vxlan.h',
- 'rte_gre.h',
- 'rte_gtp.h',
- 'rte_net.h',
- 'rte_net_crc.h',
- 'rte_mpls.h',
- 'rte_higig.h',
- 'rte_ecpri.h',
- 'rte_geneve.h')
+ 'rte_tcp.h',
+ 'rte_udp.h',
+ 'rte_esp.h',
+ 'rte_sctp.h',
+ 'rte_icmp.h',
+ 'rte_arp.h',
+ 'rte_ether.h',
+ 'rte_vxlan.h',
+ 'rte_gre.h',
+ 'rte_gtp.h',
+ 'rte_net.h',
+ 'rte_net_crc.h',
+ 'rte_mpls.h',
+ 'rte_higig.h',
+ 'rte_ecpri.h',
+ 'rte_geneve.h')
sources = files('rte_arp.c', 'rte_ether.c', 'rte_net.c', 'rte_net_crc.c')
deps += ['mbuf']
if dpdk_conf.has('RTE_ARCH_X86_64')
- net_crc_sse42_cpu_support = (
- cc.get_define('__PCLMUL__', args: machine_args) != '')
- net_crc_avx512_cpu_support = (
- cc.get_define('__AVX512F__', args: machine_args) != '' and
- cc.get_define('__AVX512BW__', args: machine_args) != '' and
- cc.get_define('__AVX512DQ__', args: machine_args) != '' and
- cc.get_define('__AVX512VL__', args: machine_args) != '' and
- cc.get_define('__VPCLMULQDQ__', args: machine_args) != '')
+ net_crc_sse42_cpu_support = (
+ cc.get_define('__PCLMUL__', args: machine_args) != '')
+ net_crc_avx512_cpu_support = (
+ cc.get_define('__AVX512F__', args: machine_args) != '' and
+ cc.get_define('__AVX512BW__', args: machine_args) != '' and
+ cc.get_define('__AVX512DQ__', args: machine_args) != '' and
+ cc.get_define('__AVX512VL__', args: machine_args) != '' and
+ cc.get_define('__VPCLMULQDQ__', args: machine_args) != '')
- net_crc_sse42_cc_support = (
- cc.has_argument('-mpclmul') and cc.has_argument('-maes'))
- net_crc_avx512_cc_support = (
- not machine_args.contains('-mno-avx512f') and
- cc.has_argument('-mavx512f') and
- cc.has_argument('-mavx512bw') and
- cc.has_argument('-mavx512dq') and
- cc.has_argument('-mavx512vl') and
- cc.has_argument('-mvpclmulqdq') and
- cc.has_argument('-mavx2') and
- cc.has_argument('-mavx'))
+ net_crc_sse42_cc_support = (
+ cc.has_argument('-mpclmul') and cc.has_argument('-maes'))
+ net_crc_avx512_cc_support = (
+ not machine_args.contains('-mno-avx512f') and
+ cc.has_argument('-mavx512f') and
+ cc.has_argument('-mavx512bw') and
+ cc.has_argument('-mavx512dq') and
+ cc.has_argument('-mavx512vl') and
+ cc.has_argument('-mvpclmulqdq') and
+ cc.has_argument('-mavx2') and
+ cc.has_argument('-mavx'))
- build_static_net_crc_sse42_lib = 0
- build_static_net_crc_avx512_lib = 0
+ build_static_net_crc_sse42_lib = 0
+ build_static_net_crc_avx512_lib = 0
- if net_crc_sse42_cpu_support == true
- sources += files('net_crc_sse.c')
- cflags += ['-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT']
- if net_crc_avx512_cpu_support == true
- sources += files('net_crc_avx512.c')
- cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
- elif net_crc_avx512_cc_support == true
- build_static_net_crc_avx512_lib = 1
- net_crc_avx512_lib_cflags = ['-mavx512f',
- '-mavx512bw',
- '-mavx512dq',
- '-mavx512vl',
- '-mvpclmulqdq',
- '-mavx2',
- '-mavx']
- cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
- endif
- elif net_crc_sse42_cc_support == true
- build_static_net_crc_sse42_lib = 1
- net_crc_sse42_lib_cflags = ['-mpclmul', '-maes']
- cflags += ['-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT']
- if net_crc_avx512_cc_support == true
- build_static_net_crc_avx512_lib = 1
- net_crc_avx512_lib_cflags = ['-mpclmul',
- '-maes',
- '-mavx512f',
- '-mavx512bw',
- '-mavx512dq',
- '-mavx512vl',
- '-mvpclmulqdq',
- '-mavx2',
- '-mavx']
- cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
- endif
- endif
+ if net_crc_sse42_cpu_support == true
+ sources += files('net_crc_sse.c')
+ cflags += ['-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT']
+ if net_crc_avx512_cpu_support == true
+ sources += files('net_crc_avx512.c')
+ cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
+ elif net_crc_avx512_cc_support == true
+ build_static_net_crc_avx512_lib = 1
+ net_crc_avx512_lib_cflags = ['-mavx512f',
+ '-mavx512bw',
+ '-mavx512dq',
+ '-mavx512vl',
+ '-mvpclmulqdq',
+ '-mavx2',
+ '-mavx']
+ cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
+ endif
+ elif net_crc_sse42_cc_support == true
+ build_static_net_crc_sse42_lib = 1
+ net_crc_sse42_lib_cflags = ['-mpclmul', '-maes']
+ cflags += ['-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT']
+ if net_crc_avx512_cc_support == true
+ build_static_net_crc_avx512_lib = 1
+ net_crc_avx512_lib_cflags = ['-mpclmul',
+ '-maes',
+ '-mavx512f',
+ '-mavx512bw',
+ '-mavx512dq',
+ '-mavx512vl',
+ '-mvpclmulqdq',
+ '-mavx2',
+ '-mavx']
+ cflags += ['-DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT']
+ endif
+ endif
- if build_static_net_crc_sse42_lib == 1
- net_crc_sse42_lib = static_library(
- 'net_crc_sse42_lib',
- 'net_crc_sse.c',
- dependencies: static_rte_eal,
- c_args: [cflags,
- net_crc_sse42_lib_cflags])
- objs += net_crc_sse42_lib.extract_objects('net_crc_sse.c')
- endif
+ if build_static_net_crc_sse42_lib == 1
+ net_crc_sse42_lib = static_library(
+ 'net_crc_sse42_lib',
+ 'net_crc_sse.c',
+ dependencies: static_rte_eal,
+ c_args: [cflags,
+ net_crc_sse42_lib_cflags])
+ objs += net_crc_sse42_lib.extract_objects('net_crc_sse.c')
+ endif
- if build_static_net_crc_avx512_lib == 1
- net_crc_avx512_lib = static_library(
- 'net_crc_avx512_lib',
- 'net_crc_avx512.c',
- dependencies: static_rte_eal,
- c_args: [cflags,
- net_crc_avx512_lib_cflags])
- objs += net_crc_avx512_lib.extract_objects('net_crc_avx512.c')
- endif
+ if build_static_net_crc_avx512_lib == 1
+ net_crc_avx512_lib = static_library(
+ 'net_crc_avx512_lib',
+ 'net_crc_avx512.c',
+ dependencies: static_rte_eal,
+ c_args: [cflags,
+ net_crc_avx512_lib_cflags])
+ objs += net_crc_avx512_lib.extract_objects('net_crc_avx512.c')
+ endif
elif (dpdk_conf.has('RTE_ARCH_ARM64') and
- cc.get_define('__ARM_FEATURE_CRYPTO', args: machine_args) != '')
- sources += files('net_crc_neon.c')
- cflags += ['-DCC_ARM64_NEON_PMULL_SUPPORT']
+ cc.get_define('__ARM_FEATURE_CRYPTO', args: machine_args) != '')
+ sources += files('net_crc_neon.c')
+ cflags += ['-DCC_ARM64_NEON_PMULL_SUPPORT']
endif
diff --git a/lib/librte_node/meson.build b/lib/librte_node/meson.build
index 3d582f616a..2fdec58100 100644
--- a/lib/librte_node/meson.build
+++ b/lib/librte_node/meson.build
@@ -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'
diff --git a/lib/librte_pipeline/meson.build b/lib/librte_pipeline/meson.build
index 65c1a8d6a9..c4585e7d1b 100644
--- a/lib/librte_pipeline/meson.build
+++ b/lib/librte_pipeline/meson.build
@@ -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']
diff --git a/lib/librte_port/meson.build b/lib/librte_port/meson.build
index 435b64a131..d2ca313367 100644
--- a/lib/librte_port/meson.build
+++ b/lib/librte_port/meson.build
@@ -2,45 +2,45 @@
# Copyright(c) 2017 Intel Corporation
sources = files(
- 'rte_port_ethdev.c',
- 'rte_port_fd.c',
- 'rte_port_frag.c',
- 'rte_port_ras.c',
- 'rte_port_ring.c',
- 'rte_port_sched.c',
- 'rte_port_source_sink.c',
- 'rte_port_sym_crypto.c',
- 'rte_port_eventdev.c',
- 'rte_swx_port_ethdev.c',
- 'rte_swx_port_fd.c',
- 'rte_swx_port_ring.c',
- 'rte_swx_port_source_sink.c',
- )
+ 'rte_port_ethdev.c',
+ 'rte_port_fd.c',
+ 'rte_port_frag.c',
+ 'rte_port_ras.c',
+ 'rte_port_ring.c',
+ 'rte_port_sched.c',
+ 'rte_port_source_sink.c',
+ 'rte_port_sym_crypto.c',
+ 'rte_port_eventdev.c',
+ 'rte_swx_port_ethdev.c',
+ 'rte_swx_port_fd.c',
+ 'rte_swx_port_ring.c',
+ 'rte_swx_port_source_sink.c',
+ )
headers = files(
- 'rte_port_ethdev.h',
- 'rte_port_fd.h',
- 'rte_port_frag.h',
- 'rte_port_ras.h',
- 'rte_port.h',
- 'rte_port_ring.h',
- 'rte_port_sched.h',
- 'rte_port_source_sink.h',
- 'rte_port_sym_crypto.h',
- 'rte_port_eventdev.h',
- 'rte_swx_port.h',
- 'rte_swx_port_ethdev.h',
- 'rte_swx_port_fd.h',
- 'rte_swx_port_ring.h',
- 'rte_swx_port_source_sink.h',
- )
+ 'rte_port_ethdev.h',
+ 'rte_port_fd.h',
+ 'rte_port_frag.h',
+ 'rte_port_ras.h',
+ 'rte_port.h',
+ 'rte_port_ring.h',
+ 'rte_port_sched.h',
+ 'rte_port_source_sink.h',
+ 'rte_port_sym_crypto.h',
+ 'rte_port_eventdev.h',
+ 'rte_swx_port.h',
+ 'rte_swx_port_ethdev.h',
+ 'rte_swx_port_fd.h',
+ 'rte_swx_port_ring.h',
+ 'rte_swx_port_source_sink.h',
+ )
deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
if dpdk_conf.has('RTE_PORT_PCAP')
- ext_deps += pcap_dep # dependency provided in config/meson.build
+ ext_deps += pcap_dep # dependency provided in config/meson.build
endif
if dpdk_conf.has('RTE_LIB_KNI')
- sources += files('rte_port_kni.c')
- headers += files('rte_port_kni.h')
- deps += 'kni'
+ sources += files('rte_port_kni.c')
+ headers += files('rte_port_kni.h')
+ deps += 'kni'
endif
diff --git a/lib/librte_power/meson.build b/lib/librte_power/meson.build
index 9a2dcbfc7a..75e6593e81 100644
--- a/lib/librte_power/meson.build
+++ b/lib/librte_power/meson.build
@@ -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']
diff --git a/lib/librte_regexdev/meson.build b/lib/librte_regexdev/meson.build
index 1b3b6db22a..7dc96f28c9 100644
--- a/lib/librte_regexdev/meson.build
+++ b/lib/librte_regexdev/meson.build
@@ -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']
diff --git a/lib/librte_ring/meson.build b/lib/librte_ring/meson.build
index ea050d564a..1f81e71d9a 100644
--- a/lib/librte_ring/meson.build
+++ b/lib/librte_ring/meson.build
@@ -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')
diff --git a/lib/librte_sched/meson.build b/lib/librte_sched/meson.build
index f85d64df81..78f7a0436d 100644
--- a/lib/librte_sched/meson.build
+++ b/lib/librte_sched/meson.build
@@ -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']
diff --git a/lib/librte_stack/meson.build b/lib/librte_stack/meson.build
index 9ff33722b2..c34843bee7 100644
--- a/lib/librte_stack/meson.build
+++ b/lib/librte_stack/meson.build
@@ -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')
diff --git a/lib/librte_table/meson.build b/lib/librte_table/meson.build
index 007ffe0130..6c542eccb6 100644
--- a/lib/librte_table/meson.build
+++ b/lib/librte_table/meson.build
@@ -2,35 +2,35 @@
# Copyright(c) 2017 Intel Corporation
sources = files('rte_table_acl.c',
- 'rte_table_lpm.c',
- 'rte_table_lpm_ipv6.c',
- 'rte_table_hash_cuckoo.c',
- 'rte_table_hash_key8.c',
- 'rte_table_hash_key16.c',
- 'rte_table_hash_key32.c',
- 'rte_table_hash_ext.c',
- 'rte_table_hash_lru.c',
- 'rte_table_array.c',
- 'rte_table_stub.c',
- 'rte_swx_table_em.c',
- 'rte_swx_table_wm.c',
- )
+ 'rte_table_lpm.c',
+ 'rte_table_lpm_ipv6.c',
+ 'rte_table_hash_cuckoo.c',
+ 'rte_table_hash_key8.c',
+ 'rte_table_hash_key16.c',
+ 'rte_table_hash_key32.c',
+ 'rte_table_hash_ext.c',
+ 'rte_table_hash_lru.c',
+ 'rte_table_array.c',
+ 'rte_table_stub.c',
+ 'rte_swx_table_em.c',
+ 'rte_swx_table_wm.c',
+ )
headers = files('rte_table.h',
- 'rte_table_acl.h',
- 'rte_table_lpm.h',
- 'rte_table_lpm_ipv6.h',
- 'rte_table_hash.h',
- 'rte_table_hash_cuckoo.h',
- 'rte_table_hash_func.h',
- 'rte_lru.h',
- 'rte_table_array.h',
- 'rte_table_stub.h',
- 'rte_swx_table.h',
- 'rte_swx_table_em.h',
- 'rte_swx_table_wm.h',
- )
+ 'rte_table_acl.h',
+ 'rte_table_lpm.h',
+ 'rte_table_lpm_ipv6.h',
+ 'rte_table_hash.h',
+ 'rte_table_hash_cuckoo.h',
+ 'rte_table_hash_func.h',
+ 'rte_lru.h',
+ 'rte_table_array.h',
+ 'rte_table_stub.h',
+ 'rte_swx_table.h',
+ 'rte_swx_table_em.h',
+ 'rte_swx_table_wm.h',
+ )
deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
indirect_headers += files('rte_lru_x86.h',
- 'rte_lru_arm64.h',
- 'rte_table_hash_func_arm64.h')
+ 'rte_lru_arm64.h',
+ 'rte_table_hash_func_arm64.h')
diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
index 6185deab33..f4254320ac 100644
--- a/lib/librte_vhost/meson.build
+++ b/lib/librte_vhost/meson.build
@@ -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']
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 10/14] drivers: change meson file tabs to spaces
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (8 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 09/14] lib: change meson " Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 11/14] examples: " Bruce Richardson
` (7 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Switch from using tabs to 4 spaces for meson.build indentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
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(-)
diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build
index 55ef4e4ec7..477b8b371f 100644
--- a/drivers/baseband/turbo_sw/meson.build
+++ b/drivers/baseband/turbo_sw/meson.build
@@ -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']
diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build
index a3471403e2..9ff7bf21de 100644
--- a/drivers/bus/dpaa/meson.build
+++ b/drivers/bus/dpaa/meson.build
@@ -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')
diff --git a/drivers/bus/fslmc/meson.build b/drivers/bus/fslmc/meson.build
index 260e7ef712..90f3e5674a 100644
--- a/drivers/bus/fslmc/meson.build
+++ b/drivers/bus/fslmc/meson.build
@@ -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')
diff --git a/drivers/bus/ifpga/meson.build b/drivers/bus/ifpga/meson.build
index 4d0507f553..cc5047e3ce 100644
--- a/drivers/bus/ifpga/meson.build
+++ b/drivers/bus/ifpga/meson.build
@@ -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']
diff --git a/drivers/bus/pci/meson.build b/drivers/bus/pci/meson.build
index 78ec830b25..800ef7eabe 100644
--- a/drivers/bus/pci/meson.build
+++ b/drivers/bus/pci/meson.build
@@ -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']
diff --git a/drivers/bus/vdev/meson.build b/drivers/bus/vdev/meson.build
index 44b2966baa..3537423346 100644
--- a/drivers/bus/vdev/meson.build
+++ b/drivers/bus/vdev/meson.build
@@ -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']
diff --git a/drivers/bus/vmbus/meson.build b/drivers/bus/vmbus/meson.build
index 47e26703aa..50a2409e0b 100644
--- a/drivers/bus/vmbus/meson.build
+++ b/drivers/bus/vmbus/meson.build
@@ -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
diff --git a/drivers/common/cpt/meson.build b/drivers/common/cpt/meson.build
index beecf0da30..24efc93784 100644
--- a/drivers/common/cpt/meson.build
+++ b/drivers/common/cpt/meson.build
@@ -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')
diff --git a/drivers/common/dpaax/meson.build b/drivers/common/dpaax/meson.build
index b7f177a62e..a162779116 100644
--- a/drivers/common/dpaax/meson.build
+++ b/drivers/common/dpaax/meson.build
@@ -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
diff --git a/drivers/common/mlx5/linux/meson.build b/drivers/common/mlx5/linux/meson.build
index 220de35420..a2b07fd23c 100644
--- a/drivers/common/mlx5/linux/meson.build
+++ b/drivers/common/mlx5/linux/meson.build
@@ -9,48 +9,48 @@ LIB_GLUE_BASE = 'librte_common_mlx5_glue.so'
LIB_GLUE_VERSION = abi_version
LIB_GLUE = LIB_GLUE_BASE + '.' + LIB_GLUE_VERSION
if dlopen_ibverbs
- dpdk_conf.set('RTE_IBVERBS_LINK_DLOPEN', 1)
- cflags += [
- '-DMLX5_GLUE="@0@"'.format(LIB_GLUE),
- '-DMLX5_GLUE_VERSION="@0@"'.format(LIB_GLUE_VERSION),
- ]
+ dpdk_conf.set('RTE_IBVERBS_LINK_DLOPEN', 1)
+ cflags += [
+ '-DMLX5_GLUE="@0@"'.format(LIB_GLUE),
+ '-DMLX5_GLUE_VERSION="@0@"'.format(LIB_GLUE_VERSION),
+ ]
endif
libnames = [ 'mlx5', 'ibverbs' ]
libs = []
foreach libname:libnames
- lib = dependency('lib' + libname, static:static_ibverbs,
- required:false, method: 'pkg-config')
- if not lib.found() and not static_ibverbs
- lib = cc.find_library(libname, required:false)
- endif
- if lib.found()
- libs += lib
- if not static_ibverbs and not dlopen_ibverbs
- ext_deps += lib
- endif
- else
- build = false
- reason = 'missing dependency, "' + libname + '"'
- subdir_done()
- endif
+ lib = dependency('lib' + libname, static:static_ibverbs,
+ required:false, method: 'pkg-config')
+ if not lib.found() and not static_ibverbs
+ lib = cc.find_library(libname, required:false)
+ endif
+ if lib.found()
+ libs += lib
+ if not static_ibverbs and not dlopen_ibverbs
+ ext_deps += lib
+ endif
+ else
+ build = false
+ reason = 'missing dependency, "' + libname + '"'
+ subdir_done()
+ endif
endforeach
if static_ibverbs or dlopen_ibverbs
- # Build without adding shared libs to Requires.private
- ibv_cflags = run_command(pkgconf, '--cflags', 'libibverbs').stdout()
- ext_deps += declare_dependency(compile_args: ibv_cflags.split())
+ # Build without adding shared libs to Requires.private
+ ibv_cflags = run_command(pkgconf, '--cflags', 'libibverbs').stdout()
+ ext_deps += declare_dependency(compile_args: ibv_cflags.split())
endif
if static_ibverbs
- # Add static deps ldflags to internal apps and Libs.private
- ibv_ldflags = run_command(ldflags_ibverbs_static, check:true).stdout()
- ext_deps += declare_dependency(link_args:ibv_ldflags.split())
+ # Add static deps ldflags to internal apps and Libs.private
+ ibv_ldflags = run_command(ldflags_ibverbs_static, check:true).stdout()
+ ext_deps += declare_dependency(link_args:ibv_ldflags.split())
endif
sources += files('mlx5_nl.c')
sources += files('mlx5_common_os.c')
sources += files('mlx5_common_verbs.c')
if not dlopen_ibverbs
- sources += files('mlx5_glue.c')
+ sources += files('mlx5_glue.c')
endif
# To maintain the compatibility with the make build system
@@ -59,169 +59,169 @@ endif
# [ "MACRO to define if found", "header for the search",
# "symbol to search", "struct member to search" ]
has_member_args = [
- [ 'HAVE_IBV_MLX5_MOD_SWP', 'infiniband/mlx5dv.h',
- 'struct mlx5dv_sw_parsing_caps', 'sw_parsing_offloads' ],
- [ 'HAVE_IBV_DEVICE_COUNTERS_SET_V42', 'infiniband/verbs.h',
- 'struct ibv_counter_set_init_attr', 'counter_set_id' ],
- [ 'HAVE_IBV_DEVICE_COUNTERS_SET_V45', 'infiniband/verbs.h',
- 'struct ibv_counters_init_attr', 'comp_mask' ],
- [ 'HAVE_MLX5DV_DEVX_UAR_OFFSET', 'infiniband/mlx5dv.h',
- 'struct mlx5dv_devx_uar', 'mmap_off' ],
+ [ 'HAVE_IBV_MLX5_MOD_SWP', 'infiniband/mlx5dv.h',
+ 'struct mlx5dv_sw_parsing_caps', 'sw_parsing_offloads' ],
+ [ 'HAVE_IBV_DEVICE_COUNTERS_SET_V42', 'infiniband/verbs.h',
+ 'struct ibv_counter_set_init_attr', 'counter_set_id' ],
+ [ 'HAVE_IBV_DEVICE_COUNTERS_SET_V45', 'infiniband/verbs.h',
+ 'struct ibv_counters_init_attr', 'comp_mask' ],
+ [ 'HAVE_MLX5DV_DEVX_UAR_OFFSET', 'infiniband/mlx5dv.h',
+ 'struct mlx5dv_devx_uar', 'mmap_off' ],
]
# input array for meson symbol search:
# [ "MACRO to define if found", "header for the search",
# "symbol to search" ]
has_sym_args = [
- [ 'HAVE_IBV_RELAXED_ORDERING', 'infiniband/verbs.h',
- 'IBV_ACCESS_RELAXED_ORDERING ' ],
- [ 'HAVE_IBV_DEVICE_STRIDING_RQ_SUPPORT', 'infiniband/mlx5dv.h',
- 'MLX5DV_CQE_RES_FORMAT_CSUM_STRIDX' ],
- [ 'HAVE_IBV_DEVICE_TUNNEL_SUPPORT', 'infiniband/mlx5dv.h',
- 'MLX5DV_CONTEXT_MASK_TUNNEL_OFFLOADS' ],
- [ 'HAVE_IBV_MLX5_MOD_MPW', 'infiniband/mlx5dv.h',
- 'MLX5DV_CONTEXT_FLAGS_MPW_ALLOWED' ],
- [ 'HAVE_IBV_MLX5_MOD_CQE_128B_COMP', 'infiniband/mlx5dv.h',
- 'MLX5DV_CONTEXT_FLAGS_CQE_128B_COMP' ],
- [ 'HAVE_IBV_MLX5_MOD_CQE_128B_PAD', 'infiniband/mlx5dv.h',
- 'MLX5DV_CQ_INIT_ATTR_FLAGS_CQE_PAD' ],
- [ 'HAVE_IBV_FLOW_DV_SUPPORT', 'infiniband/mlx5dv.h',
- 'mlx5dv_create_flow_action_packet_reformat' ],
- [ 'HAVE_IBV_DEVICE_MPLS_SUPPORT', 'infiniband/verbs.h',
- 'IBV_FLOW_SPEC_MPLS' ],
- [ 'HAVE_IBV_WQ_FLAGS_PCI_WRITE_END_PADDING', 'infiniband/verbs.h',
- 'IBV_WQ_FLAGS_PCI_WRITE_END_PADDING' ],
- [ 'HAVE_IBV_WQ_FLAG_RX_END_PADDING', 'infiniband/verbs.h',
- 'IBV_WQ_FLAG_RX_END_PADDING' ],
- [ 'HAVE_MLX5DV_DR_DEVX_PORT', 'infiniband/mlx5dv.h',
- 'mlx5dv_query_devx_port' ],
- [ 'HAVE_IBV_DEVX_OBJ', 'infiniband/mlx5dv.h',
- 'mlx5dv_devx_obj_create' ],
- [ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h',
- 'MLX5DV_FLOW_ACTION_COUNTERS_DEVX' ],
- [ 'HAVE_MLX5_DR_CREATE_ACTION_DEFAULT_MISS', 'infiniband/mlx5dv.h',
- 'MLX5DV_FLOW_ACTION_DEFAULT_MISS' ],
- [ 'HAVE_IBV_DEVX_ASYNC', 'infiniband/mlx5dv.h',
- 'mlx5dv_devx_obj_query_async' ],
- [ 'HAVE_IBV_DEVX_QP', 'infiniband/mlx5dv.h',
- 'mlx5dv_devx_qp_query' ],
- [ 'HAVE_MLX5DV_PP_ALLOC', 'infiniband/mlx5dv.h',
- 'mlx5dv_pp_alloc' ],
- [ 'HAVE_MLX5DV_DR_ACTION_DEST_DEVX_TIR', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_dest_devx_tir' ],
- [ 'HAVE_IBV_DEVX_EVENT', 'infiniband/mlx5dv.h',
- 'mlx5dv_devx_get_event' ],
- [ 'HAVE_MLX5_DR_CREATE_ACTION_FLOW_METER', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_flow_meter' ],
- [ 'HAVE_MLX5DV_MMAP_GET_NC_PAGES_CMD', 'infiniband/mlx5dv.h',
- 'MLX5_MMAP_GET_NC_PAGES_CMD' ],
- [ 'HAVE_MLX5DV_DR', 'infiniband/mlx5dv.h',
- 'MLX5DV_DR_DOMAIN_TYPE_NIC_RX' ],
- [ 'HAVE_MLX5DV_DR_ESWITCH', 'infiniband/mlx5dv.h',
- 'MLX5DV_DR_DOMAIN_TYPE_FDB' ],
- [ 'HAVE_MLX5DV_DR_VLAN', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_push_vlan' ],
- [ 'HAVE_IBV_VAR', 'infiniband/mlx5dv.h', 'mlx5dv_alloc_var' ],
- [ 'HAVE_MLX5_OPCODE_ENHANCED_MPSW', 'infiniband/mlx5dv.h',
- 'MLX5_OPCODE_ENHANCED_MPSW' ],
- [ 'HAVE_MLX5_OPCODE_SEND_EN', 'infiniband/mlx5dv.h',
- 'MLX5_OPCODE_SEND_EN' ],
- [ 'HAVE_MLX5_OPCODE_WAIT', 'infiniband/mlx5dv.h',
- 'MLX5_OPCODE_WAIT' ],
+ [ 'HAVE_IBV_RELAXED_ORDERING', 'infiniband/verbs.h',
+ 'IBV_ACCESS_RELAXED_ORDERING ' ],
+ [ 'HAVE_IBV_DEVICE_STRIDING_RQ_SUPPORT', 'infiniband/mlx5dv.h',
+ 'MLX5DV_CQE_RES_FORMAT_CSUM_STRIDX' ],
+ [ 'HAVE_IBV_DEVICE_TUNNEL_SUPPORT', 'infiniband/mlx5dv.h',
+ 'MLX5DV_CONTEXT_MASK_TUNNEL_OFFLOADS' ],
+ [ 'HAVE_IBV_MLX5_MOD_MPW', 'infiniband/mlx5dv.h',
+ 'MLX5DV_CONTEXT_FLAGS_MPW_ALLOWED' ],
+ [ 'HAVE_IBV_MLX5_MOD_CQE_128B_COMP', 'infiniband/mlx5dv.h',
+ 'MLX5DV_CONTEXT_FLAGS_CQE_128B_COMP' ],
+ [ 'HAVE_IBV_MLX5_MOD_CQE_128B_PAD', 'infiniband/mlx5dv.h',
+ 'MLX5DV_CQ_INIT_ATTR_FLAGS_CQE_PAD' ],
+ [ 'HAVE_IBV_FLOW_DV_SUPPORT', 'infiniband/mlx5dv.h',
+ 'mlx5dv_create_flow_action_packet_reformat' ],
+ [ 'HAVE_IBV_DEVICE_MPLS_SUPPORT', 'infiniband/verbs.h',
+ 'IBV_FLOW_SPEC_MPLS' ],
+ [ 'HAVE_IBV_WQ_FLAGS_PCI_WRITE_END_PADDING', 'infiniband/verbs.h',
+ 'IBV_WQ_FLAGS_PCI_WRITE_END_PADDING' ],
+ [ 'HAVE_IBV_WQ_FLAG_RX_END_PADDING', 'infiniband/verbs.h',
+ 'IBV_WQ_FLAG_RX_END_PADDING' ],
+ [ 'HAVE_MLX5DV_DR_DEVX_PORT', 'infiniband/mlx5dv.h',
+ 'mlx5dv_query_devx_port' ],
+ [ 'HAVE_IBV_DEVX_OBJ', 'infiniband/mlx5dv.h',
+ 'mlx5dv_devx_obj_create' ],
+ [ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h',
+ 'MLX5DV_FLOW_ACTION_COUNTERS_DEVX' ],
+ [ 'HAVE_MLX5_DR_CREATE_ACTION_DEFAULT_MISS', 'infiniband/mlx5dv.h',
+ 'MLX5DV_FLOW_ACTION_DEFAULT_MISS' ],
+ [ 'HAVE_IBV_DEVX_ASYNC', 'infiniband/mlx5dv.h',
+ 'mlx5dv_devx_obj_query_async' ],
+ [ 'HAVE_IBV_DEVX_QP', 'infiniband/mlx5dv.h',
+ 'mlx5dv_devx_qp_query' ],
+ [ 'HAVE_MLX5DV_PP_ALLOC', 'infiniband/mlx5dv.h',
+ 'mlx5dv_pp_alloc' ],
+ [ 'HAVE_MLX5DV_DR_ACTION_DEST_DEVX_TIR', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_dest_devx_tir' ],
+ [ 'HAVE_IBV_DEVX_EVENT', 'infiniband/mlx5dv.h',
+ 'mlx5dv_devx_get_event' ],
+ [ 'HAVE_MLX5_DR_CREATE_ACTION_FLOW_METER', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_flow_meter' ],
+ [ 'HAVE_MLX5DV_MMAP_GET_NC_PAGES_CMD', 'infiniband/mlx5dv.h',
+ 'MLX5_MMAP_GET_NC_PAGES_CMD' ],
+ [ 'HAVE_MLX5DV_DR', 'infiniband/mlx5dv.h',
+ 'MLX5DV_DR_DOMAIN_TYPE_NIC_RX' ],
+ [ 'HAVE_MLX5DV_DR_ESWITCH', 'infiniband/mlx5dv.h',
+ 'MLX5DV_DR_DOMAIN_TYPE_FDB' ],
+ [ 'HAVE_MLX5DV_DR_VLAN', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_push_vlan' ],
+ [ 'HAVE_IBV_VAR', 'infiniband/mlx5dv.h', 'mlx5dv_alloc_var' ],
+ [ 'HAVE_MLX5_OPCODE_ENHANCED_MPSW', 'infiniband/mlx5dv.h',
+ 'MLX5_OPCODE_ENHANCED_MPSW' ],
+ [ 'HAVE_MLX5_OPCODE_SEND_EN', 'infiniband/mlx5dv.h',
+ 'MLX5_OPCODE_SEND_EN' ],
+ [ 'HAVE_MLX5_OPCODE_WAIT', 'infiniband/mlx5dv.h',
+ 'MLX5_OPCODE_WAIT' ],
[ 'HAVE_MLX5_OPCODE_ACCESS_ASO', 'infiniband/mlx5dv.h',
'MLX5_OPCODE_ACCESS_ASO' ],
- [ 'HAVE_SUPPORTED_40000baseKR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_40000baseKR4_Full' ],
- [ 'HAVE_SUPPORTED_40000baseCR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_40000baseCR4_Full' ],
- [ 'HAVE_SUPPORTED_40000baseSR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_40000baseSR4_Full' ],
- [ 'HAVE_SUPPORTED_40000baseLR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_40000baseLR4_Full' ],
- [ 'HAVE_SUPPORTED_56000baseKR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_56000baseKR4_Full' ],
- [ 'HAVE_SUPPORTED_56000baseCR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_56000baseCR4_Full' ],
- [ 'HAVE_SUPPORTED_56000baseSR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_56000baseSR4_Full' ],
- [ 'HAVE_SUPPORTED_56000baseLR4_Full', 'linux/ethtool.h',
- 'SUPPORTED_56000baseLR4_Full' ],
- [ 'HAVE_ETHTOOL_LINK_MODE_25G', 'linux/ethtool.h',
- 'ETHTOOL_LINK_MODE_25000baseCR_Full_BIT' ],
- [ 'HAVE_ETHTOOL_LINK_MODE_50G', 'linux/ethtool.h',
- 'ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT' ],
- [ 'HAVE_ETHTOOL_LINK_MODE_100G', 'linux/ethtool.h',
- 'ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT' ],
- [ 'HAVE_IFLA_NUM_VF', 'linux/if_link.h',
- 'IFLA_NUM_VF' ],
- [ 'HAVE_IFLA_EXT_MASK', 'linux/if_link.h',
- 'IFLA_EXT_MASK' ],
- [ 'HAVE_IFLA_PHYS_SWITCH_ID', 'linux/if_link.h',
- 'IFLA_PHYS_SWITCH_ID' ],
- [ 'HAVE_IFLA_PHYS_PORT_NAME', 'linux/if_link.h',
- 'IFLA_PHYS_PORT_NAME' ],
- [ 'HAVE_RDMA_NL_NLDEV', 'rdma/rdma_netlink.h',
- 'RDMA_NL_NLDEV' ],
- [ 'HAVE_RDMA_NLDEV_CMD_GET', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_CMD_GET' ],
- [ 'HAVE_RDMA_NLDEV_CMD_PORT_GET', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_CMD_PORT_GET' ],
- [ 'HAVE_RDMA_NLDEV_ATTR_DEV_INDEX', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_ATTR_DEV_INDEX' ],
- [ 'HAVE_RDMA_NLDEV_ATTR_DEV_NAME', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_ATTR_DEV_NAME' ],
- [ 'HAVE_RDMA_NLDEV_ATTR_PORT_INDEX', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_ATTR_PORT_INDEX' ],
- [ 'HAVE_RDMA_NLDEV_ATTR_NDEV_INDEX', 'rdma/rdma_netlink.h',
- 'RDMA_NLDEV_ATTR_NDEV_INDEX' ],
- [ 'HAVE_MLX5_DR_FLOW_DUMP', 'infiniband/mlx5dv.h',
- 'mlx5dv_dump_dr_domain'],
- [ 'HAVE_MLX5_DR_CREATE_ACTION_FLOW_SAMPLE', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_flow_sampler'],
- [ 'HAVE_MLX5DV_DR_MEM_RECLAIM', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_domain_set_reclaim_device_memory'],
- [ 'HAVE_MLX5_DR_CREATE_ACTION_DEST_ARRAY', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_dest_array'],
- [ 'HAVE_DEVLINK', 'linux/devlink.h', 'DEVLINK_GENL_NAME' ],
- [ 'HAVE_MLX5_DR_CREATE_ACTION_ASO', 'infiniband/mlx5dv.h',
- 'mlx5dv_dr_action_create_aso' ],
- [ 'HAVE_INFINIBAND_VERBS_H', 'infiniband/verbs.h',
- 'INFINIBAND_VERBS_H' ],
+ [ 'HAVE_SUPPORTED_40000baseKR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_40000baseKR4_Full' ],
+ [ 'HAVE_SUPPORTED_40000baseCR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_40000baseCR4_Full' ],
+ [ 'HAVE_SUPPORTED_40000baseSR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_40000baseSR4_Full' ],
+ [ 'HAVE_SUPPORTED_40000baseLR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_40000baseLR4_Full' ],
+ [ 'HAVE_SUPPORTED_56000baseKR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_56000baseKR4_Full' ],
+ [ 'HAVE_SUPPORTED_56000baseCR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_56000baseCR4_Full' ],
+ [ 'HAVE_SUPPORTED_56000baseSR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_56000baseSR4_Full' ],
+ [ 'HAVE_SUPPORTED_56000baseLR4_Full', 'linux/ethtool.h',
+ 'SUPPORTED_56000baseLR4_Full' ],
+ [ 'HAVE_ETHTOOL_LINK_MODE_25G', 'linux/ethtool.h',
+ 'ETHTOOL_LINK_MODE_25000baseCR_Full_BIT' ],
+ [ 'HAVE_ETHTOOL_LINK_MODE_50G', 'linux/ethtool.h',
+ 'ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT' ],
+ [ 'HAVE_ETHTOOL_LINK_MODE_100G', 'linux/ethtool.h',
+ 'ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT' ],
+ [ 'HAVE_IFLA_NUM_VF', 'linux/if_link.h',
+ 'IFLA_NUM_VF' ],
+ [ 'HAVE_IFLA_EXT_MASK', 'linux/if_link.h',
+ 'IFLA_EXT_MASK' ],
+ [ 'HAVE_IFLA_PHYS_SWITCH_ID', 'linux/if_link.h',
+ 'IFLA_PHYS_SWITCH_ID' ],
+ [ 'HAVE_IFLA_PHYS_PORT_NAME', 'linux/if_link.h',
+ 'IFLA_PHYS_PORT_NAME' ],
+ [ 'HAVE_RDMA_NL_NLDEV', 'rdma/rdma_netlink.h',
+ 'RDMA_NL_NLDEV' ],
+ [ 'HAVE_RDMA_NLDEV_CMD_GET', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_CMD_GET' ],
+ [ 'HAVE_RDMA_NLDEV_CMD_PORT_GET', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_CMD_PORT_GET' ],
+ [ 'HAVE_RDMA_NLDEV_ATTR_DEV_INDEX', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_ATTR_DEV_INDEX' ],
+ [ 'HAVE_RDMA_NLDEV_ATTR_DEV_NAME', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_ATTR_DEV_NAME' ],
+ [ 'HAVE_RDMA_NLDEV_ATTR_PORT_INDEX', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_ATTR_PORT_INDEX' ],
+ [ 'HAVE_RDMA_NLDEV_ATTR_NDEV_INDEX', 'rdma/rdma_netlink.h',
+ 'RDMA_NLDEV_ATTR_NDEV_INDEX' ],
+ [ 'HAVE_MLX5_DR_FLOW_DUMP', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dump_dr_domain'],
+ [ 'HAVE_MLX5_DR_CREATE_ACTION_FLOW_SAMPLE', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_flow_sampler'],
+ [ 'HAVE_MLX5DV_DR_MEM_RECLAIM', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_domain_set_reclaim_device_memory'],
+ [ 'HAVE_MLX5_DR_CREATE_ACTION_DEST_ARRAY', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_dest_array'],
+ [ 'HAVE_DEVLINK', 'linux/devlink.h', 'DEVLINK_GENL_NAME' ],
+ [ 'HAVE_MLX5_DR_CREATE_ACTION_ASO', 'infiniband/mlx5dv.h',
+ 'mlx5dv_dr_action_create_aso' ],
+ [ 'HAVE_INFINIBAND_VERBS_H', 'infiniband/verbs.h',
+ 'INFINIBAND_VERBS_H' ],
]
config = configuration_data()
foreach arg:has_sym_args
- config.set(arg[0], cc.has_header_symbol(arg[1], arg[2],
- dependencies: libs))
+ config.set(arg[0], cc.has_header_symbol(arg[1], arg[2],
+ dependencies: libs))
endforeach
foreach arg:has_member_args
- file_prefix = '#include <' + arg[1] + '>'
- config.set(arg[0], cc.has_member(arg[2], arg[3],
- prefix : file_prefix, dependencies: libs))
+ file_prefix = '#include <' + arg[1] + '>'
+ config.set(arg[0], cc.has_member(arg[2], arg[3],
+ prefix : file_prefix, dependencies: libs))
endforeach
configure_file(output : 'mlx5_autoconf.h', configuration : config)
# Build Glue Library
if dlopen_ibverbs
- dlopen_name = 'mlx5_glue'
- dlopen_lib_name = 'rte_common_' + dlopen_name
- dlopen_so_version = LIB_GLUE_VERSION
- dlopen_sources = files('mlx5_glue.c')
- dlopen_install_dir = [ eal_pmd_path + '-glue' ]
- dlopen_includes = [global_inc]
- dlopen_includes += include_directories(
- '../../../../lib/librte_eal/include/generic',
- )
- shared_lib = shared_library(
- dlopen_lib_name,
- dlopen_sources,
- include_directories: dlopen_includes,
- c_args: cflags,
- dependencies: libs,
- link_args: [
- '-Wl,-export-dynamic',
- '-Wl,-h,@0@'.format(LIB_GLUE),
- ],
- soversion: dlopen_so_version,
- install: true,
- install_dir: dlopen_install_dir,
- )
+ dlopen_name = 'mlx5_glue'
+ dlopen_lib_name = 'rte_common_' + dlopen_name
+ dlopen_so_version = LIB_GLUE_VERSION
+ dlopen_sources = files('mlx5_glue.c')
+ dlopen_install_dir = [ eal_pmd_path + '-glue' ]
+ dlopen_includes = [global_inc]
+ dlopen_includes += include_directories(
+ '../../../../lib/librte_eal/include/generic',
+ )
+ shared_lib = shared_library(
+ dlopen_lib_name,
+ dlopen_sources,
+ include_directories: dlopen_includes,
+ c_args: cflags,
+ dependencies: libs,
+ link_args: [
+ '-Wl,-export-dynamic',
+ '-Wl,-h,@0@'.format(LIB_GLUE),
+ ],
+ soversion: dlopen_so_version,
+ install: true,
+ install_dir: dlopen_install_dir,
+ )
endif
diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build
index b2efea4432..f8618a5518 100644
--- a/drivers/common/mlx5/meson.build
+++ b/drivers/common/mlx5/meson.build
@@ -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)
diff --git a/drivers/common/mlx5/windows/meson.build b/drivers/common/mlx5/windows/meson.build
index 16349c34f1..062a4aa3c5 100644
--- a/drivers/common/mlx5/windows/meson.build
+++ b/drivers/common/mlx5/windows/meson.build
@@ -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
diff --git a/drivers/common/mvep/meson.build b/drivers/common/mvep/meson.build
index 7cd968b382..e20407b861 100644
--- a/drivers/common/mvep/meson.build
+++ b/drivers/common/mvep/meson.build
@@ -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
diff --git a/drivers/common/octeontx2/meson.build b/drivers/common/octeontx2/meson.build
index 84fb11524d..8de99b6a34 100644
--- a/drivers/common/octeontx2/meson.build
+++ b/drivers/common/octeontx2/meson.build
@@ -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')
diff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build
index 67f7aca974..c9a6926419 100644
--- a/drivers/common/qat/meson.build
+++ b/drivers/common/qat/meson.build
@@ -9,55 +9,55 @@ qat_compress_path = 'compress/qat'
qat_compress_relpath = '../../' + qat_compress_path
if disabled_drivers.contains(qat_crypto_path)
- qat_crypto = false
- dpdk_drvs_disabled += qat_crypto_path
- set_variable(qat_crypto_path.underscorify() + '_disable_reason',
- 'Explicitly disabled via build config')
+ qat_crypto = false
+ dpdk_drvs_disabled += qat_crypto_path
+ set_variable(qat_crypto_path.underscorify() + '_disable_reason',
+ 'Explicitly disabled via build config')
endif
if disabled_drivers.contains(qat_compress_path)
- qat_compress = false
- dpdk_drvs_disabled += qat_compress_path
- set_variable(qat_compress_path.underscorify() + '_disable_reason',
- 'Explicitly disabled via build config')
+ qat_compress = false
+ dpdk_drvs_disabled += qat_compress_path
+ set_variable(qat_compress_path.underscorify() + '_disable_reason',
+ 'Explicitly disabled via build config')
endif
libcrypto = dependency('libcrypto', required: false, method: 'pkg-config')
if qat_crypto and not libcrypto.found()
- qat_crypto = false
- dpdk_drvs_disabled += qat_crypto_path
- set_variable(qat_crypto_path.underscorify() + '_disable_reason',
- 'missing dependency, libcrypto')
+ qat_crypto = false
+ dpdk_drvs_disabled += qat_crypto_path
+ set_variable(qat_crypto_path.underscorify() + '_disable_reason',
+ 'missing dependency, libcrypto')
endif
# The driver should not build if both compression and crypto are disabled
#FIXME common code depends on compression files so check only compress!
if not qat_compress # and not qat_crypto
- build = false
- reason = '' # rely on reason for compress/crypto above
- subdir_done()
+ build = false
+ reason = '' # rely on reason for compress/crypto above
+ subdir_done()
endif
deps += ['bus_pci', 'cryptodev', 'net', 'compressdev']
sources += files('qat_common.c',
- 'qat_qp.c',
- 'qat_device.c',
- 'qat_logs.c')
+ 'qat_qp.c',
+ 'qat_device.c',
+ 'qat_logs.c')
includes += include_directories('qat_adf',
- qat_crypto_relpath,
- qat_compress_relpath)
+ qat_crypto_relpath,
+ qat_compress_relpath)
if qat_compress
- foreach f: ['qat_comp_pmd.c', 'qat_comp.c']
- sources += files(join_paths(qat_compress_relpath, f))
- endforeach
+ foreach f: ['qat_comp_pmd.c', 'qat_comp.c']
+ sources += files(join_paths(qat_compress_relpath, f))
+ endforeach
endif
if qat_crypto
- foreach f: ['qat_sym_pmd.c', 'qat_sym.c', 'qat_sym_session.c',
- 'qat_sym_hw_dp.c', 'qat_asym_pmd.c', 'qat_asym.c']
- sources += files(join_paths(qat_crypto_relpath, f))
- endforeach
- deps += ['security']
- ext_deps += libcrypto
- cflags += ['-DBUILD_QAT_SYM', '-DBUILD_QAT_ASYM']
+ foreach f: ['qat_sym_pmd.c', 'qat_sym.c', 'qat_sym_session.c',
+ 'qat_sym_hw_dp.c', 'qat_asym_pmd.c', 'qat_asym.c']
+ sources += files(join_paths(qat_crypto_relpath, f))
+ endforeach
+ deps += ['security']
+ ext_deps += libcrypto
+ cflags += ['-DBUILD_QAT_SYM', '-DBUILD_QAT_ASYM']
endif
diff --git a/drivers/common/sfc_efx/base/meson.build b/drivers/common/sfc_efx/base/meson.build
index 1a39418c65..f523204582 100644
--- a/drivers/common/sfc_efx/base/meson.build
+++ b/drivers/common/sfc_efx/base/meson.build
@@ -6,87 +6,87 @@
# for Solarflare) and Solarflare Communications, Inc.
sources = [
- 'efx_bootcfg.c',
- 'efx_crc32.c',
- 'efx_ev.c',
- 'efx_evb.c',
- 'efx_filter.c',
- 'efx_hash.c',
- 'efx_intr.c',
- 'efx_lic.c',
- 'efx_mac.c',
- 'efx_mae.c',
- 'efx_mcdi.c',
- 'efx_mon.c',
- 'efx_nic.c',
- 'efx_nvram.c',
- 'efx_pci.c',
- 'efx_phy.c',
- 'efx_port.c',
- 'efx_proxy.c',
- 'efx_rx.c',
- 'efx_sram.c',
- 'efx_tunnel.c',
- 'efx_tx.c',
- 'efx_vpd.c',
- 'efx_virtio.c',
- 'mcdi_mon.c',
- 'siena_mac.c',
- 'siena_mcdi.c',
- 'siena_nic.c',
- 'siena_nvram.c',
- 'siena_phy.c',
- 'siena_sram.c',
- 'siena_vpd.c',
- 'ef10_ev.c',
- 'ef10_evb.c',
- 'ef10_filter.c',
- 'ef10_image.c',
- 'ef10_intr.c',
- 'ef10_mac.c',
- 'ef10_mcdi.c',
- 'ef10_nic.c',
- 'ef10_nvram.c',
- 'ef10_phy.c',
- 'ef10_proxy.c',
- 'ef10_rx.c',
- 'ef10_tx.c',
- 'ef10_vpd.c',
- 'hunt_nic.c',
- 'medford_nic.c',
- 'medford2_nic.c',
- 'rhead_ev.c',
- 'rhead_intr.c',
- 'rhead_nic.c',
- 'rhead_pci.c',
- 'rhead_rx.c',
- 'rhead_tunnel.c',
- 'rhead_tx.c',
- 'rhead_virtio.c',
+ 'efx_bootcfg.c',
+ 'efx_crc32.c',
+ 'efx_ev.c',
+ 'efx_evb.c',
+ 'efx_filter.c',
+ 'efx_hash.c',
+ 'efx_intr.c',
+ 'efx_lic.c',
+ 'efx_mac.c',
+ 'efx_mae.c',
+ 'efx_mcdi.c',
+ 'efx_mon.c',
+ 'efx_nic.c',
+ 'efx_nvram.c',
+ 'efx_pci.c',
+ 'efx_phy.c',
+ 'efx_port.c',
+ 'efx_proxy.c',
+ 'efx_rx.c',
+ 'efx_sram.c',
+ 'efx_tunnel.c',
+ 'efx_tx.c',
+ 'efx_vpd.c',
+ 'efx_virtio.c',
+ 'mcdi_mon.c',
+ 'siena_mac.c',
+ 'siena_mcdi.c',
+ 'siena_nic.c',
+ 'siena_nvram.c',
+ 'siena_phy.c',
+ 'siena_sram.c',
+ 'siena_vpd.c',
+ 'ef10_ev.c',
+ 'ef10_evb.c',
+ 'ef10_filter.c',
+ 'ef10_image.c',
+ 'ef10_intr.c',
+ 'ef10_mac.c',
+ 'ef10_mcdi.c',
+ 'ef10_nic.c',
+ 'ef10_nvram.c',
+ 'ef10_phy.c',
+ 'ef10_proxy.c',
+ 'ef10_rx.c',
+ 'ef10_tx.c',
+ 'ef10_vpd.c',
+ 'hunt_nic.c',
+ 'medford_nic.c',
+ 'medford2_nic.c',
+ 'rhead_ev.c',
+ 'rhead_intr.c',
+ 'rhead_nic.c',
+ 'rhead_pci.c',
+ 'rhead_rx.c',
+ 'rhead_tunnel.c',
+ 'rhead_tx.c',
+ 'rhead_virtio.c',
]
extra_flags = [
- '-Wno-sign-compare',
- '-Wno-unused-parameter',
- '-Wno-unused-variable',
- '-Wno-empty-body',
- '-Wno-unused-but-set-variable'
+ '-Wno-sign-compare',
+ '-Wno-unused-parameter',
+ '-Wno-unused-variable',
+ '-Wno-empty-body',
+ '-Wno-unused-but-set-variable'
]
c_args = cflags
foreach flag: extra_flags
- if cc.has_argument(flag)
- c_args += flag
- endif
+ if cc.has_argument(flag)
+ c_args += flag
+ endif
endforeach
if build
- base_lib = static_library('sfc_base', sources,
- include_directories: includes,
- dependencies: static_rte_eal,
- c_args: c_args)
+ base_lib = static_library('sfc_base', sources,
+ include_directories: includes,
+ dependencies: static_rte_eal,
+ c_args: c_args)
- base_objs = base_lib.extract_all_objects()
+ base_objs = base_lib.extract_all_objects()
else
- base_objs = []
+ base_objs = []
endif
diff --git a/drivers/common/sfc_efx/meson.build b/drivers/common/sfc_efx/meson.build
index 1ca9510733..e8bc1bc020 100644
--- a/drivers/common/sfc_efx/meson.build
+++ b/drivers/common/sfc_efx/meson.build
@@ -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')
diff --git a/drivers/compress/isal/meson.build b/drivers/compress/isal/meson.build
index d847c2ea6f..4b3eaa2274 100644
--- a/drivers/compress/isal/meson.build
+++ b/drivers/compress/isal/meson.build
@@ -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'
diff --git a/drivers/compress/mlx5/meson.build b/drivers/compress/mlx5/meson.build
index 2a6dc3f7ca..f3b890f368 100644
--- a/drivers/compress/mlx5/meson.build
+++ b/drivers/compress/mlx5/meson.build
@@ -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
diff --git a/drivers/compress/zlib/meson.build b/drivers/compress/zlib/meson.build
index 82cf0dddd6..f8937cad3e 100644
--- a/drivers/compress/zlib/meson.build
+++ b/drivers/compress/zlib/meson.build
@@ -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'
diff --git a/drivers/crypto/aesni_gcm/meson.build b/drivers/crypto/aesni_gcm/meson.build
index ea83e87740..0fcac2a8eb 100644
--- a/drivers/crypto/aesni_gcm/meson.build
+++ b/drivers/crypto/aesni_gcm/meson.build
@@ -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')
diff --git a/drivers/crypto/aesni_mb/meson.build b/drivers/crypto/aesni_mb/meson.build
index 419b4743f5..ed6b9f53e4 100644
--- a/drivers/crypto/aesni_mb/meson.build
+++ b/drivers/crypto/aesni_mb/meson.build
@@ -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
diff --git a/drivers/crypto/armv8/meson.build b/drivers/crypto/armv8/meson.build
index 027173bc1e..40a4dbb7bb 100644
--- a/drivers/crypto/armv8/meson.build
+++ b/drivers/crypto/armv8/meson.build
@@ -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
diff --git a/drivers/crypto/bcmfs/meson.build b/drivers/crypto/bcmfs/meson.build
index 7aa0f05dbd..7801ab3480 100644
--- a/drivers/crypto/bcmfs/meson.build
+++ b/drivers/crypto/bcmfs/meson.build
@@ -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'
+ )
diff --git a/drivers/crypto/caam_jr/meson.build b/drivers/crypto/caam_jr/meson.build
index 68e6b1d44c..b28d5c66af 100644
--- a/drivers/crypto/caam_jr/meson.build
+++ b/drivers/crypto/caam_jr/meson.build
@@ -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/')
diff --git a/drivers/crypto/ccp/meson.build b/drivers/crypto/ccp/meson.build
index ff66427ae8..2d203fe729 100644
--- a/drivers/crypto/ccp/meson.build
+++ b/drivers/crypto/ccp/meson.build
@@ -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
diff --git a/drivers/crypto/dpaa2_sec/meson.build b/drivers/crypto/dpaa2_sec/meson.build
index 69c7264e5a..b007f06ba7 100644
--- a/drivers/crypto/dpaa2_sec/meson.build
+++ b/drivers/crypto/dpaa2_sec/meson.build
@@ -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')
diff --git a/drivers/crypto/dpaa_sec/meson.build b/drivers/crypto/dpaa_sec/meson.build
index c391a26711..44fd60e5ae 100644
--- a/drivers/crypto/dpaa_sec/meson.build
+++ b/drivers/crypto/dpaa_sec/meson.build
@@ -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']
diff --git a/drivers/crypto/kasumi/meson.build b/drivers/crypto/kasumi/meson.build
index 7560fb7cfa..e6e0f08c3d 100644
--- a/drivers/crypto/kasumi/meson.build
+++ b/drivers/crypto/kasumi/meson.build
@@ -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
diff --git a/drivers/crypto/mvsam/meson.build b/drivers/crypto/mvsam/meson.build
index b4c55b5ff5..c0c828fbf8 100644
--- a/drivers/crypto/mvsam/meson.build
+++ b/drivers/crypto/mvsam/meson.build
@@ -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
diff --git a/drivers/crypto/nitrox/meson.build b/drivers/crypto/nitrox/meson.build
index 9c0e89c2c3..cef8379ba5 100644
--- a/drivers/crypto/nitrox/meson.build
+++ b/drivers/crypto/nitrox/meson.build
@@ -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'
+ )
diff --git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build
index a353d37a10..f08801929d 100644
--- a/drivers/crypto/octeontx/meson.build
+++ b/drivers/crypto/octeontx/meson.build
@@ -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')
diff --git a/drivers/crypto/octeontx2/meson.build b/drivers/crypto/octeontx2/meson.build
index 283818e5da..00b00df567 100644
--- a/drivers/crypto/octeontx2/meson.build
+++ b/drivers/crypto/octeontx2/meson.build
@@ -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')
diff --git a/drivers/crypto/openssl/meson.build b/drivers/crypto/openssl/meson.build
index 47fb2bb751..b21fca0be3 100644
--- a/drivers/crypto/openssl/meson.build
+++ b/drivers/crypto/openssl/meson.build
@@ -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')
diff --git a/drivers/crypto/qat/meson.build b/drivers/crypto/qat/meson.build
index 92e0ed6565..523a901664 100644
--- a/drivers/crypto/qat/meson.build
+++ b/drivers/crypto/qat/meson.build
@@ -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
diff --git a/drivers/crypto/scheduler/meson.build b/drivers/crypto/scheduler/meson.build
index b67d9306e0..202577c085 100644
--- a/drivers/crypto/scheduler/meson.build
+++ b/drivers/crypto/scheduler/meson.build
@@ -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',
)
diff --git a/drivers/crypto/snow3g/meson.build b/drivers/crypto/snow3g/meson.build
index c1c5fd37f7..0c087baa2a 100644
--- a/drivers/crypto/snow3g/meson.build
+++ b/drivers/crypto/snow3g/meson.build
@@ -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
diff --git a/drivers/crypto/virtio/meson.build b/drivers/crypto/virtio/meson.build
index 20e9e9551e..950f411327 100644
--- a/drivers/crypto/virtio/meson.build
+++ b/drivers/crypto/virtio/meson.build
@@ -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')
diff --git a/drivers/crypto/zuc/meson.build b/drivers/crypto/zuc/meson.build
index c3454d799e..a5f77a22d8 100644
--- a/drivers/crypto/zuc/meson.build
+++ b/drivers/crypto/zuc/meson.build
@@ -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
diff --git a/drivers/event/dlb/meson.build b/drivers/event/dlb/meson.build
index bc158d2e0a..0ef923aced 100644
--- a/drivers/event/dlb/meson.build
+++ b/drivers/event/dlb/meson.build
@@ -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')
diff --git a/drivers/event/dlb2/meson.build b/drivers/event/dlb2/meson.build
index f22638b8e4..5f2d7ccc8b 100644
--- a/drivers/event/dlb2/meson.build
+++ b/drivers/event/dlb2/meson.build
@@ -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')
diff --git a/drivers/event/dpaa/meson.build b/drivers/event/dpaa/meson.build
index 85105a210b..4d7d0021ad 100644
--- a/drivers/event/dpaa/meson.build
+++ b/drivers/event/dpaa/meson.build
@@ -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')
diff --git a/drivers/event/dpaa2/meson.build b/drivers/event/dpaa2/meson.build
index 21aff6276a..3553057788 100644
--- a/drivers/event/dpaa2/meson.build
+++ b/drivers/event/dpaa2/meson.build
@@ -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/')
diff --git a/drivers/event/dsw/meson.build b/drivers/event/dsw/meson.build
index 60ab13d906..2df0fac4ff 100644
--- a/drivers/event/dsw/meson.build
+++ b/drivers/event/dsw/meson.build
@@ -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')
diff --git a/drivers/event/octeontx/meson.build b/drivers/event/octeontx/meson.build
index 41e367684c..c088554199 100644
--- a/drivers/event/octeontx/meson.build
+++ b/drivers/event/octeontx/meson.build
@@ -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']
diff --git a/drivers/event/octeontx2/meson.build b/drivers/event/octeontx2/meson.build
index 22e7e4cb63..f6f9e028ee 100644
--- a/drivers/event/octeontx2/meson.build
+++ b/drivers/event/octeontx2/meson.build
@@ -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']
diff --git a/drivers/event/opdl/meson.build b/drivers/event/opdl/meson.build
index cc6029c6f0..e3ec3aaf71 100644
--- a/drivers/event/opdl/meson.build
+++ b/drivers/event/opdl/meson.build
@@ -2,10 +2,10 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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']
diff --git a/drivers/event/sw/meson.build b/drivers/event/sw/meson.build
index 985012219b..db403b1b8f 100644
--- a/drivers/event/sw/meson.build
+++ b/drivers/event/sw/meson.build
@@ -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']
diff --git a/drivers/mempool/bucket/meson.build b/drivers/mempool/bucket/meson.build
index 61de2dc9b9..0051b6ac3c 100644
--- a/drivers/mempool/bucket/meson.build
+++ b/drivers/mempool/bucket/meson.build
@@ -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')
diff --git a/drivers/mempool/dpaa/meson.build b/drivers/mempool/dpaa/meson.build
index 09f5295d95..c4e9994b83 100644
--- a/drivers/mempool/dpaa/meson.build
+++ b/drivers/mempool/dpaa/meson.build
@@ -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']
diff --git a/drivers/mempool/dpaa2/meson.build b/drivers/mempool/dpaa2/meson.build
index 17ad0a8ea7..3d16d44158 100644
--- a/drivers/mempool/dpaa2/meson.build
+++ b/drivers/mempool/dpaa2/meson.build
@@ -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']
diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build
index b5695a9329..2b8879d0c9 100644
--- a/drivers/mempool/octeontx/meson.build
+++ b/drivers/mempool/octeontx/meson.build
@@ -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']
diff --git a/drivers/mempool/octeontx2/meson.build b/drivers/mempool/octeontx2/meson.build
index 0586321abe..8a89288251 100644
--- a/drivers/mempool/octeontx2/meson.build
+++ b/drivers/mempool/octeontx2/meson.build
@@ -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']
diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build
index 8425772a42..371cf131b1 100644
--- a/drivers/mempool/stack/meson.build
+++ b/drivers/mempool/stack/meson.build
@@ -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')
diff --git a/drivers/net/af_packet/meson.build b/drivers/net/af_packet/meson.build
index 50a2f05d34..c014e9b61b 100644
--- a/drivers/net/af_packet/meson.build
+++ b/drivers/net/af_packet/meson.build
@@ -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')
diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build
index 60ccffabb9..3ed2b29784 100644
--- a/drivers/net/af_xdp/meson.build
+++ b/drivers/net/af_xdp/meson.build
@@ -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
diff --git a/drivers/net/ark/meson.build b/drivers/net/ark/meson.build
index aea3ba493d..821e60ce23 100644
--- a/drivers/net/ark/meson.build
+++ b/drivers/net/ark/meson.build
@@ -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')
diff --git a/drivers/net/atlantic/meson.build b/drivers/net/atlantic/meson.build
index 01373f868d..f26e09ab81 100644
--- a/drivers/net/atlantic/meson.build
+++ b/drivers/net/atlantic/meson.build
@@ -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',
)
diff --git a/drivers/net/avp/meson.build b/drivers/net/avp/meson.build
index 61c8d5b9f0..ea9dd1f20e 100644
--- a/drivers/net/avp/meson.build
+++ b/drivers/net/avp/meson.build
@@ -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')
diff --git a/drivers/net/axgbe/meson.build b/drivers/net/axgbe/meson.build
index 198e198767..cd2c747b13 100644
--- a/drivers/net/axgbe/meson.build
+++ b/drivers/net/axgbe/meson.build
@@ -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
diff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.build
index e260b75926..4714ec4935 100644
--- a/drivers/net/bnx2x/meson.build
+++ b/drivers/net/bnx2x/meson.build
@@ -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')
diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build
index 092655697f..0448e12bc3 100644
--- a/drivers/net/bnxt/meson.build
+++ b/drivers/net/bnxt/meson.build
@@ -3,9 +3,9 @@
# Copyright(c) 2020 Broadcom
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_bnxt.h')
@@ -14,72 +14,72 @@ includes += include_directories('tf_ulp')
includes += include_directories('tf_core')
sources = files('bnxt_cpr.c',
- 'bnxt_ethdev.c',
- 'bnxt_filter.c',
- 'bnxt_flow.c',
- 'bnxt_hwrm.c',
- 'bnxt_irq.c',
- 'bnxt_ring.c',
- 'bnxt_rxq.c',
- 'bnxt_rxr.c',
- 'bnxt_stats.c',
- 'bnxt_txq.c',
- 'bnxt_txr.c',
- 'bnxt_util.c',
- 'bnxt_vnic.c',
- 'bnxt_reps.c',
+ 'bnxt_ethdev.c',
+ 'bnxt_filter.c',
+ 'bnxt_flow.c',
+ 'bnxt_hwrm.c',
+ 'bnxt_irq.c',
+ 'bnxt_ring.c',
+ 'bnxt_rxq.c',
+ 'bnxt_rxr.c',
+ 'bnxt_stats.c',
+ 'bnxt_txq.c',
+ 'bnxt_txr.c',
+ 'bnxt_util.c',
+ 'bnxt_vnic.c',
+ 'bnxt_reps.c',
- 'tf_core/tf_core.c',
- 'tf_core/bitalloc.c',
- 'tf_core/tf_msg.c',
- 'tf_core/rand.c',
- 'tf_core/stack.c',
+ 'tf_core/tf_core.c',
+ 'tf_core/bitalloc.c',
+ 'tf_core/tf_msg.c',
+ 'tf_core/rand.c',
+ 'tf_core/stack.c',
'tf_core/tf_em_common.c',
'tf_core/tf_em_internal.c',
- 'tf_core/tf_rm.c',
- 'tf_core/tf_tbl.c',
- 'tf_core/tfp.c',
- 'tf_core/tf_session.c',
- 'tf_core/tf_device.c',
- 'tf_core/tf_device_p4.c',
- 'tf_core/tf_identifier.c',
- 'tf_core/tf_shadow_tbl.c',
- 'tf_core/tf_shadow_tcam.c',
- 'tf_core/tf_tcam.c',
- 'tf_core/tf_util.c',
- 'tf_core/tf_if_tbl.c',
- 'tf_core/ll.c',
- 'tf_core/tf_global_cfg.c',
- 'tf_core/tf_em_host.c',
- 'tf_core/tf_shadow_identifier.c',
- 'tf_core/tf_hash.c',
+ 'tf_core/tf_rm.c',
+ 'tf_core/tf_tbl.c',
+ 'tf_core/tfp.c',
+ 'tf_core/tf_session.c',
+ 'tf_core/tf_device.c',
+ 'tf_core/tf_device_p4.c',
+ 'tf_core/tf_identifier.c',
+ 'tf_core/tf_shadow_tbl.c',
+ 'tf_core/tf_shadow_tcam.c',
+ 'tf_core/tf_tcam.c',
+ 'tf_core/tf_util.c',
+ 'tf_core/tf_if_tbl.c',
+ 'tf_core/ll.c',
+ 'tf_core/tf_global_cfg.c',
+ 'tf_core/tf_em_host.c',
+ 'tf_core/tf_shadow_identifier.c',
+ 'tf_core/tf_hash.c',
- 'hcapi/hcapi_cfa_p4.c',
+ 'hcapi/hcapi_cfa_p4.c',
- 'tf_ulp/bnxt_ulp.c',
- 'tf_ulp/ulp_mark_mgr.c',
- 'tf_ulp/ulp_flow_db.c',
- 'tf_ulp/ulp_template_db_tbl.c',
- 'tf_ulp/ulp_template_db_class.c',
- 'tf_ulp/ulp_template_db_act.c',
- 'tf_ulp/ulp_utils.c',
- 'tf_ulp/ulp_mapper.c',
- 'tf_ulp/ulp_matcher.c',
- 'tf_ulp/ulp_rte_parser.c',
- 'tf_ulp/bnxt_ulp_flow.c',
- 'tf_ulp/ulp_port_db.c',
- 'tf_ulp/ulp_def_rules.c',
- 'tf_ulp/ulp_fc_mgr.c',
- 'tf_ulp/ulp_tun.c',
- 'tf_ulp/ulp_template_db_wh_plus_act.c',
- 'tf_ulp/ulp_template_db_wh_plus_class.c',
- 'tf_ulp/ulp_template_db_stingray_act.c',
- 'tf_ulp/ulp_template_db_stingray_class.c',
+ 'tf_ulp/bnxt_ulp.c',
+ 'tf_ulp/ulp_mark_mgr.c',
+ 'tf_ulp/ulp_flow_db.c',
+ 'tf_ulp/ulp_template_db_tbl.c',
+ 'tf_ulp/ulp_template_db_class.c',
+ 'tf_ulp/ulp_template_db_act.c',
+ 'tf_ulp/ulp_utils.c',
+ 'tf_ulp/ulp_mapper.c',
+ 'tf_ulp/ulp_matcher.c',
+ 'tf_ulp/ulp_rte_parser.c',
+ 'tf_ulp/bnxt_ulp_flow.c',
+ 'tf_ulp/ulp_port_db.c',
+ 'tf_ulp/ulp_def_rules.c',
+ 'tf_ulp/ulp_fc_mgr.c',
+ 'tf_ulp/ulp_tun.c',
+ 'tf_ulp/ulp_template_db_wh_plus_act.c',
+ 'tf_ulp/ulp_template_db_wh_plus_class.c',
+ 'tf_ulp/ulp_template_db_stingray_act.c',
+ 'tf_ulp/ulp_template_db_stingray_class.c',
- 'rte_pmd_bnxt.c')
+ 'rte_pmd_bnxt.c')
if arch_subdir == 'x86'
- sources += files('bnxt_rxtx_vec_sse.c')
+ sources += files('bnxt_rxtx_vec_sse.c')
elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
- sources += files('bnxt_rxtx_vec_neon.c')
+ sources += files('bnxt_rxtx_vec_neon.c')
endif
diff --git a/drivers/net/bonding/meson.build b/drivers/net/bonding/meson.build
index 4682903a6f..67d7ab9d91 100644
--- a/drivers/net/bonding/meson.build
+++ b/drivers/net/bonding/meson.build
@@ -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']
diff --git a/drivers/net/cxgbe/meson.build b/drivers/net/cxgbe/meson.build
index 52896ea85c..5f6f7451a5 100644
--- a/drivers/net/cxgbe/meson.build
+++ b/drivers/net/cxgbe/meson.build
@@ -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')
diff --git a/drivers/net/dpaa/meson.build b/drivers/net/dpaa/meson.build
index 0f72730b03..62989b24af 100644
--- a/drivers/net/dpaa/meson.build
+++ b/drivers/net/dpaa/meson.build
@@ -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')
diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build
index f5f411d592..84319d2dbb 100644
--- a/drivers/net/dpaa2/meson.build
+++ b/drivers/net/dpaa2/meson.build
@@ -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')
diff --git a/drivers/net/e1000/base/meson.build b/drivers/net/e1000/base/meson.build
index d13f693d3e..4d3a65fd7c 100644
--- a/drivers/net/e1000/base/meson.build
+++ b/drivers/net/e1000/base/meson.build
@@ -2,37 +2,37 @@
# Copyright(c) 2017 Intel Corporation
sources = [
- 'e1000_base.c',
- 'e1000_80003es2lan.c',
- 'e1000_82540.c',
- 'e1000_82541.c',
- 'e1000_82542.c',
- 'e1000_82543.c',
- 'e1000_82571.c',
- 'e1000_82575.c',
- 'e1000_api.c',
- 'e1000_i210.c',
- 'e1000_ich8lan.c',
- 'e1000_mac.c',
- 'e1000_manage.c',
- 'e1000_mbx.c',
- 'e1000_nvm.c',
- 'e1000_osdep.c',
- 'e1000_phy.c',
- 'e1000_vf.c'
+ 'e1000_base.c',
+ 'e1000_80003es2lan.c',
+ 'e1000_82540.c',
+ 'e1000_82541.c',
+ 'e1000_82542.c',
+ 'e1000_82543.c',
+ 'e1000_82571.c',
+ 'e1000_82575.c',
+ 'e1000_api.c',
+ 'e1000_i210.c',
+ 'e1000_ich8lan.c',
+ 'e1000_mac.c',
+ 'e1000_manage.c',
+ 'e1000_mbx.c',
+ 'e1000_nvm.c',
+ 'e1000_osdep.c',
+ 'e1000_phy.c',
+ 'e1000_vf.c'
]
error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter',
- '-Wno-unused-variable', '-Wno-misleading-indentation',
- '-Wno-implicit-fallthrough']
+ '-Wno-unused-variable', '-Wno-misleading-indentation',
+ '-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('e1000_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()
diff --git a/drivers/net/e1000/meson.build b/drivers/net/e1000/meson.build
index 43ad52cbc0..e2305c21a5 100644
--- a/drivers/net/e1000/meson.build
+++ b/drivers/net/e1000/meson.build
@@ -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')
diff --git a/drivers/net/ena/meson.build b/drivers/net/ena/meson.build
index 772fbfc88e..d57b506a67 100644
--- a/drivers/net/ena/meson.build
+++ b/drivers/net/ena/meson.build
@@ -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']
diff --git a/drivers/net/enetc/meson.build b/drivers/net/enetc/meson.build
index 850307c04e..1cfe6a089a 100644
--- a/drivers/net/enetc/meson.build
+++ b/drivers/net/enetc/meson.build
@@ -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')
diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build
index 94fcc79c69..de520ff6f6 100644
--- a/drivers/net/enic/meson.build
+++ b/drivers/net/enic/meson.build
@@ -2,40 +2,40 @@
# Copyright(c) 2018 Cisco Systems, Inc.
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
sources = files(
- 'base/vnic_cq.c',
- 'base/vnic_dev.c',
- 'base/vnic_intr.c',
- 'base/vnic_rq.c',
- 'base/vnic_wq.c',
- 'enic_ethdev.c',
- 'enic_flow.c',
- 'enic_fm_flow.c',
- 'enic_main.c',
- 'enic_res.c',
- 'enic_rxtx.c',
- 'enic_vf_representor.c',
- )
+ 'base/vnic_cq.c',
+ 'base/vnic_dev.c',
+ 'base/vnic_intr.c',
+ 'base/vnic_rq.c',
+ 'base/vnic_wq.c',
+ 'enic_ethdev.c',
+ 'enic_flow.c',
+ 'enic_fm_flow.c',
+ 'enic_main.c',
+ 'enic_res.c',
+ 'enic_rxtx.c',
+ 'enic_vf_representor.c',
+ )
deps += ['hash']
includes += include_directories('base')
# The current implementation assumes 64-bit pointers
if cc.get_define('__AVX2__', args: machine_args) != '' and dpdk_conf.get('RTE_ARCH_64')
- sources += files('enic_rxtx_vec_avx2.c')
+ sources += files('enic_rxtx_vec_avx2.c')
# Build the avx2 handler if the compiler supports it, even though 'machine'
# does not. This is to support users who build for the min supported machine
# and need to run the binary on newer CPUs too.
# This part is from i40e meson.build
elif cc.has_argument('-mavx2') and dpdk_conf.get('RTE_ARCH_64')
- enic_avx2_lib = static_library('enic_avx2_lib',
- 'enic_rxtx_vec_avx2.c',
- dependencies: [static_rte_ethdev, static_rte_bus_pci],
- include_directories: includes,
- c_args: [cflags, '-mavx2'])
- objs += enic_avx2_lib.extract_objects('enic_rxtx_vec_avx2.c')
+ enic_avx2_lib = static_library('enic_avx2_lib',
+ 'enic_rxtx_vec_avx2.c',
+ dependencies: [static_rte_ethdev, static_rte_bus_pci],
+ include_directories: includes,
+ c_args: [cflags, '-mavx2'])
+ objs += enic_avx2_lib.extract_objects('enic_rxtx_vec_avx2.c')
endif
diff --git a/drivers/net/failsafe/meson.build b/drivers/net/failsafe/meson.build
index d8343be63c..5f6967bd8e 100644
--- a/drivers/net/failsafe/meson.build
+++ b/drivers/net/failsafe/meson.build
@@ -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')
diff --git a/drivers/net/fm10k/base/meson.build b/drivers/net/fm10k/base/meson.build
index 6ac11b2012..c6536558a9 100644
--- a/drivers/net/fm10k/base/meson.build
+++ b/drivers/net/fm10k/base/meson.build
@@ -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()
diff --git a/drivers/net/fm10k/meson.build b/drivers/net/fm10k/meson.build
index 299b9ffb58..2397b68a4b 100644
--- a/drivers/net/fm10k/meson.build
+++ b/drivers/net/fm10k/meson.build
@@ -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')
diff --git a/drivers/net/hinic/base/meson.build b/drivers/net/hinic/base/meson.build
index 6cf947f841..6b23d31574 100644
--- a/drivers/net/hinic/base/meson.build
+++ b/drivers/net/hinic/base/meson.build
@@ -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()
diff --git a/drivers/net/hinic/meson.build b/drivers/net/hinic/meson.build
index 61ea3954ca..8eac1542e9 100644
--- a/drivers/net/hinic/meson.build
+++ b/drivers/net/hinic/meson.build
@@ -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')
diff --git a/drivers/net/hns3/meson.build b/drivers/net/hns3/meson.build
index f6aac69a1a..6dc35fd7f1 100644
--- a/drivers/net/hns3/meson.build
+++ b/drivers/net/hns3/meson.build
@@ -2,37 +2,37 @@
# Copyright(c) 2018-2019 Hisilicon Limited
if not is_linux
- build = false
- reason = 'only supported on Linux'
- subdir_done()
+ build = false
+ reason = 'only supported on Linux'
+ subdir_done()
endif
if arch_subdir != 'x86' and arch_subdir != 'arm' or not dpdk_conf.get('RTE_ARCH_64')
- build = false
- reason = 'only supported on x86_64 and aarch64'
- subdir_done()
+ build = false
+ reason = 'only supported on x86_64 and aarch64'
+ subdir_done()
endif
sources = files('hns3_cmd.c',
- 'hns3_dcb.c',
- 'hns3_intr.c',
- 'hns3_ethdev.c',
- 'hns3_ethdev_vf.c',
- 'hns3_fdir.c',
- 'hns3_flow.c',
- 'hns3_mbx.c',
- 'hns3_regs.c',
- 'hns3_rss.c',
- 'hns3_rxtx.c',
- 'hns3_stats.c',
- 'hns3_mp.c',
- 'hns3_tm.c')
+ 'hns3_dcb.c',
+ 'hns3_intr.c',
+ 'hns3_ethdev.c',
+ 'hns3_ethdev_vf.c',
+ 'hns3_fdir.c',
+ 'hns3_flow.c',
+ 'hns3_mbx.c',
+ 'hns3_regs.c',
+ 'hns3_rss.c',
+ 'hns3_rxtx.c',
+ 'hns3_stats.c',
+ 'hns3_mp.c',
+ 'hns3_tm.c')
deps += ['hash']
if arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64')
- sources += files('hns3_rxtx_vec.c')
- if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) != ''
- sources += files('hns3_rxtx_vec_sve.c')
- endif
+ sources += files('hns3_rxtx_vec.c')
+ if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) != ''
+ sources += files('hns3_rxtx_vec_sve.c')
+ endif
endif
diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build
index 8bc6a0fa0b..4ee3b26e44 100644
--- a/drivers/net/i40e/base/meson.build
+++ b/drivers/net/i40e/base/meson.build
@@ -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()
diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index ce3cc658e9..187bfc1041 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/meson.build
@@ -2,76 +2,76 @@
# Copyright(c) 2017 Intel Corporation
cflags += ['-DPF_DRIVER',
- '-DVF_DRIVER',
- '-DINTEGRATED_VF',
- '-DX722_A0_SUPPORT']
+ '-DVF_DRIVER',
+ '-DINTEGRATED_VF',
+ '-DX722_A0_SUPPORT']
subdir('base')
objs = [base_objs]
sources = files(
- 'i40e_ethdev.c',
- 'i40e_rxtx.c',
- 'i40e_ethdev_vf.c',
- 'i40e_pf.c',
- 'i40e_fdir.c',
- 'i40e_flow.c',
- 'i40e_tm.c',
- 'i40e_hash.c',
- 'i40e_vf_representor.c',
- 'rte_pmd_i40e.c'
- )
+ 'i40e_ethdev.c',
+ 'i40e_rxtx.c',
+ 'i40e_ethdev_vf.c',
+ 'i40e_pf.c',
+ 'i40e_fdir.c',
+ 'i40e_flow.c',
+ 'i40e_tm.c',
+ 'i40e_hash.c',
+ 'i40e_vf_representor.c',
+ 'rte_pmd_i40e.c'
+ )
deps += ['hash']
includes += include_directories('base')
if arch_subdir == 'x86'
- sources += files('i40e_rxtx_vec_sse.c')
+ sources += files('i40e_rxtx_vec_sse.c')
- if is_windows and cc.get_id() != 'clang'
- cflags += ['-fno-asynchronous-unwind-tables']
- endif
+ if is_windows and cc.get_id() != 'clang'
+ cflags += ['-fno-asynchronous-unwind-tables']
+ 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
- if cc.get_define('__AVX2__', args: machine_args) != ''
- cflags += ['-DCC_AVX2_SUPPORT']
- sources += files('i40e_rxtx_vec_avx2.c')
- elif cc.has_argument('-mavx2')
- cflags += ['-DCC_AVX2_SUPPORT']
- i40e_avx2_lib = static_library('i40e_avx2_lib',
- 'i40e_rxtx_vec_avx2.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: [cflags, '-mavx2'])
- objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c')
- 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
+ if cc.get_define('__AVX2__', args: machine_args) != ''
+ cflags += ['-DCC_AVX2_SUPPORT']
+ sources += files('i40e_rxtx_vec_avx2.c')
+ elif cc.has_argument('-mavx2')
+ cflags += ['-DCC_AVX2_SUPPORT']
+ i40e_avx2_lib = static_library('i40e_avx2_lib',
+ 'i40e_rxtx_vec_avx2.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: [cflags, '-mavx2'])
+ objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c')
+ endif
- i40e_avx512_cpu_support = (
- cc.get_define('__AVX512F__', args: machine_args) != '' and
- cc.get_define('__AVX512BW__', args: machine_args) != '')
+ i40e_avx512_cpu_support = (
+ cc.get_define('__AVX512F__', args: machine_args) != '' and
+ cc.get_define('__AVX512BW__', args: machine_args) != '')
- i40e_avx512_cc_support = (
- not machine_args.contains('-mno-avx512f') and
- cc.has_argument('-mavx512f') and
- cc.has_argument('-mavx512bw'))
+ i40e_avx512_cc_support = (
+ not machine_args.contains('-mno-avx512f') and
+ cc.has_argument('-mavx512f') and
+ cc.has_argument('-mavx512bw'))
- if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
- cflags += ['-DCC_AVX512_SUPPORT']
- avx512_args = [cflags, '-mavx512f', '-mavx512bw']
- if cc.has_argument('-march=skylake-avx512')
- avx512_args += '-march=skylake-avx512'
- endif
- i40e_avx512_lib = static_library('i40e_avx512_lib',
- 'i40e_rxtx_vec_avx512.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: avx512_args)
- objs += i40e_avx512_lib.extract_objects('i40e_rxtx_vec_avx512.c')
- endif
+ if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
+ cflags += ['-DCC_AVX512_SUPPORT']
+ avx512_args = [cflags, '-mavx512f', '-mavx512bw']
+ if cc.has_argument('-march=skylake-avx512')
+ avx512_args += '-march=skylake-avx512'
+ endif
+ i40e_avx512_lib = static_library('i40e_avx512_lib',
+ 'i40e_rxtx_vec_avx512.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: avx512_args)
+ objs += i40e_avx512_lib.extract_objects('i40e_rxtx_vec_avx512.c')
+ endif
elif arch_subdir == 'ppc'
sources += files('i40e_rxtx_vec_altivec.c')
elif arch_subdir == 'arm'
diff --git a/drivers/net/iavf/meson.build b/drivers/net/iavf/meson.build
index ac2af81f75..b124af68d9 100644
--- a/drivers/net/iavf/meson.build
+++ b/drivers/net/iavf/meson.build
@@ -2,9 +2,9 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
cflags += ['-Wno-strict-aliasing']
@@ -13,57 +13,57 @@ includes += include_directories('../../common/iavf')
deps += ['common_iavf']
sources = files(
- 'iavf_ethdev.c',
- 'iavf_rxtx.c',
- 'iavf_vchnl.c',
- 'iavf_generic_flow.c',
- 'iavf_fdir.c',
- 'iavf_hash.c',
+ 'iavf_ethdev.c',
+ 'iavf_rxtx.c',
+ 'iavf_vchnl.c',
+ 'iavf_generic_flow.c',
+ 'iavf_fdir.c',
+ 'iavf_hash.c',
)
if arch_subdir == 'x86'
- sources += files('iavf_rxtx_vec_sse.c')
+ sources += files('iavf_rxtx_vec_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
- if cc.get_define('__AVX2__', args: machine_args) != ''
- cflags += ['-DCC_AVX2_SUPPORT']
- sources += files('iavf_rxtx_vec_avx2.c')
- elif cc.has_argument('-mavx2')
- cflags += ['-DCC_AVX2_SUPPORT']
- iavf_avx2_lib = static_library('iavf_avx2_lib',
- 'iavf_rxtx_vec_avx2.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: [cflags, '-mavx2'])
- objs += iavf_avx2_lib.extract_objects('iavf_rxtx_vec_avx2.c')
- 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
+ if cc.get_define('__AVX2__', args: machine_args) != ''
+ cflags += ['-DCC_AVX2_SUPPORT']
+ sources += files('iavf_rxtx_vec_avx2.c')
+ elif cc.has_argument('-mavx2')
+ cflags += ['-DCC_AVX2_SUPPORT']
+ iavf_avx2_lib = static_library('iavf_avx2_lib',
+ 'iavf_rxtx_vec_avx2.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: [cflags, '-mavx2'])
+ objs += iavf_avx2_lib.extract_objects('iavf_rxtx_vec_avx2.c')
+ endif
- iavf_avx512_cpu_support = (
- cc.get_define('__AVX512F__', args: machine_args) != '' and
- cc.get_define('__AVX512BW__', args: machine_args) != '')
+ iavf_avx512_cpu_support = (
+ cc.get_define('__AVX512F__', args: machine_args) != '' and
+ cc.get_define('__AVX512BW__', args: machine_args) != '')
- iavf_avx512_cc_support = (
- not machine_args.contains('-mno-avx512f') and
- cc.has_argument('-mavx512f') and
- cc.has_argument('-mavx512bw'))
+ iavf_avx512_cc_support = (
+ not machine_args.contains('-mno-avx512f') and
+ cc.has_argument('-mavx512f') and
+ cc.has_argument('-mavx512bw'))
- if iavf_avx512_cpu_support == true or iavf_avx512_cc_support == true
- cflags += ['-DCC_AVX512_SUPPORT']
- avx512_args = [cflags, '-mavx512f', '-mavx512bw']
- if cc.has_argument('-march=skylake-avx512')
- avx512_args += '-march=skylake-avx512'
- endif
- iavf_avx512_lib = static_library('iavf_avx512_lib',
- 'iavf_rxtx_vec_avx512.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: avx512_args)
- objs += iavf_avx512_lib.extract_objects('iavf_rxtx_vec_avx512.c')
- endif
+ if iavf_avx512_cpu_support == true or iavf_avx512_cc_support == true
+ cflags += ['-DCC_AVX512_SUPPORT']
+ avx512_args = [cflags, '-mavx512f', '-mavx512bw']
+ if cc.has_argument('-march=skylake-avx512')
+ avx512_args += '-march=skylake-avx512'
+ endif
+ iavf_avx512_lib = static_library('iavf_avx512_lib',
+ 'iavf_rxtx_vec_avx512.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: avx512_args)
+ objs += iavf_avx512_lib.extract_objects('iavf_rxtx_vec_avx512.c')
+ endif
endif
headers = files('rte_pmd_iavf.h')
diff --git a/drivers/net/ice/base/meson.build b/drivers/net/ice/base/meson.build
index b82d05fe73..b3db171c25 100644
--- a/drivers/net/ice/base/meson.build
+++ b/drivers/net/ice/base/meson.build
@@ -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()
diff --git a/drivers/net/ice/meson.build b/drivers/net/ice/meson.build
index 9a67c8f7ba..682e3cc92c 100644
--- a/drivers/net/ice/meson.build
+++ b/drivers/net/ice/meson.build
@@ -2,73 +2,73 @@
# 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
subdir('base')
objs = [base_objs]
sources = files(
- 'ice_ethdev.c',
- 'ice_rxtx.c',
- 'ice_switch_filter.c',
- 'ice_generic_flow.c',
- 'ice_fdir_filter.c',
- 'ice_hash.c',
- 'ice_acl_filter.c'
- )
+ 'ice_ethdev.c',
+ 'ice_rxtx.c',
+ 'ice_switch_filter.c',
+ 'ice_generic_flow.c',
+ 'ice_fdir_filter.c',
+ 'ice_hash.c',
+ 'ice_acl_filter.c'
+ )
deps += ['hash', 'net', 'common_iavf']
includes += include_directories('base', '../../common/iavf')
if arch_subdir == 'x86'
- sources += files('ice_rxtx_vec_sse.c')
+ sources += files('ice_rxtx_vec_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
- if cc.get_define('__AVX2__', args: machine_args) != ''
- sources += files('ice_rxtx_vec_avx2.c')
- elif cc.has_argument('-mavx2')
- ice_avx2_lib = static_library('ice_avx2_lib',
- 'ice_rxtx_vec_avx2.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: [cflags, '-mavx2'])
- objs += ice_avx2_lib.extract_objects('ice_rxtx_vec_avx2.c')
- 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
+ if cc.get_define('__AVX2__', args: machine_args) != ''
+ sources += files('ice_rxtx_vec_avx2.c')
+ elif cc.has_argument('-mavx2')
+ ice_avx2_lib = static_library('ice_avx2_lib',
+ 'ice_rxtx_vec_avx2.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: [cflags, '-mavx2'])
+ objs += ice_avx2_lib.extract_objects('ice_rxtx_vec_avx2.c')
+ endif
- ice_avx512_cpu_support = (
- cc.get_define('__AVX512F__', args: machine_args) != '' and
- cc.get_define('__AVX512BW__', args: machine_args) != '')
+ ice_avx512_cpu_support = (
+ cc.get_define('__AVX512F__', args: machine_args) != '' and
+ cc.get_define('__AVX512BW__', args: machine_args) != '')
- ice_avx512_cc_support = (
- not machine_args.contains('-mno-avx512f') and
- cc.has_argument('-mavx512f') and
- cc.has_argument('-mavx512bw'))
+ ice_avx512_cc_support = (
+ not machine_args.contains('-mno-avx512f') and
+ cc.has_argument('-mavx512f') and
+ cc.has_argument('-mavx512bw'))
- if ice_avx512_cpu_support == true or ice_avx512_cc_support == true
- cflags += ['-DCC_AVX512_SUPPORT']
- avx512_args = [cflags, '-mavx512f', '-mavx512bw']
- if cc.has_argument('-march=skylake-avx512')
- avx512_args += '-march=skylake-avx512'
- endif
- ice_avx512_lib = static_library('ice_avx512_lib',
- 'ice_rxtx_vec_avx512.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_hash],
- include_directories: includes,
- c_args: avx512_args)
- objs += ice_avx512_lib.extract_objects('ice_rxtx_vec_avx512.c')
- endif
+ if ice_avx512_cpu_support == true or ice_avx512_cc_support == true
+ cflags += ['-DCC_AVX512_SUPPORT']
+ avx512_args = [cflags, '-mavx512f', '-mavx512bw']
+ if cc.has_argument('-march=skylake-avx512')
+ avx512_args += '-march=skylake-avx512'
+ endif
+ ice_avx512_lib = static_library('ice_avx512_lib',
+ 'ice_rxtx_vec_avx512.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_hash],
+ include_directories: includes,
+ c_args: avx512_args)
+ objs += ice_avx512_lib.extract_objects('ice_rxtx_vec_avx512.c')
+ endif
endif
sources += files('ice_dcf.c',
- 'ice_dcf_vf_representor.c',
- 'ice_dcf_ethdev.c',
- 'ice_dcf_parent.c')
+ 'ice_dcf_vf_representor.c',
+ 'ice_dcf_ethdev.c',
+ 'ice_dcf_parent.c')
headers = files('rte_pmd_ice.h')
diff --git a/drivers/net/igc/base/meson.build b/drivers/net/igc/base/meson.build
index 690704fe02..e09c8b6c05 100644
--- a/drivers/net/igc/base/meson.build
+++ b/drivers/net/igc/base/meson.build
@@ -2,18 +2,18 @@
# Copyright(c) 2019-2020 Intel Corporation
sources = [
- 'igc_api.c',
- 'igc_base.c',
- 'igc_i225.c',
- 'igc_mac.c',
- 'igc_manage.c',
- 'igc_nvm.c',
- 'igc_osdep.c',
- 'igc_phy.c',
+ 'igc_api.c',
+ 'igc_base.c',
+ 'igc_i225.c',
+ 'igc_mac.c',
+ 'igc_manage.c',
+ 'igc_nvm.c',
+ 'igc_osdep.c',
+ 'igc_phy.c',
]
base_lib = static_library('igc_base', sources,
- dependencies: static_rte_eal,
- c_args: cflags)
+ dependencies: static_rte_eal,
+ c_args: cflags)
base_objs = base_lib.extract_all_objects()
diff --git a/drivers/net/igc/meson.build b/drivers/net/igc/meson.build
index b971e6f8c6..b62a5f7d38 100644
--- a/drivers/net/igc/meson.build
+++ b/drivers/net/igc/meson.build
@@ -2,20 +2,20 @@
# Copyright(c) 2019-2020 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(
- 'igc_logs.c',
- 'igc_ethdev.c',
- 'igc_txrx.c',
- 'igc_filter.c',
- 'igc_flow.c'
+ 'igc_logs.c',
+ 'igc_ethdev.c',
+ 'igc_txrx.c',
+ 'igc_filter.c',
+ 'igc_flow.c'
)
includes += include_directories('base')
diff --git a/drivers/net/ionic/meson.build b/drivers/net/ionic/meson.build
index 631ea27f52..9b33d12a7f 100644
--- a/drivers/net/ionic/meson.build
+++ b/drivers/net/ionic/meson.build
@@ -2,17 +2,17 @@
# Copyright(c) 2019 Pensando
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
sources = files(
- 'ionic_mac_api.c',
- 'ionic_rx_filter.c',
- 'ionic_rxtx.c',
- 'ionic_dev.c',
- 'ionic_ethdev.c',
- 'ionic_lif.c',
- 'ionic_main.c'
+ 'ionic_mac_api.c',
+ 'ionic_rx_filter.c',
+ 'ionic_rxtx.c',
+ 'ionic_dev.c',
+ 'ionic_ethdev.c',
+ 'ionic_lif.c',
+ 'ionic_main.c'
)
diff --git a/drivers/net/ipn3ke/meson.build b/drivers/net/ipn3ke/meson.build
index 65de9d5172..6863cd9041 100644
--- a/drivers/net/ipn3ke/meson.build
+++ b/drivers/net/ipn3ke/meson.build
@@ -2,9 +2,9 @@
# 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
#
@@ -16,15 +16,15 @@ endif
#
if has_libfdt == 0
- build = false
- reason = 'missing dependency, "libfdt"'
- subdir_done()
+ build = false
+ reason = 'missing dependency, "libfdt"'
+ subdir_done()
endif
includes += include_directories('../../raw/ifpga')
sources += files('ipn3ke_ethdev.c',
- 'ipn3ke_representor.c',
- 'ipn3ke_tm.c',
- 'ipn3ke_flow.c')
+ 'ipn3ke_representor.c',
+ 'ipn3ke_tm.c',
+ 'ipn3ke_flow.c')
deps += ['bus_ifpga', 'ethdev', 'sched']
diff --git a/drivers/net/ixgbe/base/meson.build b/drivers/net/ixgbe/base/meson.build
index 48bbb86cb8..b7dfbc977b 100644
--- a/drivers/net/ixgbe/base/meson.build
+++ b/drivers/net/ixgbe/base/meson.build
@@ -2,33 +2,33 @@
# Copyright(c) 2017-2020 Intel Corporation
sources = [
- 'ixgbe_82598.c',
- 'ixgbe_82599.c',
- 'ixgbe_api.c',
- 'ixgbe_common.c',
- 'ixgbe_dcb_82598.c',
- 'ixgbe_dcb_82599.c',
- 'ixgbe_dcb.c',
- 'ixgbe_hv_vf.c',
- 'ixgbe_mbx.c',
- 'ixgbe_phy.c',
- 'ixgbe_vf.c',
- 'ixgbe_x540.c',
- 'ixgbe_x550.c'
+ 'ixgbe_82598.c',
+ 'ixgbe_82599.c',
+ 'ixgbe_api.c',
+ 'ixgbe_common.c',
+ 'ixgbe_dcb_82598.c',
+ 'ixgbe_dcb_82599.c',
+ 'ixgbe_dcb.c',
+ 'ixgbe_hv_vf.c',
+ 'ixgbe_mbx.c',
+ 'ixgbe_phy.c',
+ 'ixgbe_vf.c',
+ 'ixgbe_x540.c',
+ 'ixgbe_x550.c'
]
error_cflags = ['-Wno-unused-value',
- '-Wno-unused-but-set-variable',
- '-Wno-unused-parameter',
- ]
+ '-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('ixgbe_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()
diff --git a/drivers/net/ixgbe/meson.build b/drivers/net/ixgbe/meson.build
index 76cbfb830b..e7ac0f2c7d 100644
--- a/drivers/net/ixgbe/meson.build
+++ b/drivers/net/ixgbe/meson.build
@@ -2,9 +2,9 @@
# 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
cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
@@ -13,25 +13,25 @@ subdir('base')
objs = [base_objs]
sources = files(
- 'ixgbe_82599_bypass.c',
- 'ixgbe_bypass.c',
- 'ixgbe_ethdev.c',
- 'ixgbe_fdir.c',
- 'ixgbe_flow.c',
- 'ixgbe_ipsec.c',
- 'ixgbe_pf.c',
- 'ixgbe_rxtx.c',
- 'ixgbe_tm.c',
- 'ixgbe_vf_representor.c',
- 'rte_pmd_ixgbe.c'
+ 'ixgbe_82599_bypass.c',
+ 'ixgbe_bypass.c',
+ 'ixgbe_ethdev.c',
+ 'ixgbe_fdir.c',
+ 'ixgbe_flow.c',
+ 'ixgbe_ipsec.c',
+ 'ixgbe_pf.c',
+ 'ixgbe_rxtx.c',
+ 'ixgbe_tm.c',
+ 'ixgbe_vf_representor.c',
+ 'rte_pmd_ixgbe.c'
)
deps += ['hash', 'security']
if arch_subdir == 'x86'
- sources += files('ixgbe_rxtx_vec_sse.c')
+ sources += files('ixgbe_rxtx_vec_sse.c')
elif arch_subdir == 'arm'
- sources += files('ixgbe_rxtx_vec_neon.c')
+ sources += files('ixgbe_rxtx_vec_neon.c')
endif
includes += include_directories('base')
diff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build
index 4d5e5fe368..c0751aeb59 100644
--- a/drivers/net/kni/meson.build
+++ b/drivers/net/kni/meson.build
@@ -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
# this driver can be built if-and-only-if KNI library is buildable
diff --git a/drivers/net/liquidio/meson.build b/drivers/net/liquidio/meson.build
index 4965ebe85f..e32029e853 100644
--- a/drivers/net/liquidio/meson.build
+++ b/drivers/net/liquidio/meson.build
@@ -2,13 +2,13 @@
# 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('base/lio_23xx_vf.c',
- 'base/lio_mbox.c',
- 'lio_ethdev.c',
- 'lio_rxtx.c')
+ 'base/lio_mbox.c',
+ 'lio_ethdev.c',
+ 'lio_rxtx.c')
includes += include_directories('base')
diff --git a/drivers/net/memif/meson.build b/drivers/net/memif/meson.build
index 9c3ba432d0..3201f3babb 100644
--- a/drivers/net/memif/meson.build
+++ b/drivers/net/memif/meson.build
@@ -2,11 +2,11 @@
# Copyright 2018-2019 Cisco Systems, 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('rte_eth_memif.c',
- 'memif_socket.c')
+ 'memif_socket.c')
deps += ['hash']
diff --git a/drivers/net/mlx4/meson.build b/drivers/net/mlx4/meson.build
index d7602b748e..2ddfea51f0 100644
--- a/drivers/net/mlx4/meson.build
+++ b/drivers/net/mlx4/meson.build
@@ -3,9 +3,9 @@
# Copyright 2018 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
static_ibverbs = (get_option('ibverbs_link') == 'static')
@@ -14,74 +14,74 @@ LIB_GLUE_BASE = 'librte_net_mlx4_glue.so'
LIB_GLUE_VERSION = abi_version
LIB_GLUE = LIB_GLUE_BASE + '.' + LIB_GLUE_VERSION
if dlopen_ibverbs
- dpdk_conf.set('RTE_IBVERBS_LINK_DLOPEN', 1)
- cflags += [
- '-DMLX4_GLUE="@0@"'.format(LIB_GLUE),
- '-DMLX4_GLUE_VERSION="@0@"'.format(LIB_GLUE_VERSION),
- ]
+ dpdk_conf.set('RTE_IBVERBS_LINK_DLOPEN', 1)
+ cflags += [
+ '-DMLX4_GLUE="@0@"'.format(LIB_GLUE),
+ '-DMLX4_GLUE_VERSION="@0@"'.format(LIB_GLUE_VERSION),
+ ]
endif
libnames = [ 'mlx4', 'ibverbs' ]
libs = []
foreach libname:libnames
- lib = dependency('lib' + libname, static:static_ibverbs,
- required:false, method: 'pkg-config')
- if not lib.found() and not static_ibverbs
- lib = cc.find_library(libname, required:false)
- endif
- if lib.found()
- libs += lib
- if not static_ibverbs and not dlopen_ibverbs
- ext_deps += lib
- endif
- else
- build = false
- reason = 'missing dependency, "' + libname + '"'
- subdir_done()
- endif
+ lib = dependency('lib' + libname, static:static_ibverbs,
+ required:false, method: 'pkg-config')
+ if not lib.found() and not static_ibverbs
+ lib = cc.find_library(libname, required:false)
+ endif
+ if lib.found()
+ libs += lib
+ if not static_ibverbs and not dlopen_ibverbs
+ ext_deps += lib
+ endif
+ else
+ build = false
+ reason = 'missing dependency, "' + libname + '"'
+ subdir_done()
+ endif
endforeach
if static_ibverbs or dlopen_ibverbs
- # Build without adding shared libs to Requires.private
- ibv_cflags = run_command(pkgconf, '--cflags', 'libibverbs').stdout()
- ext_deps += declare_dependency(compile_args: ibv_cflags.split())
+ # Build without adding shared libs to Requires.private
+ ibv_cflags = run_command(pkgconf, '--cflags', 'libibverbs').stdout()
+ ext_deps += declare_dependency(compile_args: ibv_cflags.split())
endif
if static_ibverbs
- # Add static deps ldflags to internal apps and Libs.private
- ibv_ldflags = run_command(ldflags_ibverbs_static, check:true).stdout()
- ext_deps += declare_dependency(link_args:ibv_ldflags.split())
+ # Add static deps ldflags to internal apps and Libs.private
+ ibv_ldflags = run_command(ldflags_ibverbs_static, check:true).stdout()
+ ext_deps += declare_dependency(link_args:ibv_ldflags.split())
endif
sources = files(
- 'mlx4.c',
- 'mlx4_ethdev.c',
- 'mlx4_flow.c',
- 'mlx4_intr.c',
- 'mlx4_mp.c',
- 'mlx4_mr.c',
- 'mlx4_rxq.c',
- 'mlx4_rxtx.c',
- 'mlx4_txq.c',
- 'mlx4_utils.c',
+ 'mlx4.c',
+ 'mlx4_ethdev.c',
+ 'mlx4_flow.c',
+ 'mlx4_intr.c',
+ 'mlx4_mp.c',
+ 'mlx4_mr.c',
+ 'mlx4_rxq.c',
+ 'mlx4_rxtx.c',
+ 'mlx4_txq.c',
+ 'mlx4_utils.c',
)
if not dlopen_ibverbs
- sources += files('mlx4_glue.c')
+ sources += files('mlx4_glue.c')
endif
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
# To maintain the compatibility with the make build system
# mlx4_autoconf.h file is still generated.
@@ -90,49 +90,49 @@ endif
# "symbol to search", "struct member to search" ]
#
has_member_args = [
- [ 'HAVE_IBV_MLX4_WQE_LSO_SEG', 'infiniband/mlx4dv.h',
- 'struct mlx4_wqe_lso_seg', 'mss_hdr_size' ],
+ [ 'HAVE_IBV_MLX4_WQE_LSO_SEG', 'infiniband/mlx4dv.h',
+ 'struct mlx4_wqe_lso_seg', 'mss_hdr_size' ],
]
# input array for meson symbol search:
# [ "MACRO to define if found", "header for the search",
# "symbol to search" ]
has_sym_args = [
- [ 'HAVE_IBV_MLX4_BUF_ALLOCATORS', 'infiniband/mlx4dv.h',
- 'MLX4DV_SET_CTX_ATTR_BUF_ALLOCATORS' ],
- [ 'HAVE_IBV_MLX4_UAR_MMAP_OFFSET', 'infiniband/mlx4dv.h',
- 'MLX4DV_QP_MASK_UAR_MMAP_OFFSET' ],
+ [ 'HAVE_IBV_MLX4_BUF_ALLOCATORS', 'infiniband/mlx4dv.h',
+ 'MLX4DV_SET_CTX_ATTR_BUF_ALLOCATORS' ],
+ [ 'HAVE_IBV_MLX4_UAR_MMAP_OFFSET', 'infiniband/mlx4dv.h',
+ 'MLX4DV_QP_MASK_UAR_MMAP_OFFSET' ],
]
config = configuration_data()
foreach arg:has_sym_args
- config.set(arg[0], cc.has_header_symbol(arg[1], arg[2],
- dependencies: libs))
+ config.set(arg[0], cc.has_header_symbol(arg[1], arg[2],
+ dependencies: libs))
endforeach
foreach arg:has_member_args
- file_prefix = '#include <' + arg[1] + '>'
- config.set(arg[0], cc.has_member(arg[2], arg[3],
- prefix: file_prefix, dependencies: libs))
+ file_prefix = '#include <' + arg[1] + '>'
+ config.set(arg[0], cc.has_member(arg[2], arg[3],
+ prefix: file_prefix, dependencies: libs))
endforeach
configure_file(output : 'mlx4_autoconf.h', configuration : config)
# Build Glue Library
if dlopen_ibverbs
- dlopen_name = 'mlx4_glue'
- dlopen_lib_name = 'rte_net_' + dlopen_name
- dlopen_so_version = LIB_GLUE_VERSION
- dlopen_sources = files('mlx4_glue.c')
- dlopen_install_dir = [ eal_pmd_path + '-glue' ]
- shared_lib = shared_library(
- dlopen_lib_name,
- dlopen_sources,
- include_directories: global_inc,
- c_args: cflags,
- dependencies: libs,
- link_args: [
- '-Wl,-export-dynamic',
- '-Wl,-h,@0@'.format(LIB_GLUE),
- ],
- soversion: dlopen_so_version,
- install: true,
- install_dir: dlopen_install_dir,
- )
+ dlopen_name = 'mlx4_glue'
+ dlopen_lib_name = 'rte_net_' + dlopen_name
+ dlopen_so_version = LIB_GLUE_VERSION
+ dlopen_sources = files('mlx4_glue.c')
+ dlopen_install_dir = [ eal_pmd_path + '-glue' ]
+ shared_lib = shared_library(
+ dlopen_lib_name,
+ dlopen_sources,
+ include_directories: global_inc,
+ c_args: cflags,
+ dependencies: libs,
+ link_args: [
+ '-Wl,-export-dynamic',
+ '-Wl,-h,@0@'.format(LIB_GLUE),
+ ],
+ soversion: dlopen_so_version,
+ install: true,
+ install_dir: dlopen_install_dir,
+ )
endif
diff --git a/drivers/net/mlx5/linux/meson.build b/drivers/net/mlx5/linux/meson.build
index 8412edce78..9eda20e822 100644
--- a/drivers/net/mlx5/linux/meson.build
+++ b/drivers/net/mlx5/linux/meson.build
@@ -3,12 +3,12 @@
includes += include_directories('.')
sources += files(
- 'mlx5_socket.c',
- 'mlx5_os.c',
- 'mlx5_ethdev_os.c',
- 'mlx5_verbs.c',
- 'mlx5_mp_os.c',
- 'mlx5_vlan_os.c',
- 'mlx5_flow_os.c',
+ 'mlx5_socket.c',
+ 'mlx5_os.c',
+ 'mlx5_ethdev_os.c',
+ 'mlx5_verbs.c',
+ 'mlx5_mp_os.c',
+ 'mlx5_vlan_os.c',
+ 'mlx5_flow_os.c',
)
diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build
index f2fafbdd05..c071275d42 100644
--- a/drivers/net/mlx5/meson.build
+++ b/drivers/net/mlx5/meson.build
@@ -3,60 +3,60 @@
# Copyright 2018 Mellanox Technologies, Ltd
if not (is_linux or is_windows)
- build = false
- reason = 'only supported on Linux and Windows'
- subdir_done()
+ build = false
+ reason = 'only supported on Linux and Windows'
+ subdir_done()
endif
deps += ['hash', 'common_mlx5']
sources = files(
- 'mlx5.c',
- 'mlx5_ethdev.c',
- 'mlx5_flow.c',
- 'mlx5_flow_meter.c',
- 'mlx5_flow_dv.c',
+ 'mlx5.c',
+ 'mlx5_ethdev.c',
+ 'mlx5_flow.c',
+ 'mlx5_flow_meter.c',
+ 'mlx5_flow_dv.c',
'mlx5_flow_age.c',
- 'mlx5_mac.c',
- 'mlx5_mr.c',
- 'mlx5_rss.c',
- 'mlx5_rxmode.c',
- 'mlx5_rxq.c',
- 'mlx5_rxtx.c',
- 'mlx5_stats.c',
- 'mlx5_trigger.c',
- 'mlx5_txq.c',
- 'mlx5_txpp.c',
- 'mlx5_vlan.c',
- 'mlx5_utils.c',
- 'mlx5_devx.c',
+ 'mlx5_mac.c',
+ 'mlx5_mr.c',
+ 'mlx5_rss.c',
+ 'mlx5_rxmode.c',
+ 'mlx5_rxq.c',
+ 'mlx5_rxtx.c',
+ 'mlx5_stats.c',
+ 'mlx5_trigger.c',
+ 'mlx5_txq.c',
+ 'mlx5_txpp.c',
+ 'mlx5_vlan.c',
+ 'mlx5_utils.c',
+ 'mlx5_devx.c',
)
if is_linux
- sources += files(
- 'mlx5_flow_verbs.c',
- )
- if (dpdk_conf.has('RTE_ARCH_X86_64')
- or dpdk_conf.has('RTE_ARCH_ARM64')
- or dpdk_conf.has('RTE_ARCH_PPC_64'))
- sources += files('mlx5_rxtx_vec.c')
- endif
+ sources += files(
+ 'mlx5_flow_verbs.c',
+ )
+ if (dpdk_conf.has('RTE_ARCH_X86_64')
+ or dpdk_conf.has('RTE_ARCH_ARM64')
+ or dpdk_conf.has('RTE_ARCH_PPC_64'))
+ sources += files('mlx5_rxtx_vec.c')
+ endif
endif
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)
diff --git a/drivers/net/mlx5/windows/meson.build b/drivers/net/mlx5/windows/meson.build
index ddb6c6ca90..cb3460709c 100644
--- a/drivers/net/mlx5/windows/meson.build
+++ b/drivers/net/mlx5/windows/meson.build
@@ -3,9 +3,9 @@
includes += include_directories('.')
sources += files(
- 'mlx5_os.c',
- 'mlx5_mp_os.c',
- 'mlx5_ethdev_os.c',
- 'mlx5_vlan_os.c',
- 'mlx5_flow_os.c',
+ 'mlx5_os.c',
+ 'mlx5_mp_os.c',
+ 'mlx5_ethdev_os.c',
+ 'mlx5_vlan_os.c',
+ 'mlx5_flow_os.c',
)
diff --git a/drivers/net/mvneta/meson.build b/drivers/net/mvneta/meson.build
index 0be7b3d8ba..c0d516f5ed 100644
--- a/drivers/net/mvneta/meson.build
+++ b/drivers/net/mvneta/meson.build
@@ -4,23 +4,23 @@
# All rights reserved.
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
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
sources = files(
- 'mvneta_ethdev.c',
- 'mvneta_rxtx.c'
+ 'mvneta_ethdev.c',
+ 'mvneta_rxtx.c'
)
deps += ['cfgfile', 'common_mvep']
diff --git a/drivers/net/mvpp2/meson.build b/drivers/net/mvpp2/meson.build
index bfda5439ba..8250c32544 100644
--- a/drivers/net/mvpp2/meson.build
+++ b/drivers/net/mvpp2/meson.build
@@ -4,26 +4,26 @@
# All rights reserved.
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
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
sources = files(
- 'mrvl_ethdev.c',
- 'mrvl_flow.c',
- 'mrvl_qos.c',
- 'mrvl_mtr.c',
- 'mrvl_tm.c'
+ 'mrvl_ethdev.c',
+ 'mrvl_flow.c',
+ 'mrvl_qos.c',
+ 'mrvl_mtr.c',
+ 'mrvl_tm.c'
)
deps += ['cfgfile', 'common_mvep']
diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build
index c190124db0..1dac5e512b 100644
--- a/drivers/net/netvsc/meson.build
+++ b/drivers/net/netvsc/meson.build
@@ -2,9 +2,9 @@
# Copyright(c) 2018 Microsoft Corporation
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
build = dpdk_conf.has('RTE_BUS_VMBUS')
diff --git a/drivers/net/nfb/meson.build b/drivers/net/nfb/meson.build
index f4a89b87d5..0af4ddf806 100644
--- a/drivers/net/nfb/meson.build
+++ b/drivers/net/nfb/meson.build
@@ -4,9 +4,9 @@
# All rights reserved.
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
dep = dependency('netcope-common', required: false, method: 'pkg-config')
diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
index 21b20c9ac9..766e9c737a 100644
--- a/drivers/net/nfp/meson.build
+++ b/drivers/net/nfp/meson.build
@@ -2,19 +2,19 @@
# Copyright(c) 2018 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('nfpcore/nfp_cpp_pcie_ops.c',
- 'nfpcore/nfp_nsp.c',
- 'nfpcore/nfp_cppcore.c',
- 'nfpcore/nfp_resource.c',
- 'nfpcore/nfp_mip.c',
- 'nfpcore/nfp_nffw.c',
- 'nfpcore/nfp_rtsym.c',
- 'nfpcore/nfp_nsp_cmds.c',
- 'nfpcore/nfp_crc.c',
- 'nfpcore/nfp_mutex.c',
- 'nfpcore/nfp_nsp_eth.c',
- 'nfpcore/nfp_hwinfo.c',
- 'nfp_net.c')
+ 'nfpcore/nfp_nsp.c',
+ 'nfpcore/nfp_cppcore.c',
+ 'nfpcore/nfp_resource.c',
+ 'nfpcore/nfp_mip.c',
+ 'nfpcore/nfp_nffw.c',
+ 'nfpcore/nfp_rtsym.c',
+ 'nfpcore/nfp_nsp_cmds.c',
+ 'nfpcore/nfp_crc.c',
+ 'nfpcore/nfp_mutex.c',
+ 'nfpcore/nfp_nsp_eth.c',
+ 'nfpcore/nfp_hwinfo.c',
+ 'nfp_net.c')
diff --git a/drivers/net/null/meson.build b/drivers/net/null/meson.build
index d9fb88fd7d..0251578aab 100644
--- a/drivers/net/null/meson.build
+++ b/drivers/net/null/meson.build
@@ -2,9 +2,9 @@
# 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
sources = files('rte_eth_null.c')
diff --git a/drivers/net/octeontx/base/meson.build b/drivers/net/octeontx/base/meson.build
index b8fe4b3013..88dfca6e1b 100644
--- a/drivers/net/octeontx/base/meson.build
+++ b/drivers/net/octeontx/base/meson.build
@@ -2,24 +2,24 @@
# Copyright(c) 2017 Cavium, Inc
sources = [
- 'octeontx_pkovf.c',
- 'octeontx_pkivf.c',
- 'octeontx_bgx.c'
+ 'octeontx_pkovf.c',
+ 'octeontx_pkivf.c',
+ 'octeontx_bgx.c'
]
depends = ['ethdev', 'mempool_octeontx']
static_objs = []
foreach d: depends
- if not is_variable('shared_rte_' + d)
- subdir_done()
- endif
- static_objs += get_variable('static_rte_' + d)
+ if not is_variable('shared_rte_' + d)
+ subdir_done()
+ endif
+ static_objs += get_variable('static_rte_' + d)
endforeach
c_args = cflags
base_lib = static_library('octeontx_base', sources,
- c_args: c_args,
- dependencies: static_objs,
+ c_args: c_args,
+ dependencies: static_objs,
)
base_objs = base_lib.extract_all_objects()
diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build
index 4e784b9484..1baac97688 100644
--- a/drivers/net/octeontx/meson.build
+++ b/drivers/net/octeontx/meson.build
@@ -2,18 +2,18 @@
# Copyright(c) 2017 Cavium, Inc
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('octeontx_rxtx.c',
- 'octeontx_ethdev.c',
- 'octeontx_ethdev_ops.c'
- )
+ 'octeontx_ethdev.c',
+ 'octeontx_ethdev_ops.c'
+ )
deps += ['mempool_octeontx', 'eventdev']
diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build
index 779a75b5d0..fbcdd61e14 100644
--- a/drivers/net/octeontx2/meson.build
+++ b/drivers/net/octeontx2/meson.build
@@ -3,49 +3,49 @@
#
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_rx.c',
- 'otx2_tx.c',
- 'otx2_tm.c',
- 'otx2_rss.c',
- 'otx2_mac.c',
- 'otx2_ptp.c',
- 'otx2_flow.c',
- 'otx2_link.c',
- 'otx2_vlan.c',
- 'otx2_stats.c',
- 'otx2_mcast.c',
- 'otx2_lookup.c',
- 'otx2_ethdev.c',
- 'otx2_flow_ctrl.c',
- 'otx2_flow_dump.c',
- 'otx2_flow_parse.c',
- 'otx2_flow_utils.c',
- 'otx2_ethdev_irq.c',
- 'otx2_ethdev_ops.c',
- 'otx2_ethdev_sec.c',
- 'otx2_ethdev_debug.c',
- 'otx2_ethdev_devargs.c'
- )
+ 'otx2_tx.c',
+ 'otx2_tm.c',
+ 'otx2_rss.c',
+ 'otx2_mac.c',
+ 'otx2_ptp.c',
+ 'otx2_flow.c',
+ 'otx2_link.c',
+ 'otx2_vlan.c',
+ 'otx2_stats.c',
+ 'otx2_mcast.c',
+ 'otx2_lookup.c',
+ 'otx2_ethdev.c',
+ 'otx2_flow_ctrl.c',
+ 'otx2_flow_dump.c',
+ 'otx2_flow_parse.c',
+ 'otx2_flow_utils.c',
+ 'otx2_ethdev_irq.c',
+ 'otx2_ethdev_ops.c',
+ 'otx2_ethdev_sec.c',
+ 'otx2_ethdev_debug.c',
+ 'otx2_ethdev_devargs.c'
+ )
deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
deps += ['common_octeontx2', 'mempool_octeontx2']
extra_flags = ['-flax-vector-conversions']
foreach flag: extra_flags
- if cc.has_argument(flag)
- cflags += flag
- endif
+ if cc.has_argument(flag)
+ cflags += flag
+ endif
endforeach
includes += include_directories('../../common/cpt')
diff --git a/drivers/net/pcap/meson.build b/drivers/net/pcap/meson.build
index b65d91e70a..61c0551582 100644
--- a/drivers/net/pcap/meson.build
+++ b/drivers/net/pcap/meson.build
@@ -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
if not dpdk_conf.has('RTE_PORT_PCAP')
- build = false
- reason = 'missing dependency, "libpcap"'
+ build = false
+ reason = 'missing dependency, "libpcap"'
endif
sources = files('rte_eth_pcap.c')
ext_deps += pcap_dep
diff --git a/drivers/net/pfe/meson.build b/drivers/net/pfe/meson.build
index da0787c28c..811053ae90 100644
--- a/drivers/net/pfe/meson.build
+++ b/drivers/net/pfe/meson.build
@@ -2,18 +2,18 @@
# Copyright 2019 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('pfe_ethdev.c',
- 'pfe_hal.c',
- 'pfe_hif_lib.c',
- 'pfe_hif.c')
+ 'pfe_hal.c',
+ 'pfe_hif_lib.c',
+ 'pfe_hif.c')
if cc.has_argument('-Wno-pointer-arith')
- cflags += '-Wno-pointer-arith'
+ cflags += '-Wno-pointer-arith'
endif
includes += include_directories('base')
diff --git a/drivers/net/qede/base/meson.build b/drivers/net/qede/base/meson.build
index 03a6c44f53..d6ffc17991 100644
--- a/drivers/net/qede/base/meson.build
+++ b/drivers/net/qede/base/meson.build
@@ -2,47 +2,47 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
sources = [
- 'bcm_osal.c',
- 'ecore_cxt.c',
- 'ecore_dcbx.c',
- 'ecore_dev.c',
- 'ecore_hw.c',
- 'ecore_init_fw_funcs.c',
- 'ecore_init_ops.c',
- 'ecore_int.c',
- 'ecore_l2.c',
- 'ecore_mcp.c',
- 'ecore_sp_commands.c',
- 'ecore_spq.c',
- 'ecore_sriov.c',
- 'ecore_vf.c',
+ 'bcm_osal.c',
+ 'ecore_cxt.c',
+ 'ecore_dcbx.c',
+ 'ecore_dev.c',
+ 'ecore_hw.c',
+ 'ecore_init_fw_funcs.c',
+ 'ecore_init_ops.c',
+ 'ecore_int.c',
+ 'ecore_l2.c',
+ 'ecore_mcp.c',
+ 'ecore_sp_commands.c',
+ 'ecore_spq.c',
+ 'ecore_sriov.c',
+ 'ecore_vf.c',
]
error_cflags = [
- '-Wno-unused-parameter',
- '-Wno-sign-compare',
- '-Wno-missing-prototypes',
- '-Wno-cast-qual',
- '-Wno-unused-function',
- '-Wno-unused-variable',
- '-Wno-strict-aliasing',
- '-Wno-missing-prototypes',
- '-Wno-unused-value',
- '-Wno-format-nonliteral',
- '-Wno-shift-negative-value',
- '-Wno-unused-but-set-variable',
- '-Wno-missing-declarations',
- '-Wno-maybe-uninitialized',
- '-Wno-strict-prototypes',
- '-Wno-shift-negative-value',
- '-Wno-implicit-fallthrough',
- '-Wno-format-extra-args',
- '-Wno-visibility',
- '-Wno-empty-body',
- '-Wno-invalid-source-encoding',
- '-Wno-sometimes-uninitialized',
- '-Wno-pointer-bool-conversion',
+ '-Wno-unused-parameter',
+ '-Wno-sign-compare',
+ '-Wno-missing-prototypes',
+ '-Wno-cast-qual',
+ '-Wno-unused-function',
+ '-Wno-unused-variable',
+ '-Wno-strict-aliasing',
+ '-Wno-missing-prototypes',
+ '-Wno-unused-value',
+ '-Wno-format-nonliteral',
+ '-Wno-shift-negative-value',
+ '-Wno-unused-but-set-variable',
+ '-Wno-missing-declarations',
+ '-Wno-maybe-uninitialized',
+ '-Wno-strict-prototypes',
+ '-Wno-shift-negative-value',
+ '-Wno-implicit-fallthrough',
+ '-Wno-format-extra-args',
+ '-Wno-visibility',
+ '-Wno-empty-body',
+ '-Wno-invalid-source-encoding',
+ '-Wno-sometimes-uninitialized',
+ '-Wno-pointer-bool-conversion',
]
c_args = cflags
foreach flag: error_cflags
@@ -52,6 +52,6 @@ foreach flag: error_cflags
endforeach
base_lib = static_library('qede_base', sources,
- dependencies: [static_rte_net, static_rte_bus_pci],
- c_args: c_args)
+ dependencies: [static_rte_net, static_rte_bus_pci],
+ c_args: c_args)
base_objs = base_lib.extract_all_objects()
diff --git a/drivers/net/qede/meson.build b/drivers/net/qede/meson.build
index 05ce69560b..03626eae77 100644
--- a/drivers/net/qede/meson.build
+++ b/drivers/net/qede/meson.build
@@ -2,24 +2,24 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
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(
- 'qede_ethdev.c',
- 'qede_filter.c',
- 'qede_main.c',
- 'qede_rxtx.c',
- 'qede_debug.c',
- 'qede_regs.c',
- 'qede_sriov.c',
+ 'qede_ethdev.c',
+ 'qede_filter.c',
+ 'qede_main.c',
+ 'qede_rxtx.c',
+ 'qede_debug.c',
+ 'qede_regs.c',
+ 'qede_sriov.c',
)
if cc.has_argument('-Wno-format-nonliteral')
- cflags += '-Wno-format-nonliteral'
+ cflags += '-Wno-format-nonliteral'
endif
diff --git a/drivers/net/ring/meson.build b/drivers/net/ring/meson.build
index fb6a5f7d66..0156b37aad 100644
--- a/drivers/net/ring/meson.build
+++ b/drivers/net/ring/meson.build
@@ -2,9 +2,9 @@
# 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
sources = files('rte_eth_ring.c')
diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build
index 0c5cfb9058..6ffbda5978 100644
--- a/drivers/net/sfc/meson.build
+++ b/drivers/net/sfc/meson.build
@@ -7,14 +7,14 @@
# for Solarflare) and Solarflare Communications, Inc.
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
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 = []
@@ -24,42 +24,42 @@ extra_flags += '-Wno-strict-aliasing'
# 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
deps += ['common_sfc_efx', 'bus_pci']
sources = files(
- 'sfc_ethdev.c',
- 'sfc_kvargs.c',
- 'sfc.c',
- 'sfc_mcdi.c',
- 'sfc_sriov.c',
- 'sfc_intr.c',
- 'sfc_ev.c',
- 'sfc_port.c',
- 'sfc_rx.c',
- 'sfc_tx.c',
- 'sfc_tso.c',
- 'sfc_filter.c',
- 'sfc_switch.c',
- 'sfc_mae.c',
- 'sfc_flow.c',
- 'sfc_dp.c',
- 'sfc_ef10_rx.c',
- 'sfc_ef10_essb_rx.c',
- 'sfc_ef10_tx.c',
- 'sfc_ef100_rx.c',
- 'sfc_ef100_tx.c',
+ 'sfc_ethdev.c',
+ 'sfc_kvargs.c',
+ 'sfc.c',
+ 'sfc_mcdi.c',
+ 'sfc_sriov.c',
+ 'sfc_intr.c',
+ 'sfc_ev.c',
+ 'sfc_port.c',
+ 'sfc_rx.c',
+ 'sfc_tx.c',
+ 'sfc_tso.c',
+ 'sfc_filter.c',
+ 'sfc_switch.c',
+ 'sfc_mae.c',
+ 'sfc_flow.c',
+ 'sfc_dp.c',
+ 'sfc_ef10_rx.c',
+ 'sfc_ef10_essb_rx.c',
+ 'sfc_ef10_tx.c',
+ 'sfc_ef100_rx.c',
+ 'sfc_ef100_tx.c',
)
diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build
index e31bdece7b..0bde03a0c3 100644
--- a/drivers/net/softnic/meson.build
+++ b/drivers/net/softnic/meson.build
@@ -2,23 +2,23 @@
# Copyright(c) 2018 Intel Corporation
if not is_linux
- build = false
- reason = 'only supported on Linux'
+ build = false
+ reason = 'only supported on Linux'
endif
headers = files('rte_eth_softnic.h')
sources = files('rte_eth_softnic_tm.c',
- 'rte_eth_softnic.c',
- 'rte_eth_softnic_mempool.c',
- 'rte_eth_softnic_swq.c',
- 'rte_eth_softnic_link.c',
- 'rte_eth_softnic_tap.c',
- 'rte_eth_softnic_action.c',
- 'rte_eth_softnic_pipeline.c',
- 'rte_eth_softnic_thread.c',
- 'rte_eth_softnic_cli.c',
- 'rte_eth_softnic_flow.c',
- 'rte_eth_softnic_meter.c',
- 'rte_eth_softnic_cryptodev.c',
- 'parser.c',
- 'conn.c')
+ 'rte_eth_softnic.c',
+ 'rte_eth_softnic_mempool.c',
+ 'rte_eth_softnic_swq.c',
+ 'rte_eth_softnic_link.c',
+ 'rte_eth_softnic_tap.c',
+ 'rte_eth_softnic_action.c',
+ 'rte_eth_softnic_pipeline.c',
+ 'rte_eth_softnic_thread.c',
+ 'rte_eth_softnic_cli.c',
+ 'rte_eth_softnic_flow.c',
+ 'rte_eth_softnic_meter.c',
+ 'rte_eth_softnic_cryptodev.c',
+ 'parser.c',
+ 'conn.c')
deps += ['pipeline', 'port', 'table', 'sched', 'cryptodev']
diff --git a/drivers/net/szedata2/meson.build b/drivers/net/szedata2/meson.build
index 4f8f3325f6..dd288bfac8 100644
--- a/drivers/net/szedata2/meson.build
+++ b/drivers/net/szedata2/meson.build
@@ -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('libsze2', required: false, method: 'pkg-config')
diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.build
index d51bd3190d..8b506a9c07 100644
--- a/drivers/net/tap/meson.build
+++ b/drivers/net/tap/meson.build
@@ -2,16 +2,16 @@
# Copyright 2018 Luca Boccassi <bluca@debian.org>
if not is_linux
- build = false
- reason = 'only supported on Linux'
+ build = false
+ reason = 'only supported on Linux'
endif
sources = files(
- 'rte_eth_tap.c',
- 'tap_bpf_api.c',
- 'tap_flow.c',
- 'tap_intr.c',
- 'tap_netlink.c',
- 'tap_tcmsgs.c',
+ 'rte_eth_tap.c',
+ 'tap_bpf_api.c',
+ 'tap_flow.c',
+ 'tap_intr.c',
+ 'tap_netlink.c',
+ 'tap_tcmsgs.c',
)
deps = ['bus_vdev', 'gso', 'hash']
@@ -25,21 +25,21 @@ cflags += '-DTAP_MAX_QUEUES=16'
# "enum/define", "symbol to search" ]
#
args = [
- [ 'HAVE_TC_FLOWER', 'linux/pkt_cls.h',
- 'TCA_FLOWER_UNSPEC' ],
- [ 'HAVE_TC_VLAN_ID', 'linux/pkt_cls.h',
- 'TCA_FLOWER_KEY_VLAN_PRIO' ],
- [ 'HAVE_TC_BPF', 'linux/pkt_cls.h',
- 'TCA_BPF_UNSPEC' ],
- [ 'HAVE_TC_BPF_FD', 'linux/pkt_cls.h',
- 'TCA_BPF_FD' ],
- [ 'HAVE_TC_ACT_BPF', 'linux/tc_act/tc_bpf.h',
- 'TCA_ACT_BPF_UNSPEC' ],
- [ 'HAVE_TC_ACT_BPF_FD', 'linux/tc_act/tc_bpf.h',
- 'TCA_ACT_BPF_FD' ],
+ [ 'HAVE_TC_FLOWER', 'linux/pkt_cls.h',
+ 'TCA_FLOWER_UNSPEC' ],
+ [ 'HAVE_TC_VLAN_ID', 'linux/pkt_cls.h',
+ 'TCA_FLOWER_KEY_VLAN_PRIO' ],
+ [ 'HAVE_TC_BPF', 'linux/pkt_cls.h',
+ 'TCA_BPF_UNSPEC' ],
+ [ 'HAVE_TC_BPF_FD', 'linux/pkt_cls.h',
+ 'TCA_BPF_FD' ],
+ [ 'HAVE_TC_ACT_BPF', 'linux/tc_act/tc_bpf.h',
+ 'TCA_ACT_BPF_UNSPEC' ],
+ [ 'HAVE_TC_ACT_BPF_FD', 'linux/tc_act/tc_bpf.h',
+ 'TCA_ACT_BPF_FD' ],
]
config = configuration_data()
foreach arg:args
- config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
+ config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
endforeach
configure_file(output : 'tap_autoconf.h', configuration : config)
diff --git a/drivers/net/thunderx/base/meson.build b/drivers/net/thunderx/base/meson.build
index 8998264a3a..b75e1c83ec 100644
--- a/drivers/net/thunderx/base/meson.build
+++ b/drivers/net/thunderx/base/meson.build
@@ -2,15 +2,15 @@
# Copyright(c) 2017 Cavium, Inc
sources = [
- 'nicvf_hw.c',
- 'nicvf_mbox.c',
- 'nicvf_bsvf.c'
+ 'nicvf_hw.c',
+ 'nicvf_mbox.c',
+ 'nicvf_bsvf.c'
]
c_args = cflags
base_lib = static_library('nicvf_base', sources,
- c_args: c_args,
- dependencies: static_rte_ethdev
+ c_args: c_args,
+ dependencies: static_rte_ethdev
)
base_objs = base_lib.extract_all_objects()
diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build
index dad5c59242..468a450ec0 100644
--- a/drivers/net/thunderx/meson.build
+++ b/drivers/net/thunderx/meson.build
@@ -2,25 +2,25 @@
# Copyright(c) 2017 Cavium, Inc
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('nicvf_rxtx.c',
- 'nicvf_ethdev.c',
- 'nicvf_svf.c'
+ 'nicvf_ethdev.c',
+ 'nicvf_svf.c'
)
if cc.has_argument('-fno-prefetch-loop-arrays')
- cflags += '-fno-prefetch-loop-arrays'
+ cflags += '-fno-prefetch-loop-arrays'
endif
if cc.has_argument('-Wno-maybe-uninitialized')
- cflags += '-Wno-maybe-uninitialized'
+ cflags += '-Wno-maybe-uninitialized'
endif
includes += include_directories('base')
diff --git a/drivers/net/txgbe/base/meson.build b/drivers/net/txgbe/base/meson.build
index 33d0adf0d6..9b48ff1533 100644
--- a/drivers/net/txgbe/base/meson.build
+++ b/drivers/net/txgbe/base/meson.build
@@ -2,26 +2,26 @@
# Copyright(c) 2015-2020
sources = [
- 'txgbe_dcb_hw.c',
- 'txgbe_dcb.c',
- 'txgbe_eeprom.c',
- 'txgbe_hw.c',
- 'txgbe_mbx.c',
- 'txgbe_mng.c',
- 'txgbe_phy.c',
- 'txgbe_vf.c',
+ 'txgbe_dcb_hw.c',
+ 'txgbe_dcb.c',
+ 'txgbe_eeprom.c',
+ 'txgbe_hw.c',
+ 'txgbe_mbx.c',
+ 'txgbe_mng.c',
+ 'txgbe_phy.c',
+ 'txgbe_vf.c',
]
error_cflags = []
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('txgbe_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()
diff --git a/drivers/net/txgbe/meson.build b/drivers/net/txgbe/meson.build
index 3b9994aa97..74290d439c 100644
--- a/drivers/net/txgbe/meson.build
+++ b/drivers/net/txgbe/meson.build
@@ -2,24 +2,24 @@
# Copyright(c) 2015-2020
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(
- 'txgbe_ethdev.c',
- 'txgbe_ethdev_vf.c',
- 'txgbe_fdir.c',
- 'txgbe_flow.c',
- 'txgbe_ipsec.c',
- 'txgbe_ptypes.c',
- 'txgbe_pf.c',
- 'txgbe_rxtx.c',
- 'txgbe_tm.c',
+ 'txgbe_ethdev.c',
+ 'txgbe_ethdev_vf.c',
+ 'txgbe_fdir.c',
+ 'txgbe_flow.c',
+ 'txgbe_ipsec.c',
+ 'txgbe_ptypes.c',
+ 'txgbe_pf.c',
+ 'txgbe_rxtx.c',
+ 'txgbe_tm.c',
)
deps += ['hash', 'security']
diff --git a/drivers/net/vdev_netvsc/meson.build b/drivers/net/vdev_netvsc/meson.build
index 49d3a2c7bb..b20a053bc2 100644
--- a/drivers/net/vdev_netvsc/meson.build
+++ b/drivers/net/vdev_netvsc/meson.build
@@ -2,8 +2,8 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
if not is_linux
- build = false
- reason = 'only supported on Linux'
+ build = false
+ reason = 'only supported on Linux'
endif
sources = files('vdev_netvsc.c')
diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build
index 804b7a1dd1..858b79fdf5 100644
--- a/drivers/net/vhost/meson.build
+++ b/drivers/net/vhost/meson.build
@@ -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
build = dpdk_conf.has('RTE_LIB_VHOST')
diff --git a/drivers/net/virtio/meson.build b/drivers/net/virtio/meson.build
index d595cfdcab..06bd0b6edc 100644
--- a/drivers/net/virtio/meson.build
+++ b/drivers/net/virtio/meson.build
@@ -2,54 +2,54 @@
# 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('virtio.c',
- 'virtio_ethdev.c',
- 'virtio_pci_ethdev.c',
- 'virtio_pci.c',
- 'virtio_rxtx.c',
- 'virtio_rxtx_simple.c',
- 'virtqueue.c')
+ 'virtio_ethdev.c',
+ 'virtio_pci_ethdev.c',
+ 'virtio_pci.c',
+ 'virtio_rxtx.c',
+ 'virtio_rxtx_simple.c',
+ 'virtqueue.c')
deps += ['kvargs', 'bus_pci']
if arch_subdir == 'x86'
- if not machine_args.contains('-mno-avx512f')
- if cc.has_argument('-mavx512f') and cc.has_argument('-mavx512vl') and cc.has_argument('-mavx512bw')
- cflags += ['-DCC_AVX512_SUPPORT']
- virtio_avx512_lib = static_library('virtio_avx512_lib',
- 'virtio_rxtx_packed.c',
- dependencies: [static_rte_ethdev,
- static_rte_kvargs, static_rte_bus_pci],
- include_directories: includes,
- c_args: [cflags, '-mavx512f', '-mavx512bw', '-mavx512vl'])
- objs += virtio_avx512_lib.extract_objects('virtio_rxtx_packed.c')
- if (toolchain == 'gcc' and cc.version().version_compare('>=8.3.0'))
- cflags += '-DVHOST_GCC_UNROLL_PRAGMA'
- elif (toolchain == 'clang' and cc.version().version_compare('>=3.7.0'))
- cflags += '-DVHOST_CLANG_UNROLL_PRAGMA'
- elif (toolchain == 'icc' and cc.version().version_compare('>=16.0.0'))
- cflags += '-DVHOST_ICC_UNROLL_PRAGMA'
- endif
- endif
- endif
- sources += files('virtio_rxtx_simple_sse.c')
+ if not machine_args.contains('-mno-avx512f')
+ if cc.has_argument('-mavx512f') and cc.has_argument('-mavx512vl') and cc.has_argument('-mavx512bw')
+ cflags += ['-DCC_AVX512_SUPPORT']
+ virtio_avx512_lib = static_library('virtio_avx512_lib',
+ 'virtio_rxtx_packed.c',
+ dependencies: [static_rte_ethdev,
+ static_rte_kvargs, static_rte_bus_pci],
+ include_directories: includes,
+ c_args: [cflags, '-mavx512f', '-mavx512bw', '-mavx512vl'])
+ objs += virtio_avx512_lib.extract_objects('virtio_rxtx_packed.c')
+ if (toolchain == 'gcc' and cc.version().version_compare('>=8.3.0'))
+ cflags += '-DVHOST_GCC_UNROLL_PRAGMA'
+ elif (toolchain == 'clang' and cc.version().version_compare('>=3.7.0'))
+ cflags += '-DVHOST_CLANG_UNROLL_PRAGMA'
+ elif (toolchain == 'icc' and cc.version().version_compare('>=16.0.0'))
+ cflags += '-DVHOST_ICC_UNROLL_PRAGMA'
+ endif
+ endif
+ endif
+ sources += files('virtio_rxtx_simple_sse.c')
elif arch_subdir == 'ppc'
- sources += files('virtio_rxtx_simple_altivec.c')
+ sources += files('virtio_rxtx_simple_altivec.c')
elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
- sources += files('virtio_rxtx_packed.c')
- sources += files('virtio_rxtx_simple_neon.c')
+ sources += files('virtio_rxtx_packed.c')
+ sources += files('virtio_rxtx_simple_neon.c')
endif
if is_linux
- sources += files('virtio_user_ethdev.c',
- 'virtio_user/vhost_kernel.c',
- 'virtio_user/vhost_kernel_tap.c',
- 'virtio_user/vhost_user.c',
- 'virtio_user/vhost_vdpa.c',
- 'virtio_user/virtio_user_dev.c')
- deps += ['bus_vdev']
+ sources += files('virtio_user_ethdev.c',
+ 'virtio_user/vhost_kernel.c',
+ 'virtio_user/vhost_kernel_tap.c',
+ 'virtio_user/vhost_user.c',
+ 'virtio_user/vhost_vdpa.c',
+ 'virtio_user/virtio_user_dev.c')
+ deps += ['bus_vdev']
endif
diff --git a/drivers/net/vmxnet3/meson.build b/drivers/net/vmxnet3/meson.build
index 124238666c..1139281e51 100644
--- a/drivers/net/vmxnet3/meson.build
+++ b/drivers/net/vmxnet3/meson.build
@@ -2,18 +2,18 @@
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
if is_windows
- build = false
- reason = 'not supported on Windows'
- subdir_done()
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
endif
sources += files(
- 'vmxnet3_ethdev.c',
- 'vmxnet3_rxtx.c',
+ 'vmxnet3_ethdev.c',
+ 'vmxnet3_rxtx.c',
)
error_cflags = [
- '-Wno-unused-parameter', '-Wno-unused-value',
+ '-Wno-unused-parameter', '-Wno-unused-value',
'-Wno-strict-aliasing', '-Wno-format-extra-args',
]
foreach flag: error_cflags
diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build
index 3549afafa1..a7e7f4b711 100644
--- a/drivers/raw/ifpga/base/meson.build
+++ b/drivers/raw/ifpga/base/meson.build
@@ -2,42 +2,42 @@
# Copyright(c) 2018 Intel Corporation
sources = [
- 'ifpga_api.c',
- 'ifpga_enumerate.c',
- 'ifpga_feature_dev.c',
- 'ifpga_fme.c',
- 'ifpga_fme_iperf.c',
- 'ifpga_fme_dperf.c',
- 'ifpga_fme_error.c',
- 'ifpga_port.c',
- 'ifpga_port_error.c',
- 'ifpga_fme_pr.c',
- 'ifpga_fme_rsu.c',
- 'ifpga_sec_mgr.c',
- 'opae_hw_api.c',
- 'opae_ifpga_hw_api.c',
- 'opae_debug.c',
- 'opae_spi.c',
- 'opae_spi_transaction.c',
- 'opae_intel_max10.c',
- 'opae_i2c.c',
- 'opae_at24_eeprom.c',
- 'opae_eth_group.c',
+ 'ifpga_api.c',
+ 'ifpga_enumerate.c',
+ 'ifpga_feature_dev.c',
+ 'ifpga_fme.c',
+ 'ifpga_fme_iperf.c',
+ 'ifpga_fme_dperf.c',
+ 'ifpga_fme_error.c',
+ 'ifpga_port.c',
+ 'ifpga_port_error.c',
+ 'ifpga_fme_pr.c',
+ 'ifpga_fme_rsu.c',
+ 'ifpga_sec_mgr.c',
+ 'opae_hw_api.c',
+ 'opae_ifpga_hw_api.c',
+ 'opae_debug.c',
+ 'opae_spi.c',
+ 'opae_spi_transaction.c',
+ 'opae_intel_max10.c',
+ 'opae_i2c.c',
+ 'opae_at24_eeprom.c',
+ 'opae_eth_group.c',
]
rtdep = dependency('librt', required: false)
if not rtdep.found()
- rtdep = cc.find_library('librt', required: false)
+ rtdep = cc.find_library('librt', required: false)
endif
if not rtdep.found()
- build = false
- reason = 'missing dependency, "librt"'
- subdir_done()
+ build = false
+ reason = 'missing dependency, "librt"'
+ subdir_done()
endif
ext_deps += rtdep
base_lib = static_library('ifpga_rawdev_base', sources,
- dependencies: static_rte_eal,
- c_args: cflags)
+ dependencies: static_rte_eal,
+ c_args: cflags)
base_objs = base_lib.extract_all_objects()
diff --git a/drivers/raw/ifpga/meson.build b/drivers/raw/ifpga/meson.build
index 60ea59ae28..aeccc1796d 100644
--- a/drivers/raw/ifpga/meson.build
+++ b/drivers/raw/ifpga/meson.build
@@ -2,16 +2,16 @@
# Copyright(c) 2018 Intel Corporation
if has_libfdt == 0
- build = false
- reason = 'missing dependency, "libfdt"'
- subdir_done()
+ build = false
+ reason = 'missing dependency, "libfdt"'
+ subdir_done()
endif
subdir('base')
objs = [base_objs]
deps += ['ethdev', 'rawdev', 'pci', 'bus_pci', 'kvargs',
- 'bus_vdev', 'bus_ifpga', 'net', 'net_i40e', 'net_ipn3ke']
+ 'bus_vdev', 'bus_ifpga', 'net', 'net_i40e', 'net_ipn3ke']
sources = files('ifpga_rawdev.c', 'rte_pmd_ifpga.c')
diff --git a/drivers/raw/ioat/meson.build b/drivers/raw/ioat/meson.build
index 6fbae05b78..9599b879c9 100644
--- a/drivers/raw/ioat/meson.build
+++ b/drivers/raw/ioat/meson.build
@@ -4,15 +4,15 @@
build = dpdk_conf.has('RTE_ARCH_X86')
reason = 'only supported on x86'
sources = files(
- 'idxd_pci.c',
- 'idxd_vdev.c',
- 'ioat_common.c',
- 'ioat_rawdev.c',
- 'ioat_rawdev_test.c')
+ 'idxd_pci.c',
+ 'idxd_vdev.c',
+ 'ioat_common.c',
+ 'ioat_rawdev.c',
+ 'ioat_rawdev_test.c')
deps += ['bus_pci',
- 'bus_vdev',
- 'mbuf',
- 'rawdev']
+ 'bus_vdev',
+ 'mbuf',
+ 'rawdev']
headers = files('rte_ioat_rawdev.h',
- 'rte_ioat_rawdev_fns.h')
+ 'rte_ioat_rawdev_fns.h')
diff --git a/drivers/raw/ntb/meson.build b/drivers/raw/ntb/meson.build
index 1b7c6eb449..bfe0b0e366 100644
--- a/drivers/raw/ntb/meson.build
+++ b/drivers/raw/ntb/meson.build
@@ -2,7 +2,7 @@
# Copyright(c) 2019 Intel Corporation.
deps += ['rawdev', 'mbuf', 'mempool',
- 'pci', 'bus_pci']
+ 'pci', 'bus_pci']
sources = files('ntb.c',
'ntb_hw_intel.c')
headers = files('rte_pmd_ntb.h')
diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build
index 11f74680a5..e744fccaae 100644
--- a/drivers/raw/octeontx2_dma/meson.build
+++ b/drivers/raw/octeontx2_dma/meson.build
@@ -8,11 +8,11 @@ sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c')
extra_flags = []
# This integrated controller runs only on a arm64 machine, remove 32bit warnings
if not dpdk_conf.get('RTE_ARCH_64')
- extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
+ extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
endif
foreach flag: extra_flags
- if cc.has_argument(flag)
- cflags += flag
- endif
+ if cc.has_argument(flag)
+ cflags += flag
+ endif
endforeach
diff --git a/drivers/raw/octeontx2_ep/meson.build b/drivers/raw/octeontx2_ep/meson.build
index 0e6338f76b..fed71db5e8 100644
--- a/drivers/raw/octeontx2_ep/meson.build
+++ b/drivers/raw/octeontx2_ep/meson.build
@@ -4,6 +4,6 @@
deps += ['bus_pci', 'common_octeontx2', 'rawdev']
sources = files('otx2_ep_rawdev.c',
- 'otx2_ep_enqdeq.c',
- 'otx2_ep_test.c',
- 'otx2_ep_vf.c')
+ 'otx2_ep_enqdeq.c',
+ 'otx2_ep_test.c',
+ 'otx2_ep_vf.c')
diff --git a/drivers/regex/mlx5/meson.build b/drivers/regex/mlx5/meson.build
index 87e9611812..cd8da347f2 100644
--- a/drivers/regex/mlx5/meson.build
+++ b/drivers/regex/mlx5/meson.build
@@ -2,28 +2,28 @@
# Copyright 2020 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
deps += ['common_mlx5', 'eal', 'regexdev']
sources = files(
- 'mlx5_regex.c',
- 'mlx5_rxp.c',
- 'mlx5_regex_devx.c',
- 'mlx5_regex_control.c',
- 'mlx5_regex_fastpath.c',
+ 'mlx5_regex.c',
+ 'mlx5_rxp.c',
+ 'mlx5_regex_devx.c',
+ 'mlx5_regex_control.c',
+ 'mlx5_regex_fastpath.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
diff --git a/drivers/regex/octeontx2/meson.build b/drivers/regex/octeontx2/meson.build
index 6ccc8589a7..55af764b90 100644
--- a/drivers/regex/octeontx2/meson.build
+++ b/drivers/regex/octeontx2/meson.build
@@ -3,24 +3,24 @@
#
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
lib = cc.find_library('librxp_compiler', required: false)
if lib.found()
- ext_deps += lib
- ext_deps += cc.find_library('libstdc++', required: true)
- includes += include_directories(inc_dir)
- cflags += ['-DREE_COMPILER_SDK']
+ ext_deps += lib
+ ext_deps += cc.find_library('libstdc++', required: true)
+ includes += include_directories(inc_dir)
+ cflags += ['-DREE_COMPILER_SDK']
endif
sources = files('otx2_regexdev.c',
- 'otx2_regexdev_hw_access.c',
- 'otx2_regexdev_mbox.c',
- 'otx2_regexdev_compiler.c'
- )
+ 'otx2_regexdev_hw_access.c',
+ 'otx2_regexdev_mbox.c',
+ 'otx2_regexdev_compiler.c'
+ )
deps += ['bus_pci', 'common_octeontx2', 'regexdev']
diff --git a/drivers/vdpa/mlx5/meson.build b/drivers/vdpa/mlx5/meson.build
index a83ca86b3f..642a723195 100644
--- a/drivers/vdpa/mlx5/meson.build
+++ b/drivers/vdpa/mlx5/meson.build
@@ -2,35 +2,35 @@
# Copyright 2019 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
deps += ['hash', 'common_mlx5', 'vhost', 'pci', 'eal', 'sched']
sources = files(
- 'mlx5_vdpa.c',
- 'mlx5_vdpa_mem.c',
- 'mlx5_vdpa_event.c',
- 'mlx5_vdpa_virtq.c',
- 'mlx5_vdpa_steer.c',
- 'mlx5_vdpa_lm.c',
+ 'mlx5_vdpa.c',
+ 'mlx5_vdpa_mem.c',
+ 'mlx5_vdpa_event.c',
+ 'mlx5_vdpa_virtq.c',
+ 'mlx5_vdpa_steer.c',
+ 'mlx5_vdpa_lm.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
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 11/14] examples: change meson file tabs to spaces
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (9 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 10/14] drivers: " Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 12/14] app: " Bruce Richardson
` (6 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Switch from using tabs to 4 spaces for meson.build indentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
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(-)
diff --git a/examples/bbdev_app/meson.build b/examples/bbdev_app/meson.build
index 8e06a8a235..df8ee6842c 100644
--- a/examples/bbdev_app/meson.build
+++ b/examples/bbdev_app/meson.build
@@ -9,5 +9,5 @@
deps += 'bbdev'
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/bond/meson.build b/examples/bond/meson.build
index 69382ffcd2..eba94bfe8a 100644
--- a/examples/bond/meson.build
+++ b/examples/bond/meson.build
@@ -9,5 +9,5 @@
deps += 'net_bond'
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/cmdline/meson.build b/examples/cmdline/meson.build
index 7de0f16251..04b2995aa6 100644
--- a/examples/cmdline/meson.build
+++ b/examples/cmdline/meson.build
@@ -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'
)
diff --git a/examples/distributor/meson.build b/examples/distributor/meson.build
index d8dbc235fb..52e91ee784 100644
--- a/examples/distributor/meson.build
+++ b/examples/distributor/meson.build
@@ -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'
)
diff --git a/examples/ethtool/meson.build b/examples/ethtool/meson.build
index 4d08bc4c57..1b57daaff1 100644
--- a/examples/ethtool/meson.build
+++ b/examples/ethtool/meson.build
@@ -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
diff --git a/examples/eventdev_pipeline/meson.build b/examples/eventdev_pipeline/meson.build
index 1dfeba0d3f..ca983aa056 100644
--- a/examples/eventdev_pipeline/meson.build
+++ b/examples/eventdev_pipeline/meson.build
@@ -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'
)
diff --git a/examples/fips_validation/meson.build b/examples/fips_validation/meson.build
index e2745d2786..6cdffc82f6 100644
--- a/examples/fips_validation/meson.build
+++ b/examples/fips_validation/meson.build
@@ -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'
)
diff --git a/examples/flow_classify/meson.build b/examples/flow_classify/meson.build
index 56472e6819..c2364aa2f4 100644
--- a/examples/flow_classify/meson.build
+++ b/examples/flow_classify/meson.build
@@ -9,5 +9,5 @@
deps += 'flow_classify'
allow_experimental_apis = true
sources = files(
- 'flow_classify.c'
+ 'flow_classify.c'
)
diff --git a/examples/flow_filtering/meson.build b/examples/flow_filtering/meson.build
index 6f5d1b08a9..cde1ef8ecd 100644
--- a/examples/flow_filtering/meson.build
+++ b/examples/flow_filtering/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c',
+ 'main.c',
)
diff --git a/examples/helloworld/meson.build b/examples/helloworld/meson.build
index 2b0a250361..0b893d2144 100644
--- a/examples/helloworld/meson.build
+++ b/examples/helloworld/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/ioat/meson.build b/examples/ioat/meson.build
index e348196ba3..24057d9c1c 100644
--- a/examples/ioat/meson.build
+++ b/examples/ioat/meson.build
@@ -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'
)
diff --git a/examples/ip_fragmentation/meson.build b/examples/ip_fragmentation/meson.build
index 1230db4776..336a1fcb70 100644
--- a/examples/ip_fragmentation/meson.build
+++ b/examples/ip_fragmentation/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += ['ip_frag', 'lpm']
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/ip_pipeline/meson.build b/examples/ip_pipeline/meson.build
index 945e28b58b..23c785cb47 100644
--- a/examples/ip_pipeline/meson.build
+++ b/examples/ip_pipeline/meson.build
@@ -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'
)
diff --git a/examples/ip_reassembly/meson.build b/examples/ip_reassembly/meson.build
index 517bd4e19a..bf5eab6f0a 100644
--- a/examples/ip_reassembly/meson.build
+++ b/examples/ip_reassembly/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += ['lpm', 'ip_frag']
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/ipsec-secgw/meson.build b/examples/ipsec-secgw/meson.build
index d0373dab53..298a32bf64 100644
--- a/examples/ipsec-secgw/meson.build
+++ b/examples/ipsec-secgw/meson.build
@@ -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'
)
diff --git a/examples/ipv4_multicast/meson.build b/examples/ipv4_multicast/meson.build
index 7dc13fb8fc..a3f6673046 100644
--- a/examples/ipv4_multicast/meson.build
+++ b/examples/ipv4_multicast/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += 'hash'
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/kni/meson.build b/examples/kni/meson.build
index e119eebabb..e782f458d0 100644
--- a/examples/kni/meson.build
+++ b/examples/kni/meson.build
@@ -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
diff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build
index 60169bcbda..3b48a0972a 100644
--- a/examples/l2fwd-cat/meson.build
+++ b/examples/l2fwd-cat/meson.build
@@ -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'
)
diff --git a/examples/l2fwd-crypto/meson.build b/examples/l2fwd-crypto/meson.build
index 1813f015b2..8fe4c451dc 100644
--- a/examples/l2fwd-crypto/meson.build
+++ b/examples/l2fwd-crypto/meson.build
@@ -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'
)
diff --git a/examples/l2fwd-event/meson.build b/examples/l2fwd-event/meson.build
index 4a546eaf81..2388f59e91 100644
--- a/examples/l2fwd-event/meson.build
+++ b/examples/l2fwd-event/meson.build
@@ -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'
)
diff --git a/examples/l2fwd-jobstats/meson.build b/examples/l2fwd-jobstats/meson.build
index 72273736b6..a42914025f 100644
--- a/examples/l2fwd-jobstats/meson.build
+++ b/examples/l2fwd-jobstats/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += ['jobstats', 'timer']
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/l2fwd-keepalive/meson.build b/examples/l2fwd-keepalive/meson.build
index a56d679675..3ca5b6fd9c 100644
--- a/examples/l2fwd-keepalive/meson.build
+++ b/examples/l2fwd-keepalive/meson.build
@@ -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'
)
diff --git a/examples/l2fwd/meson.build b/examples/l2fwd/meson.build
index 50d88caa0a..f50bf0927b 100644
--- a/examples/l2fwd/meson.build
+++ b/examples/l2fwd/meson.build
@@ -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'
)
diff --git a/examples/l3fwd-acl/meson.build b/examples/l3fwd-acl/meson.build
index 6fa468b3aa..b0b42afcba 100644
--- a/examples/l3fwd-acl/meson.build
+++ b/examples/l3fwd-acl/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += ['acl', 'lpm', 'hash']
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/l3fwd-graph/meson.build b/examples/l3fwd-graph/meson.build
index a816bd8903..2550bdea7c 100644
--- a/examples/l3fwd-graph/meson.build
+++ b/examples/l3fwd-graph/meson.build
@@ -8,6 +8,6 @@
deps += ['graph', 'eal', 'lpm', 'ethdev', 'node' ]
sources = files(
- 'main.c'
+ 'main.c'
)
allow_experimental_apis = true
diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build
index eb8aef306a..b4cb93c9c4 100644
--- a/examples/l3fwd-power/meson.build
+++ b/examples/l3fwd-power/meson.build
@@ -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'
)
diff --git a/examples/l3fwd/meson.build b/examples/l3fwd/meson.build
index 7d72b1b365..05b2ba45f0 100644
--- a/examples/l3fwd/meson.build
+++ b/examples/l3fwd/meson.build
@@ -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'
)
diff --git a/examples/link_status_interrupt/meson.build b/examples/link_status_interrupt/meson.build
index 2b0a250361..0b893d2144 100644
--- a/examples/link_status_interrupt/meson.build
+++ b/examples/link_status_interrupt/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/multi_process/client_server_mp/mp_client/meson.build b/examples/multi_process/client_server_mp/mp_client/meson.build
index 69c3d3bfbe..e9edb216ee 100644
--- a/examples/multi_process/client_server_mp/mp_client/meson.build
+++ b/examples/multi_process/client_server_mp/mp_client/meson.build
@@ -10,5 +10,5 @@ includes += include_directories('../shared')
allow_experimental_apis = true
sources = files(
- 'client.c'
+ 'client.c'
)
diff --git a/examples/multi_process/client_server_mp/mp_server/meson.build b/examples/multi_process/client_server_mp/mp_server/meson.build
index 0ef6424f4b..a166a0fb97 100644
--- a/examples/multi_process/client_server_mp/mp_server/meson.build
+++ b/examples/multi_process/client_server_mp/mp_server/meson.build
@@ -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'
)
diff --git a/examples/multi_process/hotplug_mp/meson.build b/examples/multi_process/hotplug_mp/meson.build
index f82f4d48a2..821e6d6bb2 100644
--- a/examples/multi_process/hotplug_mp/meson.build
+++ b/examples/multi_process/hotplug_mp/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'commands.c', 'main.c'
+ 'commands.c', 'main.c'
)
diff --git a/examples/multi_process/simple_mp/meson.build b/examples/multi_process/simple_mp/meson.build
index cb02c65a69..6b4ee638d3 100644
--- a/examples/multi_process/simple_mp/meson.build
+++ b/examples/multi_process/simple_mp/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'mp_commands.c', 'main.c'
+ 'mp_commands.c', 'main.c'
)
diff --git a/examples/multi_process/symmetric_mp/meson.build b/examples/multi_process/symmetric_mp/meson.build
index 14167825b0..201558f89c 100644
--- a/examples/multi_process/symmetric_mp/meson.build
+++ b/examples/multi_process/symmetric_mp/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/ntb/meson.build b/examples/ntb/meson.build
index 02be9fc80d..6010458e9d 100644
--- a/examples/ntb/meson.build
+++ b/examples/ntb/meson.build
@@ -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
diff --git a/examples/packet_ordering/meson.build b/examples/packet_ordering/meson.build
index b381959145..99dd1bb76f 100644
--- a/examples/packet_ordering/meson.build
+++ b/examples/packet_ordering/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += 'reorder'
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/performance-thread/l3fwd-thread/meson.build b/examples/performance-thread/l3fwd-thread/meson.build
index 4858b201e4..58d4e96a45 100644
--- a/examples/performance-thread/l3fwd-thread/meson.build
+++ b/examples/performance-thread/l3fwd-thread/meson.build
@@ -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)
diff --git a/examples/performance-thread/pthread_shim/meson.build b/examples/performance-thread/pthread_shim/meson.build
index d499799307..866e6c94e8 100644
--- a/examples/performance-thread/pthread_shim/meson.build
+++ b/examples/performance-thread/pthread_shim/meson.build
@@ -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)
diff --git a/examples/pipeline/meson.build b/examples/pipeline/meson.build
index 4f5925d7cf..02c0944f5a 100644
--- a/examples/pipeline/meson.build
+++ b/examples/pipeline/meson.build
@@ -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',
)
diff --git a/examples/ptpclient/meson.build b/examples/ptpclient/meson.build
index d4171a2183..abe1961959 100644
--- a/examples/ptpclient/meson.build
+++ b/examples/ptpclient/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'ptpclient.c'
+ 'ptpclient.c'
)
diff --git a/examples/qos_meter/meson.build b/examples/qos_meter/meson.build
index 2f9ab13afd..43fff9cada 100644
--- a/examples/qos_meter/meson.build
+++ b/examples/qos_meter/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += 'meter'
sources = files(
- 'main.c', 'rte_policer.c'
+ 'main.c', 'rte_policer.c'
)
diff --git a/examples/qos_sched/meson.build b/examples/qos_sched/meson.build
index ba59d3c9e5..ef8e40739c 100644
--- a/examples/qos_sched/meson.build
+++ b/examples/qos_sched/meson.build
@@ -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'
)
diff --git a/examples/rxtx_callbacks/meson.build b/examples/rxtx_callbacks/meson.build
index a7bf12dd3a..12b41f59f1 100644
--- a/examples/rxtx_callbacks/meson.build
+++ b/examples/rxtx_callbacks/meson.build
@@ -10,5 +10,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/service_cores/meson.build b/examples/service_cores/meson.build
index 2b0a250361..0b893d2144 100644
--- a/examples/service_cores/meson.build
+++ b/examples/service_cores/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/skeleton/meson.build b/examples/skeleton/meson.build
index ef46b187e7..7e0b7d1122 100644
--- a/examples/skeleton/meson.build
+++ b/examples/skeleton/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'basicfwd.c'
+ 'basicfwd.c'
)
diff --git a/examples/timer/meson.build b/examples/timer/meson.build
index 87c21a8679..e03b692667 100644
--- a/examples/timer/meson.build
+++ b/examples/timer/meson.build
@@ -9,5 +9,5 @@
allow_experimental_apis = true
deps += 'timer'
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/vdpa/meson.build b/examples/vdpa/meson.build
index 26f6089c92..3ddbbc1265 100644
--- a/examples/vdpa/meson.build
+++ b/examples/vdpa/meson.build
@@ -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'
)
diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build
index 9d9947c585..41ab9cfb1f 100644
--- a/examples/vhost/meson.build
+++ b/examples/vhost/meson.build
@@ -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
diff --git a/examples/vhost_blk/meson.build b/examples/vhost_blk/meson.build
index 354ba05848..ad61577693 100644
--- a/examples/vhost_blk/meson.build
+++ b/examples/vhost_blk/meson.build
@@ -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'
)
diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build
index 403f210983..d379ba0787 100644
--- a/examples/vhost_crypto/meson.build
+++ b/examples/vhost_crypto/meson.build
@@ -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'
)
diff --git a/examples/vm_power_manager/guest_cli/meson.build b/examples/vm_power_manager/guest_cli/meson.build
index cd95266018..6ac09ef025 100644
--- a/examples/vm_power_manager/guest_cli/meson.build
+++ b/examples/vm_power_manager/guest_cli/meson.build
@@ -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
diff --git a/examples/vm_power_manager/meson.build b/examples/vm_power_manager/meson.build
index 637bd23235..67e72a222b 100644
--- a/examples/vm_power_manager/meson.build
+++ b/examples/vm_power_manager/meson.build
@@ -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
diff --git a/examples/vmdq/meson.build b/examples/vmdq/meson.build
index 2b0a250361..0b893d2144 100644
--- a/examples/vmdq/meson.build
+++ b/examples/vmdq/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
diff --git a/examples/vmdq_dcb/meson.build b/examples/vmdq_dcb/meson.build
index 2b0a250361..0b893d2144 100644
--- a/examples/vmdq_dcb/meson.build
+++ b/examples/vmdq_dcb/meson.build
@@ -8,5 +8,5 @@
allow_experimental_apis = true
sources = files(
- 'main.c'
+ 'main.c'
)
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 12/14] app: change meson file tabs to spaces
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (10 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 11/14] examples: " Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 13/14] lib: remove librte_ prefix from directory names Bruce Richardson
` (5 subsequent siblings)
17 siblings, 0 replies; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
Switch from using tabs to 4 spaces for meson.build indentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
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(-)
diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build
index 6d50e03396..6fafd55b92 100644
--- a/app/test-bbdev/meson.build
+++ b/app/test-bbdev/meson.build
@@ -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
diff --git a/app/test-compress-perf/meson.build b/app/test-compress-perf/meson.build
index a1a484da9a..4dbf1c78f3 100644
--- a/app/test-compress-perf/meson.build
+++ b/app/test-compress-perf/meson.build
@@ -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']
diff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build
index 558c648788..b974161c76 100644
--- a/app/test-crypto-perf/meson.build
+++ b/app/test-crypto-perf/meson.build
@@ -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
diff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build
index 9e588d9ec7..edb3f293f2 100644
--- a/app/test-eventdev/meson.build
+++ b/app/test-eventdev/meson.build
@@ -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'
diff --git a/app/test-flow-perf/meson.build b/app/test-flow-perf/meson.build
index 6eaf83b41a..2cfb03963f 100644
--- a/app/test-flow-perf/meson.build
+++ b/app/test-flow-perf/meson.build
@@ -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']
diff --git a/app/test-pipeline/meson.build b/app/test-pipeline/meson.build
index d5eddaba99..bfe9b0e246 100644
--- a/app/test-pipeline/meson.build
+++ b/app/test-pipeline/meson.build
@@ -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']
diff --git a/app/test-pmd/meson.build b/app/test-pmd/meson.build
index 7e9c7bdd69..3adadbd98a 100644
--- a/app/test-pmd/meson.build
+++ b/app/test-pmd/meson.build
@@ -5,57 +5,57 @@
name = 'testpmd'
cflags += '-Wno-deprecated-declarations'
sources = files('5tswap.c',
- 'cmdline.c',
- 'cmdline_flow.c',
- 'cmdline_mtr.c',
- 'cmdline_tm.c',
- 'config.c',
- 'csumonly.c',
- 'flowgen.c',
- 'icmpecho.c',
- 'ieee1588fwd.c',
- 'iofwd.c',
- 'macfwd.c',
- 'macswap.c',
- 'noisy_vnf.c',
- 'parameters.c',
- 'rxonly.c',
- 'testpmd.c',
- 'txonly.c',
- 'util.c')
+ 'cmdline.c',
+ 'cmdline_flow.c',
+ 'cmdline_mtr.c',
+ 'cmdline_tm.c',
+ 'config.c',
+ 'csumonly.c',
+ 'flowgen.c',
+ 'icmpecho.c',
+ 'ieee1588fwd.c',
+ 'iofwd.c',
+ 'macfwd.c',
+ 'macswap.c',
+ 'noisy_vnf.c',
+ 'parameters.c',
+ 'rxonly.c',
+ 'testpmd.c',
+ 'txonly.c',
+ 'util.c')
deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
- deps += 'bitratestats'
+ deps += 'bitratestats'
endif
if dpdk_conf.has('RTE_LIB_PDUMP')
- deps += 'pdump'
+ deps += 'pdump'
endif
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
- deps += 'bitratestats'
+ deps += 'bitratestats'
endif
if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
- deps += 'latencystats'
+ deps += 'latencystats'
endif
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
- deps += 'crypto_scheduler'
+ deps += 'crypto_scheduler'
endif
if dpdk_conf.has('RTE_NET_BOND')
- deps += 'net_bond'
+ deps += 'net_bond'
endif
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
if dpdk_conf.has('RTE_NET_DPAA')
- deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
+ deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
endif
if dpdk_conf.has('RTE_LIB_BPF')
- sources += files('bpf_cmd.c')
- deps += 'bpf'
+ sources += files('bpf_cmd.c')
+ deps += 'bpf'
endif
diff --git a/app/test/meson.build b/app/test/meson.build
index 76eaaea457..4e068b1530 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -2,340 +2,340 @@
# Copyright(c) 2017 Intel Corporation
if not get_option('tests')
- subdir_done()
+ subdir_done()
endif
test_sources = files('commands.c',
- 'packet_burst_generator.c',
- 'test.c',
- 'test_acl.c',
- 'test_alarm.c',
- 'test_atomic.c',
- 'test_barrier.c',
- 'test_bitops.c',
- 'test_bitmap.c',
- 'test_bpf.c',
- 'test_byteorder.c',
- 'test_cmdline.c',
- 'test_cmdline_cirbuf.c',
- 'test_cmdline_etheraddr.c',
- 'test_cmdline_ipaddr.c',
- 'test_cmdline_lib.c',
- 'test_cmdline_num.c',
- 'test_cmdline_portlist.c',
- 'test_cmdline_string.c',
- 'test_common.c',
- 'test_cpuflags.c',
- 'test_crc.c',
- 'test_cryptodev.c',
- 'test_cryptodev_asym.c',
- 'test_cryptodev_blockcipher.c',
- 'test_cryptodev_security_pdcp.c',
- 'test_cycles.c',
- 'test_debug.c',
- 'test_distributor.c',
- 'test_distributor_perf.c',
- 'test_eal_flags.c',
- 'test_eal_fs.c',
- 'test_efd.c',
- 'test_efd_perf.c',
- 'test_errno.c',
- 'test_ethdev_link.c',
- 'test_event_crypto_adapter.c',
- 'test_event_eth_rx_adapter.c',
- 'test_event_ring.c',
- 'test_event_timer_adapter.c',
- 'test_eventdev.c',
- 'test_external_mem.c',
- 'test_fbarray.c',
- 'test_fib.c',
- 'test_fib_perf.c',
- 'test_fib6.c',
- 'test_fib6_perf.c',
- 'test_func_reentrancy.c',
- 'test_flow_classify.c',
- 'test_graph.c',
- 'test_graph_perf.c',
- 'test_hash.c',
- 'test_hash_functions.c',
- 'test_hash_multiwriter.c',
- 'test_hash_readwrite.c',
- 'test_hash_perf.c',
- 'test_hash_readwrite_lf_perf.c',
- 'test_interrupts.c',
- 'test_ipfrag.c',
- 'test_ipsec.c',
- 'test_ipsec_sad.c',
- 'test_ipsec_perf.c',
- 'test_kni.c',
- 'test_kvargs.c',
- 'test_lcores.c',
- 'test_logs.c',
- 'test_lpm.c',
- 'test_lpm6.c',
- 'test_lpm6_perf.c',
- 'test_lpm_perf.c',
- 'test_malloc.c',
- 'test_mbuf.c',
- 'test_member.c',
- 'test_member_perf.c',
- 'test_memcpy.c',
- 'test_memcpy_perf.c',
- 'test_memory.c',
- 'test_mempool.c',
- 'test_mempool_perf.c',
- 'test_memzone.c',
- 'test_meter.c',
- 'test_metrics.c',
- 'test_mcslock.c',
- 'test_mp_secondary.c',
- 'test_per_lcore.c',
- 'test_pmd_perf.c',
- 'test_power.c',
- 'test_power_cpufreq.c',
- 'test_power_kvm_vm.c',
- 'test_prefetch.c',
- 'test_rand_perf.c',
- 'test_rawdev.c',
- 'test_rcu_qsbr.c',
- 'test_rcu_qsbr_perf.c',
- 'test_reciprocal_division.c',
- 'test_reciprocal_division_perf.c',
- 'test_red.c',
- 'test_reorder.c',
- 'test_rib.c',
- 'test_rib6.c',
- 'test_ring.c',
- 'test_ring_mpmc_stress.c',
- 'test_ring_hts_stress.c',
- 'test_ring_mt_peek_stress.c',
- 'test_ring_mt_peek_stress_zc.c',
- 'test_ring_perf.c',
- 'test_ring_rts_stress.c',
- 'test_ring_st_peek_stress.c',
- 'test_ring_st_peek_stress_zc.c',
- 'test_ring_stress.c',
- 'test_rwlock.c',
- 'test_sched.c',
- 'test_security.c',
- 'test_service_cores.c',
- 'test_spinlock.c',
- 'test_stack.c',
- 'test_stack_perf.c',
- 'test_string_fns.c',
- 'test_table.c',
- 'test_table_acl.c',
- 'test_table_combined.c',
- 'test_table_pipeline.c',
- 'test_table_ports.c',
- 'test_table_tables.c',
- 'test_tailq.c',
- 'test_thash.c',
- 'test_timer.c',
- 'test_timer_perf.c',
- 'test_timer_racecond.c',
- 'test_timer_secondary.c',
- 'test_ticketlock.c',
- 'test_trace.c',
- 'test_trace_register.c',
- 'test_trace_perf.c',
- 'test_version.c',
- 'virtual_pmd.c'
+ 'packet_burst_generator.c',
+ 'test.c',
+ 'test_acl.c',
+ 'test_alarm.c',
+ 'test_atomic.c',
+ 'test_barrier.c',
+ 'test_bitops.c',
+ 'test_bitmap.c',
+ 'test_bpf.c',
+ 'test_byteorder.c',
+ 'test_cmdline.c',
+ 'test_cmdline_cirbuf.c',
+ 'test_cmdline_etheraddr.c',
+ 'test_cmdline_ipaddr.c',
+ 'test_cmdline_lib.c',
+ 'test_cmdline_num.c',
+ 'test_cmdline_portlist.c',
+ 'test_cmdline_string.c',
+ 'test_common.c',
+ 'test_cpuflags.c',
+ 'test_crc.c',
+ 'test_cryptodev.c',
+ 'test_cryptodev_asym.c',
+ 'test_cryptodev_blockcipher.c',
+ 'test_cryptodev_security_pdcp.c',
+ 'test_cycles.c',
+ 'test_debug.c',
+ 'test_distributor.c',
+ 'test_distributor_perf.c',
+ 'test_eal_flags.c',
+ 'test_eal_fs.c',
+ 'test_efd.c',
+ 'test_efd_perf.c',
+ 'test_errno.c',
+ 'test_ethdev_link.c',
+ 'test_event_crypto_adapter.c',
+ 'test_event_eth_rx_adapter.c',
+ 'test_event_ring.c',
+ 'test_event_timer_adapter.c',
+ 'test_eventdev.c',
+ 'test_external_mem.c',
+ 'test_fbarray.c',
+ 'test_fib.c',
+ 'test_fib_perf.c',
+ 'test_fib6.c',
+ 'test_fib6_perf.c',
+ 'test_func_reentrancy.c',
+ 'test_flow_classify.c',
+ 'test_graph.c',
+ 'test_graph_perf.c',
+ 'test_hash.c',
+ 'test_hash_functions.c',
+ 'test_hash_multiwriter.c',
+ 'test_hash_readwrite.c',
+ 'test_hash_perf.c',
+ 'test_hash_readwrite_lf_perf.c',
+ 'test_interrupts.c',
+ 'test_ipfrag.c',
+ 'test_ipsec.c',
+ 'test_ipsec_sad.c',
+ 'test_ipsec_perf.c',
+ 'test_kni.c',
+ 'test_kvargs.c',
+ 'test_lcores.c',
+ 'test_logs.c',
+ 'test_lpm.c',
+ 'test_lpm6.c',
+ 'test_lpm6_perf.c',
+ 'test_lpm_perf.c',
+ 'test_malloc.c',
+ 'test_mbuf.c',
+ 'test_member.c',
+ 'test_member_perf.c',
+ 'test_memcpy.c',
+ 'test_memcpy_perf.c',
+ 'test_memory.c',
+ 'test_mempool.c',
+ 'test_mempool_perf.c',
+ 'test_memzone.c',
+ 'test_meter.c',
+ 'test_metrics.c',
+ 'test_mcslock.c',
+ 'test_mp_secondary.c',
+ 'test_per_lcore.c',
+ 'test_pmd_perf.c',
+ 'test_power.c',
+ 'test_power_cpufreq.c',
+ 'test_power_kvm_vm.c',
+ 'test_prefetch.c',
+ 'test_rand_perf.c',
+ 'test_rawdev.c',
+ 'test_rcu_qsbr.c',
+ 'test_rcu_qsbr_perf.c',
+ 'test_reciprocal_division.c',
+ 'test_reciprocal_division_perf.c',
+ 'test_red.c',
+ 'test_reorder.c',
+ 'test_rib.c',
+ 'test_rib6.c',
+ 'test_ring.c',
+ 'test_ring_mpmc_stress.c',
+ 'test_ring_hts_stress.c',
+ 'test_ring_mt_peek_stress.c',
+ 'test_ring_mt_peek_stress_zc.c',
+ 'test_ring_perf.c',
+ 'test_ring_rts_stress.c',
+ 'test_ring_st_peek_stress.c',
+ 'test_ring_st_peek_stress_zc.c',
+ 'test_ring_stress.c',
+ 'test_rwlock.c',
+ 'test_sched.c',
+ 'test_security.c',
+ 'test_service_cores.c',
+ 'test_spinlock.c',
+ 'test_stack.c',
+ 'test_stack_perf.c',
+ 'test_string_fns.c',
+ 'test_table.c',
+ 'test_table_acl.c',
+ 'test_table_combined.c',
+ 'test_table_pipeline.c',
+ 'test_table_ports.c',
+ 'test_table_tables.c',
+ 'test_tailq.c',
+ 'test_thash.c',
+ 'test_timer.c',
+ 'test_timer_perf.c',
+ 'test_timer_racecond.c',
+ 'test_timer_secondary.c',
+ 'test_ticketlock.c',
+ 'test_trace.c',
+ 'test_trace_register.c',
+ 'test_trace_perf.c',
+ 'test_version.c',
+ 'virtual_pmd.c'
)
test_deps = ['acl',
- 'bus_pci',
- 'bus_vdev',
- 'bitratestats',
- 'bpf',
- 'cfgfile',
- 'cmdline',
- 'cryptodev',
- 'distributor',
- 'efd',
- 'ethdev',
- 'eventdev',
- 'fib',
- 'flow_classify',
- 'graph',
- 'hash',
- 'ipsec',
- 'latencystats',
- 'lpm',
- 'member',
- 'metrics',
- 'node',
- 'pipeline',
- 'port',
- 'rawdev',
- 'rcu',
- 'reorder',
- 'rib',
- 'ring',
- 'security',
- 'stack',
- 'telemetry',
- 'timer'
+ 'bus_pci',
+ 'bus_vdev',
+ 'bitratestats',
+ 'bpf',
+ 'cfgfile',
+ 'cmdline',
+ 'cryptodev',
+ 'distributor',
+ 'efd',
+ 'ethdev',
+ 'eventdev',
+ 'fib',
+ 'flow_classify',
+ 'graph',
+ 'hash',
+ 'ipsec',
+ 'latencystats',
+ 'lpm',
+ 'member',
+ 'metrics',
+ 'node',
+ 'pipeline',
+ 'port',
+ 'rawdev',
+ 'rcu',
+ 'reorder',
+ 'rib',
+ 'ring',
+ 'security',
+ 'stack',
+ 'telemetry',
+ 'timer'
]
# Each test is marked with flag true/false
# to indicate whether it can run in no-huge mode.
fast_tests = [
- ['acl_autotest', true],
- ['alarm_autotest', false],
- ['atomic_autotest', false],
- ['bitops_autotest', true],
- ['byteorder_autotest', true],
- ['cmdline_autotest', true],
- ['common_autotest', true],
- ['cpuflags_autotest', true],
- ['cycles_autotest', true],
- ['debug_autotest', true],
- ['eal_flags_c_opt_autotest', false],
- ['eal_flags_main_opt_autotest', false],
- ['eal_flags_n_opt_autotest', false],
- ['eal_flags_hpet_autotest', false],
- ['eal_flags_no_huge_autotest', false],
- ['eal_flags_a_opt_autotest', false],
- ['eal_flags_b_opt_autotest', false],
- ['eal_flags_vdev_opt_autotest', false],
- ['eal_flags_r_opt_autotest', false],
- ['eal_flags_mem_autotest', false],
- ['eal_flags_file_prefix_autotest', false],
- ['eal_flags_misc_autotest', false],
- ['eal_fs_autotest', true],
- ['errno_autotest', true],
- ['ethdev_link_status', true],
- ['event_ring_autotest', true],
- ['fib_autotest', true],
- ['fib6_autotest', true],
- ['func_reentrancy_autotest', false],
- ['flow_classify_autotest', false],
- ['hash_autotest', true],
- ['interrupt_autotest', true],
- ['ipfrag_autotest', false],
- ['lcores_autotest', true],
- ['logs_autotest', true],
- ['lpm_autotest', true],
- ['lpm6_autotest', true],
- ['malloc_autotest', false],
- ['mbuf_autotest', false],
- ['mcslock_autotest', false],
- ['memcpy_autotest', true],
- ['memory_autotest', false],
- ['mempool_autotest', false],
- ['memzone_autotest', false],
- ['meter_autotest', true],
- ['multiprocess_autotest', false],
- ['per_lcore_autotest', true],
- ['prefetch_autotest', true],
- ['rcu_qsbr_autotest', true],
- ['red_autotest', true],
- ['rib_autotest', true],
- ['rib6_autotest', true],
- ['ring_autotest', true],
- ['rwlock_test1_autotest', true],
- ['rwlock_rda_autotest', true],
- ['rwlock_rds_wrm_autotest', true],
- ['rwlock_rde_wro_autotest', true],
- ['sched_autotest', true],
- ['security_autotest', false],
- ['spinlock_autotest', true],
- ['stack_autotest', false],
- ['stack_lf_autotest', false],
- ['string_autotest', true],
- ['table_autotest', true],
- ['tailq_autotest', true],
- ['ticketlock_autotest', true],
- ['timer_autotest', false],
- ['user_delay_us', true],
- ['version_autotest', true],
- ['crc_autotest', true],
- ['delay_us_sleep_autotest', true],
- ['distributor_autotest', false],
- ['eventdev_common_autotest', true],
- ['fbarray_autotest', true],
- ['hash_readwrite_func_autotest', false],
- ['ipsec_autotest', true],
- ['kni_autotest', false],
- ['kvargs_autotest', true],
- ['member_autotest', true],
- ['metrics_autotest', true],
- ['power_cpufreq_autotest', false],
- ['power_autotest', true],
- ['power_kvm_vm_autotest', false],
- ['reorder_autotest', true],
- ['service_autotest', true],
- ['thash_autotest', true],
- ['trace_autotest', true],
+ ['acl_autotest', true],
+ ['alarm_autotest', false],
+ ['atomic_autotest', false],
+ ['bitops_autotest', true],
+ ['byteorder_autotest', true],
+ ['cmdline_autotest', true],
+ ['common_autotest', true],
+ ['cpuflags_autotest', true],
+ ['cycles_autotest', true],
+ ['debug_autotest', true],
+ ['eal_flags_c_opt_autotest', false],
+ ['eal_flags_main_opt_autotest', false],
+ ['eal_flags_n_opt_autotest', false],
+ ['eal_flags_hpet_autotest', false],
+ ['eal_flags_no_huge_autotest', false],
+ ['eal_flags_a_opt_autotest', false],
+ ['eal_flags_b_opt_autotest', false],
+ ['eal_flags_vdev_opt_autotest', false],
+ ['eal_flags_r_opt_autotest', false],
+ ['eal_flags_mem_autotest', false],
+ ['eal_flags_file_prefix_autotest', false],
+ ['eal_flags_misc_autotest', false],
+ ['eal_fs_autotest', true],
+ ['errno_autotest', true],
+ ['ethdev_link_status', true],
+ ['event_ring_autotest', true],
+ ['fib_autotest', true],
+ ['fib6_autotest', true],
+ ['func_reentrancy_autotest', false],
+ ['flow_classify_autotest', false],
+ ['hash_autotest', true],
+ ['interrupt_autotest', true],
+ ['ipfrag_autotest', false],
+ ['lcores_autotest', true],
+ ['logs_autotest', true],
+ ['lpm_autotest', true],
+ ['lpm6_autotest', true],
+ ['malloc_autotest', false],
+ ['mbuf_autotest', false],
+ ['mcslock_autotest', false],
+ ['memcpy_autotest', true],
+ ['memory_autotest', false],
+ ['mempool_autotest', false],
+ ['memzone_autotest', false],
+ ['meter_autotest', true],
+ ['multiprocess_autotest', false],
+ ['per_lcore_autotest', true],
+ ['prefetch_autotest', true],
+ ['rcu_qsbr_autotest', true],
+ ['red_autotest', true],
+ ['rib_autotest', true],
+ ['rib6_autotest', true],
+ ['ring_autotest', true],
+ ['rwlock_test1_autotest', true],
+ ['rwlock_rda_autotest', true],
+ ['rwlock_rds_wrm_autotest', true],
+ ['rwlock_rde_wro_autotest', true],
+ ['sched_autotest', true],
+ ['security_autotest', false],
+ ['spinlock_autotest', true],
+ ['stack_autotest', false],
+ ['stack_lf_autotest', false],
+ ['string_autotest', true],
+ ['table_autotest', true],
+ ['tailq_autotest', true],
+ ['ticketlock_autotest', true],
+ ['timer_autotest', false],
+ ['user_delay_us', true],
+ ['version_autotest', true],
+ ['crc_autotest', true],
+ ['delay_us_sleep_autotest', true],
+ ['distributor_autotest', false],
+ ['eventdev_common_autotest', true],
+ ['fbarray_autotest', true],
+ ['hash_readwrite_func_autotest', false],
+ ['ipsec_autotest', true],
+ ['kni_autotest', false],
+ ['kvargs_autotest', true],
+ ['member_autotest', true],
+ ['metrics_autotest', true],
+ ['power_cpufreq_autotest', false],
+ ['power_autotest', true],
+ ['power_kvm_vm_autotest', false],
+ ['reorder_autotest', true],
+ ['service_autotest', true],
+ ['thash_autotest', true],
+ ['trace_autotest', true],
]
perf_test_names = [
- 'ring_perf_autotest',
- 'mempool_perf_autotest',
- 'memcpy_perf_autotest',
- 'hash_perf_autotest',
- 'timer_perf_autotest',
- 'reciprocal_division',
- 'reciprocal_division_perf',
- 'lpm_perf_autotest',
- 'rib_slow_autotest',
- 'fib_slow_autotest',
- 'fib_perf_autotest',
- 'red_all',
- 'barrier_autotest',
- 'hash_multiwriter_autotest',
- 'timer_racecond_autotest',
- 'efd_autotest',
- 'hash_functions_autotest',
- 'member_perf_autotest',
- 'efd_perf_autotest',
- 'lpm6_perf_autotest',
- 'rib6_slow_autotest',
- 'fib6_slow_autotest',
- 'fib6_perf_autotest',
- 'rcu_qsbr_perf_autotest',
- 'red_perf',
- 'distributor_perf_autotest',
- 'pmd_perf_autotest',
- 'stack_perf_autotest',
- 'stack_lf_perf_autotest',
- 'rand_perf_autotest',
- 'hash_readwrite_perf_autotest',
- 'hash_readwrite_lf_perf_autotest',
- 'trace_perf_autotest',
- 'ipsec_perf_autotest',
+ 'ring_perf_autotest',
+ 'mempool_perf_autotest',
+ 'memcpy_perf_autotest',
+ 'hash_perf_autotest',
+ 'timer_perf_autotest',
+ 'reciprocal_division',
+ 'reciprocal_division_perf',
+ 'lpm_perf_autotest',
+ 'rib_slow_autotest',
+ 'fib_slow_autotest',
+ 'fib_perf_autotest',
+ 'red_all',
+ 'barrier_autotest',
+ 'hash_multiwriter_autotest',
+ 'timer_racecond_autotest',
+ 'efd_autotest',
+ 'hash_functions_autotest',
+ 'member_perf_autotest',
+ 'efd_perf_autotest',
+ 'lpm6_perf_autotest',
+ 'rib6_slow_autotest',
+ 'fib6_slow_autotest',
+ 'fib6_perf_autotest',
+ 'rcu_qsbr_perf_autotest',
+ 'red_perf',
+ 'distributor_perf_autotest',
+ 'pmd_perf_autotest',
+ 'stack_perf_autotest',
+ 'stack_lf_perf_autotest',
+ 'rand_perf_autotest',
+ 'hash_readwrite_perf_autotest',
+ 'hash_readwrite_lf_perf_autotest',
+ 'trace_perf_autotest',
+ 'ipsec_perf_autotest',
]
driver_test_names = [
- 'cryptodev_aesni_mb_autotest',
- 'cryptodev_aesni_gcm_autotest',
- 'cryptodev_dpaa_sec_autotest',
- 'cryptodev_dpaa2_sec_autotest',
- 'cryptodev_null_autotest',
- 'cryptodev_octeontx2_autotest',
- 'cryptodev_openssl_autotest',
- 'cryptodev_openssl_asym_autotest',
- 'cryptodev_qat_autotest',
- 'cryptodev_sw_armv8_autotest',
- 'cryptodev_sw_kasumi_autotest',
- 'cryptodev_sw_mvsam_autotest',
- 'cryptodev_sw_snow3g_autotest',
- 'cryptodev_sw_zuc_autotest',
- 'eventdev_selftest_octeontx',
- 'eventdev_selftest_sw',
- 'rawdev_autotest',
+ 'cryptodev_aesni_mb_autotest',
+ 'cryptodev_aesni_gcm_autotest',
+ 'cryptodev_dpaa_sec_autotest',
+ 'cryptodev_dpaa2_sec_autotest',
+ 'cryptodev_null_autotest',
+ 'cryptodev_octeontx2_autotest',
+ 'cryptodev_openssl_autotest',
+ 'cryptodev_openssl_asym_autotest',
+ 'cryptodev_qat_autotest',
+ 'cryptodev_sw_armv8_autotest',
+ 'cryptodev_sw_kasumi_autotest',
+ 'cryptodev_sw_mvsam_autotest',
+ 'cryptodev_sw_snow3g_autotest',
+ 'cryptodev_sw_zuc_autotest',
+ 'eventdev_selftest_octeontx',
+ 'eventdev_selftest_sw',
+ 'rawdev_autotest',
]
dump_test_names = [
- 'dump_struct_sizes',
- 'dump_mempool',
- 'dump_malloc_stats',
- 'dump_devargs',
- 'dump_log_types',
- 'dump_ring',
- 'dump_physmem',
- 'dump_memzone',
+ 'dump_struct_sizes',
+ 'dump_mempool',
+ 'dump_malloc_stats',
+ 'dump_devargs',
+ 'dump_log_types',
+ 'dump_ring',
+ 'dump_physmem',
+ 'dump_memzone',
]
# The following linkages are an exception to allow running the
@@ -343,55 +343,55 @@ dump_test_names = [
# DPDK libraries. Explicit linkage of drivers (plugin libraries)
# in applications should not be used.
if dpdk_conf.has('RTE_MEMPOOL_RING')
- test_deps += 'mempool_ring'
+ test_deps += 'mempool_ring'
endif
if dpdk_conf.has('RTE_MEMPOOL_STACK')
- test_deps += 'mempool_stack'
+ test_deps += 'mempool_stack'
endif
if dpdk_conf.has('RTE_EVENT_SKELETON')
- test_deps += 'event_skeleton'
+ test_deps += 'event_skeleton'
endif
if dpdk_conf.has('RTE_LIB_TELEMETRY')
- test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']
- fast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]
+ test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']
+ fast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]
endif
# The following linkages of drivers are required because
# they are used via a driver-specific API.
if dpdk_conf.has('RTE_NET_BOND')
- test_deps += 'net_bond'
- test_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']
- driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']
- if dpdk_conf.has('RTE_NET_RING')
- test_sources += 'test_link_bonding_mode4.c'
- driver_test_names += 'link_bonding_mode4_autotest'
- endif
+ test_deps += 'net_bond'
+ test_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']
+ driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']
+ if dpdk_conf.has('RTE_NET_RING')
+ test_sources += 'test_link_bonding_mode4.c'
+ driver_test_names += 'link_bonding_mode4_autotest'
+ endif
endif
if dpdk_conf.has('RTE_NET_RING')
- test_deps += 'net_ring'
- test_sources += 'test_pmd_ring_perf.c'
- test_sources += 'test_pmd_ring.c'
- test_sources += 'test_event_eth_tx_adapter.c'
- test_sources += 'test_bitratestats.c'
- test_sources += 'test_latencystats.c'
- test_sources += 'sample_packet_forward.c'
- test_sources += 'test_pdump.c'
- fast_tests += [['ring_pmd_autotest', true]]
- perf_test_names += 'ring_pmd_perf_autotest'
- fast_tests += [['event_eth_tx_adapter_autotest', false]]
- fast_tests += [['bitratestats_autotest', true]]
- fast_tests += [['latencystats_autotest', true]]
- fast_tests += [['pdump_autotest', true]]
+ test_deps += 'net_ring'
+ test_sources += 'test_pmd_ring_perf.c'
+ test_sources += 'test_pmd_ring.c'
+ test_sources += 'test_event_eth_tx_adapter.c'
+ test_sources += 'test_bitratestats.c'
+ test_sources += 'test_latencystats.c'
+ test_sources += 'sample_packet_forward.c'
+ test_sources += 'test_pdump.c'
+ fast_tests += [['ring_pmd_autotest', true]]
+ perf_test_names += 'ring_pmd_perf_autotest'
+ fast_tests += [['event_eth_tx_adapter_autotest', false]]
+ fast_tests += [['bitratestats_autotest', true]]
+ fast_tests += [['latencystats_autotest', true]]
+ fast_tests += [['pdump_autotest', true]]
endif
if dpdk_conf.has('RTE_LIB_POWER')
- test_deps += 'power'
+ test_deps += 'power'
endif
if dpdk_conf.has('RTE_LIB_KNI')
- test_deps += 'kni'
+ test_deps += 'kni'
endif
if dpdk_conf.has('RTE_LIB_PDUMP')
- test_deps += 'pdump'
+ test_deps += 'pdump'
endif
if cc.has_argument('-Wno-format-truncation')
@@ -406,38 +406,38 @@ cflags += ['-DALLOW_INTERNAL_API']
test_dep_objs = []
if dpdk_conf.has('RTE_LIB_COMPRESSDEV')
- compress_test_dep = dependency('zlib', required: false, method: 'pkg-config')
- if compress_test_dep.found()
- test_dep_objs += compress_test_dep
- test_sources += 'test_compressdev.c'
- test_deps += 'compressdev'
- fast_tests += [['compressdev_autotest', false]]
- endif
+ compress_test_dep = dependency('zlib', required: false, method: 'pkg-config')
+ if compress_test_dep.found()
+ test_dep_objs += compress_test_dep
+ test_sources += 'test_compressdev.c'
+ test_deps += 'compressdev'
+ fast_tests += [['compressdev_autotest', false]]
+ endif
endif
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
- driver_test_names += 'cryptodev_scheduler_autotest'
- test_deps += 'crypto_scheduler'
+ driver_test_names += 'cryptodev_scheduler_autotest'
+ test_deps += 'crypto_scheduler'
endif
foreach d:test_deps
- def_lib = get_option('default_library')
- test_dep_objs += get_variable(def_lib + '_rte_' + d)
+ def_lib = get_option('default_library')
+ test_dep_objs += get_variable(def_lib + '_rte_' + d)
endforeach
link_libs = []
if get_option('default_library') == 'static'
- link_libs = dpdk_static_libraries + dpdk_drivers
+ link_libs = dpdk_static_libraries + dpdk_drivers
endif
dpdk_test = executable('dpdk-test',
- test_sources,
- link_whole: link_libs,
- dependencies: test_dep_objs,
- c_args: cflags,
- install_rpath: join_paths(get_option('prefix'),
- driver_install_path),
- install: true)
+ test_sources,
+ link_whole: link_libs,
+ dependencies: test_dep_objs,
+ c_args: cflags,
+ install_rpath: join_paths(get_option('prefix'),
+ driver_install_path),
+ install: true)
has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0'
message('hugepage availability: @0@'.format(has_hugepage))
@@ -453,59 +453,59 @@ num_cores_arg = '-l ' + run_command(get_coremask).stdout().strip()
default_test_args = [num_cores_arg]
foreach arg : fast_tests
- test_args = default_test_args
- run_test = true
- if not has_hugepage
- if arg[1]
- test_args += ['--no-huge', '-m', '2048']
- else
- run_test = false
- endif
- endif
+ test_args = default_test_args
+ run_test = true
+ if not has_hugepage
+ if arg[1]
+ test_args += ['--no-huge', '-m', '2048']
+ else
+ run_test = false
+ endif
+ endif
- if (get_option('default_library') == 'shared' and
- arg[0] == 'event_eth_tx_adapter_autotest')
- foreach drv:dpdk_drivers
- test_args += ['-d', drv.full_path().split('.a')[0] + '.so']
- endforeach
- endif
- if is_linux
- test_args += ['--file-prefix=@0@'.format(arg[0])]
- endif
+ if (get_option('default_library') == 'shared' and
+ arg[0] == 'event_eth_tx_adapter_autotest')
+ foreach drv:dpdk_drivers
+ test_args += ['-d', drv.full_path().split('.a')[0] + '.so']
+ endforeach
+ endif
+ if is_linux
+ test_args += ['--file-prefix=@0@'.format(arg[0])]
+ endif
- if run_test
- test(arg[0], dpdk_test,
- env : ['DPDK_TEST=' + arg[0]],
- args : test_args,
- timeout : timeout_seconds_fast,
- is_parallel : false,
- suite : 'fast-tests')
- endif
+ if run_test
+ test(arg[0], dpdk_test,
+ env : ['DPDK_TEST=' + arg[0]],
+ args : test_args,
+ timeout : timeout_seconds_fast,
+ is_parallel : false,
+ suite : 'fast-tests')
+ endif
endforeach
foreach arg : perf_test_names
- test(arg, dpdk_test,
- env : ['DPDK_TEST=' + arg],
- args : default_test_args,
- timeout : timeout_seconds,
- is_parallel : false,
- suite : 'perf-tests')
+ test(arg, dpdk_test,
+ env : ['DPDK_TEST=' + arg],
+ args : default_test_args,
+ timeout : timeout_seconds,
+ is_parallel : false,
+ suite : 'perf-tests')
endforeach
foreach arg : driver_test_names
- test(arg, dpdk_test,
- env : ['DPDK_TEST=' + arg],
- args : default_test_args,
- timeout : timeout_seconds,
- is_parallel : false,
- suite : 'driver-tests')
+ test(arg, dpdk_test,
+ env : ['DPDK_TEST=' + arg],
+ args : default_test_args,
+ timeout : timeout_seconds,
+ is_parallel : false,
+ suite : 'driver-tests')
endforeach
foreach arg : dump_test_names
- test(arg, dpdk_test,
- env : ['DPDK_TEST=' + arg],
- args : default_test_args,
- timeout : timeout_seconds,
- is_parallel : false,
- suite : 'debug-tests')
+ test(arg, dpdk_test,
+ env : ['DPDK_TEST=' + arg],
+ args : default_test_args,
+ timeout : timeout_seconds,
+ is_parallel : false,
+ suite : 'debug-tests')
endforeach
--
2.27.0
^ permalink raw reply [flat|nested] 71+ messages in thread
* [dpdk-dev] [RFC PATCH 13/14] lib: remove librte_ prefix from directory names
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
` (11 preceding siblings ...)
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 12/14] app: " Bruce Richardson
@ 2021-04-01 11:50 ` Bruce Richardson
2021-04-01 13:42 ` Thomas Monjalon
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 14/14] lib: allow disabling optional libraries Bruce Richardson
` (4 subsequent siblings)
17 siblings, 1 reply; 71+ messages in thread
From: Bruce Richardson @ 2021-04-01 11:50 UTC (permalink / raw)
To: dev; +Cc: thomas, david.marchand, bluca, Bruce Richardson
There is no reason for the DPDK libraries to all have 'librte_' prefix on
the directory names. This prefix makes the directory names longer and also
makes it awkward to add features referring to individual libraries in the
build - should the lib names be specified with or without the prefix.
Therefore, we can just remove the library prefix and use the library's
unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
MAINTAINERS | 212 +++++++++---------
app/test/test_eal_fs.c | 2 +-
app/test/test_memzone.c | 2 +-
app/test/test_telemetry_json.c | 2 +-
config/arm/meson.build | 2 +-
devtools/build-tags.sh | 14 +-
doc/api/doxy-api.conf.in | 104 ++++-----
doc/guides/contributing/abi_versioning.rst | 12 +-
doc/guides/contributing/coding_style.rst | 4 +-
doc/guides/contributing/documentation.rst | 10 +-
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 +-
drivers/common/mlx5/linux/meson.build | 2 +-
drivers/crypto/virtio/meson.build | 2 +-
kernel/linux/kni/meson.build | 4 +-
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/{librte_acl => acl}/meson.build | 0
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 | 0
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 | 0
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/{librte_cmdline => cmdline}/meson.build | 0
lib/{librte_cmdline => cmdline}/version.map | 0
.../meson.build | 0
.../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 | 0
.../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 | 0
.../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
.../arm/include/meson.build | 0
.../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 | 0
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/{librte_eal => eal}/common/meson.build | 0
.../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/{librte_eal => eal}/freebsd/meson.build | 0
.../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/{librte_eal => eal}/include/meson.build | 0
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/{librte_eal => eal}/linux/meson.build | 0
lib/{librte_eal => eal}/meson.build | 0
.../ppc/include/meson.build | 0
.../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 | 0
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 | 0
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/{librte_eal => eal}/windows/meson.build | 0
lib/{librte_eal => eal}/windows/rte_thread.c | 0
.../x86/include/meson.build | 0
.../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 | 0
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/{librte_ethdev => ethdev}/meson.build | 0
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/{librte_eventdev => eventdev}/meson.build | 0
.../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/{librte_fib => fib}/meson.build | 0
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 | 0
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 | 0
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 | 0
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 | 0
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_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 | 0
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 | 0
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 | 16 +-
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 | 0
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/{librte_net => net}/meson.build | 0
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 | 0
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/{librte_pipeline => pipeline}/meson.build | 0
.../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/{librte_port => port}/meson.build | 0
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/{librte_power => power}/meson.build | 0
.../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 | 0
.../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/{librte_ring => ring}/meson.build | 0
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 | 0
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 | 0
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/{librte_table => table}/meson.build | 0
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 | 0
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 | 6 +-
874 files changed, 207 insertions(+), 205 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%)
rename lib/{librte_acl => acl}/meson.build (100%)
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 (100%)
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 (100%)
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%)
rename lib/{librte_cmdline => cmdline}/meson.build (100%)
rename lib/{librte_cmdline => cmdline}/version.map (100%)
rename lib/{librte_compressdev => compressdev}/meson.build (100%)
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 (100%)
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 (100%)
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%)
rename lib/{librte_eal => eal}/arm/include/meson.build (100%)
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 (100%)
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%)
rename lib/{librte_eal => eal}/common/meson.build (100%)
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%)
rename lib/{librte_eal => eal}/freebsd/meson.build (100%)
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%)
rename lib/{librte_eal => eal}/include/meson.build (100%)
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%)
rename lib/{librte_eal => eal}/linux/meson.build (100%)
rename lib/{librte_eal => eal}/meson.build (100%)
rename lib/{librte_eal => eal}/ppc/include/meson.build (100%)
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 (100%)
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 (100%)
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%)
rename lib/{librte_eal => eal}/windows/meson.build (100%)
rename lib/{librte_eal => eal}/windows/rte_thread.c (100%)
rename lib/{librte_eal => eal}/x86/include/meson.build (100%)
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 (100%)
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%)
rename lib/{librte_ethdev => ethdev}/meson.build (100%)
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%)
rename lib/{librte_eventdev => eventdev}/meson.build (100%)
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%)
rename lib/{librte_fib => fib}/meson.build (100%)
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 (100%)
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 (100%)
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 (100%)
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 (100%)
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%)
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 (100%)
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 (100%)
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 (100%)
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%)
rename lib/{librte_net => net}/meson.build (100%)
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 (100%)
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%)
rename lib/{librte_pipeline => pipeline}/meson.build (100%)
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%)
rename lib/{librte_port => port}/meson.build (100%)
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%)
rename lib/{librte_power => power}/meson.build (100%)
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/{li