Skip to contentSkip to conversation

remove make support in DPDK

PATCH Superseded Ciara Power 24 participants 300 messages Aug 7, 2020 – Oct 22, 2020 Page 2 of 7

Subsystems (12)
lore
Share & tools
lore
#59 lore raw

v2 cover remove make support in DPDK

In reply to Ciara Power

v2:
- Fixed comments on v1.
- Removed additional make references.
- Added some meson replacements where necessary.
- Added dummy root Makefile.

As previously decided [1] and communicated via deprecation notice [2], the make build system is to be removed in the 20.11 release.

This patchset removes support for compiling DPDK with the legacy make build system. Some make support is maintained for example applications, where pkg-config is used rather than the legacy make method.

References to the make build system are removed from all documentation, please review to see if replacement meson instructions are needed in some cases.

[1] https://mails.dpdk.org/archives/dev/2020-April/162839.html
[2] http://git.dpdk.org/dpdk/commit/?id=a5449d78d1413e7bd1d66f6e70884e46cfb5e673

Bruce Richardson (6):
examples/multi_process: convert to pkg-config-based build examples/vm_power_manager: convert to use DPDK pkg-config examples/vm_power_manager: convert guest cli to pkg-config examples/ethtool: convert to pkg-config-based build
build: create dummy Makefile
doc/guides: remove use of DPDK make build system

Ciara Power (28):
examples: remove legacy sections of makefiles
build: remove makefiles and mk directory
config: remove all config files used by make
examples: remove old build system references
buildtools: remove all scripts for use with make
devtools: remove use of make in scripts app/test: remove references to make
drivers: remove references to make config options
lib: remove references to make config options
doc: remove deprecation notice for make
doc: remove references to make in bbdev guides
doc: remove references to make in compressdev guides
doc: remove references to make in contributing guides
doc: remove references to make in cryptodev guides
doc: remove references to make in eventdev guides
doc: remove references to make in FreeBSD gsg guide
doc: remove references to make in howto guides
doc: remove references to make in Linux gsg guides
doc: remove references to make in mempool guides
doc: remove references to make in NIC guides
doc: remove references to make in platform guides
doc: remove references to make in prog guides
doc: remove references to make in rawdev guides
doc: remove references to make in sample app guides
doc: remove references to make in vdpadevs guides
doc: remove reference to make in tools guides
doc: remove references to make in testpmd guides
doc: update quick build doc to remove make references

Kevin Laatz (3):
examples/server_node_efd: convert to pkg-config-based build examples/ka-agent: convert to pkg-config-based build examples/pthread: convert to pkg-config-based build

 GNUmakefile                                   |   17 -
 MAINTAINERS                                   |   12 +-
 Makefile                                      |    7 +-
 app/Makefile                                  |   34 -
 app/pdump/Makefile                            |   18 -
 app/proc-info/Makefile                        |   14 -
 app/test-acl/Makefile                         |   17 -
 app/test-bbdev/Makefile                       |   30 -
 app/test-bbdev/test-bbdev.py                  |   11 +-
 app/test-cmdline/Makefile                     |   24 -
 app/test-compress-perf/Makefile               |   19 -
 app/test-crypto-perf/Makefile                 |   28 -
 app/test-eventdev/Makefile                    |   32 -
 app/test-fib/Makefile                         |   18 -
 app/test-flow-perf/Makefile                   |   26 -
 app/test-pipeline/Makefile                    |   33 -
 app/test-pmd/Makefile                         |   73 --
 app/test-regex/Makefile                       |   13 -
 app/test-sad/Makefile                         |   17 -
 app/test/Makefile                             |  310 -----
 app/test/test_cryptodev.c                     |   89 +-
 app/test/test_cryptodev_asym.c                |   18 +-
 buildtools/Makefile                           |    9 -
 buildtools/auto-config-h.sh                   |  108 --
 buildtools/call-sphinx-build.py               |    5 +-
 buildtools/gen-build-mk.sh                    |   23 -
 buildtools/gen-config-h.sh                    |   15 -
 buildtools/pmdinfogen/Makefile                |   20 -
 buildtools/relpath.sh                         |   76 --
 config/common_armv8a_linux                    |   43 -
 config/common_base                            | 1154 -----------------
 config/common_freebsd                         |   15 -
 config/common_linux                           |   68 -
 config/defconfig_arm-armv7a-linux-gcc         |    1 -
 config/defconfig_arm-armv7a-linuxapp-gcc      |   49 -
 config/defconfig_arm64-armada-linux-gcc       |    1 -
 config/defconfig_arm64-armada-linuxapp-gcc    |   41 -
 config/defconfig_arm64-armv8a-linux-clang     |    1 -
 config/defconfig_arm64-armv8a-linux-gcc       |    1 -
 config/defconfig_arm64-armv8a-linuxapp-clang  |    8 -
 config/defconfig_arm64-armv8a-linuxapp-gcc    |    9 -
 config/defconfig_arm64-bluefield-linux-gcc    |    1 -
 config/defconfig_arm64-bluefield-linuxapp-gcc |   18 -
 config/defconfig_arm64-dpaa-linux-gcc         |    1 -
 config/defconfig_arm64-dpaa-linuxapp-gcc      |   31 -
 config/defconfig_arm64-emag-linux-gcc         |    1 -
 config/defconfig_arm64-emag-linuxapp-gcc      |   11 -
 config/defconfig_arm64-n1sdp-linux-gcc        |    1 -
 config/defconfig_arm64-n1sdp-linuxapp-gcc     |   14 -
 config/defconfig_arm64-octeontx2-linux-gcc    |    1 -
 config/defconfig_arm64-octeontx2-linuxapp-gcc |   18 -
 config/defconfig_arm64-stingray-linux-gcc     |    1 -
 config/defconfig_arm64-stingray-linuxapp-gcc  |   14 -
 config/defconfig_arm64-thunderx-linux-gcc     |    1 -
 config/defconfig_arm64-thunderx-linuxapp-gcc  |   17 -
 config/defconfig_arm64-thunderx2-linux-gcc    |    1 -
 config/defconfig_arm64-thunderx2-linuxapp-gcc |   12 -
 config/defconfig_arm64-xgene1-linux-gcc       |    1 -
 config/defconfig_arm64-xgene1-linuxapp-gcc    |    8 -
 config/defconfig_i686-native-linux-gcc        |    1 -
 config/defconfig_i686-native-linux-icc        |    1 -
 config/defconfig_i686-native-linuxapp-gcc     |   66 -
 config/defconfig_i686-native-linuxapp-icc     |   66 -
 config/defconfig_ppc_64-power8-linux-gcc      |    1 -
 config/defconfig_ppc_64-power8-linuxapp-gcc   |   35 -
 config/defconfig_x86_64-native-bsdapp-clang   |   14 -
 config/defconfig_x86_64-native-bsdapp-gcc     |   14 -
 config/defconfig_x86_64-native-freebsd-clang  |    1 -
 config/defconfig_x86_64-native-freebsd-gcc    |    1 -
 config/defconfig_x86_64-native-linux-clang    |    1 -
 config/defconfig_x86_64-native-linux-gcc      |    1 -
 config/defconfig_x86_64-native-linux-icc      |    1 -
 config/defconfig_x86_64-native-linuxapp-clang |   14 -
 config/defconfig_x86_64-native-linuxapp-gcc   |   14 -
 config/defconfig_x86_64-native-linuxapp-icc   |   29 -
 config/defconfig_x86_x32-native-linux-gcc     |    1 -
 config/defconfig_x86_x32-native-linuxapp-gcc  |   46 -
 devtools/build-tags.sh                        |   14 +-
 devtools/check-includes.sh                    |    3 +-
 devtools/git-log-fixes.sh                     |    2 +-
 devtools/test-build.sh                        |  315 -----
 doc/build-sdk-quick.txt                       |   55 +-
 doc/guides/bbdevs/fpga_5gnr_fec.rst           |    7 +-
 doc/guides/bbdevs/fpga_lte_fec.rst            |    7 +-
 doc/guides/bbdevs/turbo_sw.rst                |   15 -
 doc/guides/compressdevs/isal.rst              |    4 -
 doc/guides/compressdevs/octeontx.rst          |   24 +-
 doc/guides/compressdevs/zlib.rst              |    4 -
 doc/guides/conf.py                            |    7 +-
 doc/guides/contributing/coding_style.rst      |   46 +-
 doc/guides/contributing/design.rst            |  127 +-
 doc/guides/contributing/documentation.rst     |   31 +-
 doc/guides/contributing/patches.rst           |   45 -
 doc/guides/cryptodevs/aesni_gcm.rst           |    4 +-
 doc/guides/cryptodevs/aesni_mb.rst            |    4 +-
 doc/guides/cryptodevs/armv8.rst               |    3 -
 doc/guides/cryptodevs/caam_jr.rst             |   30 -
 doc/guides/cryptodevs/ccp.rst                 |   14 +-
 doc/guides/cryptodevs/dpaa2_sec.rst           |   25 -
 doc/guides/cryptodevs/dpaa_sec.rst            |   25 -
 doc/guides/cryptodevs/kasumi.rst              |   11 +-
 doc/guides/cryptodevs/mvsam.rst               |   10 +-
 doc/guides/cryptodevs/nitrox.rst              |    7 -
 doc/guides/cryptodevs/null.rst                |    2 +-
 doc/guides/cryptodevs/octeontx.rst            |   12 +-
 doc/guides/cryptodevs/octeontx2.rst           |    8 +-
 doc/guides/cryptodevs/openssl.rst             |    6 +-
 doc/guides/cryptodevs/qat.rst                 |   67 +-
 doc/guides/cryptodevs/scheduler.rst           |    8 -
 doc/guides/cryptodevs/snow3g.rst              |   10 +-
 doc/guides/cryptodevs/virtio.rst              |   20 +-
 doc/guides/cryptodevs/zuc.rst                 |   10 +-
 doc/guides/eventdevs/dpaa.rst                 |   20 -
 doc/guides/eventdevs/dpaa2.rst                |   20 -
 doc/guides/eventdevs/octeontx.rst             |   24 -
 doc/guides/eventdevs/octeontx2.rst            |    8 -
 doc/guides/freebsd_gsg/build_dpdk.rst         |    2 +-
 doc/guides/freebsd_gsg/intro.rst              |    4 +-
 doc/guides/howto/lm_bond_virtio_sriov.rst     |    4 +-
 doc/guides/howto/lm_virtio_vhost_user.rst     |    4 +-
 doc/guides/howto/packet_capture_framework.rst |   21 +-
 doc/guides/howto/pvp_reference_benchmark.rst  |   27 +-
 doc/guides/howto/vfd.rst                      |    4 +-
 .../virtio_user_for_container_networking.rst  |    2 +-
 doc/guides/linux_gsg/build_dpdk.rst           |   84 +-
 doc/guides/linux_gsg/build_sample_apps.rst    |   69 +-
 .../linux_gsg/cross_build_dpdk_for_arm64.rst  |   48 +-
 doc/guides/linux_gsg/enable_func.rst          |   13 +-
 doc/guides/linux_gsg/intro.rst                |    2 +-
 doc/guides/linux_gsg/linux_drivers.rst        |   18 +-
 doc/guides/linux_gsg/sys_reqs.rst             |   16 +-
 doc/guides/mempool/octeontx.rst               |   28 +-
 doc/guides/mempool/octeontx2.rst              |   10 +-
 doc/guides/meson.build                        |    3 +-
 doc/guides/nics/ark.rst                       |   26 -
 doc/guides/nics/atlantic.rst                  |    4 -
 doc/guides/nics/axgbe.rst                     |   15 -
 doc/guides/nics/bnx2x.rst                     |   27 -
 doc/guides/nics/bnxt.rst                      |    5 +-
 doc/guides/nics/build_and_test.rst            |    8 +-
 doc/guides/nics/cxgbe.rst                     |   36 +-
 doc/guides/nics/dpaa.rst                      |   27 +-
 doc/guides/nics/dpaa2.rst                     |   26 +-
 doc/guides/nics/ena.rst                       |   16 -
 doc/guides/nics/enetc.rst                     |    2 -
 doc/guides/nics/enic.rst                      |    9 -
 doc/guides/nics/fail_safe.rst                 |   20 +-
 doc/guides/nics/features.rst                  |    9 -
 doc/guides/nics/fm10k.rst                     |    4 -
 doc/guides/nics/hinic.rst                     |    9 -
 doc/guides/nics/hns3.rst                      |   10 -
 doc/guides/nics/i40e.rst                      |   44 +-
 doc/guides/nics/ice.rst                       |   25 +-
 doc/guides/nics/igc.rst                       |   18 +-
 doc/guides/nics/intel_vf.rst                  |   13 +-
 doc/guides/nics/ionic.rst                     |    8 -
 doc/guides/nics/ipn3ke.rst                    |   12 +-
 doc/guides/nics/kni.rst                       |    4 +-
 doc/guides/nics/liquidio.rst                  |   27 -
 doc/guides/nics/memif.rst                     |   10 +-
 doc/guides/nics/mlx4.rst                      |   55 +-
 doc/guides/nics/mlx5.rst                      |   62 +-
 doc/guides/nics/mvneta.rst                    |   36 +-
 doc/guides/nics/mvpp2.rst                     |   43 +-
 doc/guides/nics/nfb.rst                       |   19 +-
 doc/guides/nics/nfp.rst                       |    4 -
 doc/guides/nics/null.rst                      |    6 +-
 doc/guides/nics/octeontx.rst                  |   19 +-
 doc/guides/nics/octeontx2.rst                 |   13 +-
 doc/guides/nics/pcap_ring.rst                 |   24 +-
 doc/guides/nics/qede.rst                      |   17 +-
 doc/guides/nics/sfc_efx.rst                   |   15 -
 doc/guides/nics/softnic.rst                   |   13 +-
 doc/guides/nics/szedata2.rst                  |   18 +-
 doc/guides/nics/thunderx.rst                  |   25 +-
 doc/guides/nics/vdev_netvsc.rst               |    6 -
 doc/guides/nics/vhost.rst                     |    2 +-
 doc/guides/nics/virtio.rst                    |    4 +-
 doc/guides/platform/bluefield.rst             |   22 -
 doc/guides/platform/octeontx.rst              |   33 +-
 doc/guides/platform/octeontx2.rst             |   32 -
 doc/guides/prog_guide/build_app.rst           |   48 +-
 .../prog_guide/dev_kit_build_system.rst       |  331 -----
 .../prog_guide/dev_kit_root_make_help.rst     |  188 ---
 .../prog_guide/env_abstraction_layer.rst      |   17 +-
 ...ib_make_help.rst => ext_app_make_help.rst} |   25 +-
 doc/guides/prog_guide/graph_lib.rst           |    6 +-
 doc/guides/prog_guide/index.rst               |    4 +-
 doc/guides/prog_guide/intro.rst               |    2 +-
 .../prog_guide/ip_fragment_reassembly_lib.rst |    5 -
 .../prog_guide/kernel_nic_interface.rst       |   14 +-
 .../link_bonding_poll_mode_drv_lib.rst        |   15 +-
 doc/guides/prog_guide/lto.rst                 |   12 +-
 doc/guides/prog_guide/mbuf_lib.rst            |    4 +-
 doc/guides/prog_guide/mempool_lib.rst         |    7 +-
 doc/guides/prog_guide/overview.rst            |   12 +-
 doc/guides/prog_guide/profile_app.rst         |   17 +-
 doc/guides/prog_guide/qos_framework.rst       |   10 +-
 doc/guides/prog_guide/rcu_lib.rst             |    7 +-
 doc/guides/prog_guide/source_org.rst          |   23 +-
 doc/guides/prog_guide/trace_lib.rst           |    3 +-
 .../prog_guide/writing_efficient_code.rst     |    3 +-
 doc/guides/rawdevs/dpaa2_cmdif.rst            |   21 -
 doc/guides/rawdevs/dpaa2_qdma.rst             |   21 -
 doc/guides/rawdevs/ifpga.rst                  |   10 -
 doc/guides/rawdevs/ioat.rst                   |    8 +-
 doc/guides/rawdevs/ntb.rst                    |    6 -
 doc/guides/rawdevs/octeontx2_dma.rst          |   12 -
 doc/guides/rawdevs/octeontx2_ep.rst           |    8 -
 doc/guides/rel_notes/deprecation.rst          |    7 -
 doc/guides/sample_app_ug/bbdev_app.rst        |   34 +-
 doc/guides/sample_app_ug/cmd_line.rst         |    2 +-
 doc/guides/sample_app_ug/compiling.rst        |   83 +-
 doc/guides/sample_app_ug/dist_app.rst         |    4 +-
 doc/guides/sample_app_ug/ethtool.rst          |    2 +-
 .../sample_app_ug/eventdev_pipeline.rst       |    3 +-
 doc/guides/sample_app_ug/fips_validation.rst  |   10 +-
 doc/guides/sample_app_ug/flow_classify.rst    |    4 +-
 doc/guides/sample_app_ug/flow_filtering.rst   |   25 +-
 doc/guides/sample_app_ug/hello_world.rst      |    2 +-
 doc/guides/sample_app_ug/ioat.rst             |    6 +-
 doc/guides/sample_app_ug/ip_frag.rst          |    6 +-
 doc/guides/sample_app_ug/ip_pipeline.rst      |    4 +-
 doc/guides/sample_app_ug/ip_reassembly.rst    |    9 +-
 doc/guides/sample_app_ug/ipsec_secgw.rst      |   14 +-
 doc/guides/sample_app_ug/ipv4_multicast.rst   |    4 +-
 doc/guides/sample_app_ug/keep_alive.rst       |    4 +-
 .../sample_app_ug/kernel_nic_interface.rst    |   14 +-
 doc/guides/sample_app_ug/l2_forward_cat.rst   |    4 +-
 .../sample_app_ug/l2_forward_crypto.rst       |    4 +-
 doc/guides/sample_app_ug/l2_forward_event.rst |   10 +-
 .../sample_app_ug/l2_forward_job_stats.rst    |    4 +-
 .../sample_app_ug/l2_forward_real_virtual.rst |    6 +-
 doc/guides/sample_app_ug/l3_forward.rst       |   10 +-
 .../sample_app_ug/l3_forward_access_ctrl.rst  |    6 +-
 doc/guides/sample_app_ug/l3_forward_graph.rst |    4 +-
 .../sample_app_ug/l3_forward_power_man.rst    |   14 +-
 doc/guides/sample_app_ug/link_status_intr.rst |    4 +-
 doc/guides/sample_app_ug/multi_process.rst    |   20 +-
 doc/guides/sample_app_ug/ntb.rst              |    2 +-
 doc/guides/sample_app_ug/packet_ordering.rst  |    3 +-
 .../sample_app_ug/performance_thread.rst      |   44 +-
 doc/guides/sample_app_ug/ptpclient.rst        |    9 +-
 doc/guides/sample_app_ug/qos_metering.rst     |    2 +-
 doc/guides/sample_app_ug/qos_scheduler.rst    |   10 +-
 doc/guides/sample_app_ug/rxtx_callbacks.rst   |    9 +-
 doc/guides/sample_app_ug/server_node_efd.rst  |    2 +-
 doc/guides/sample_app_ug/service_cores.rst    |   23 +-
 doc/guides/sample_app_ug/skeleton.rst         |    2 +-
 doc/guides/sample_app_ug/tep_termination.rst  |   43 +-
 doc/guides/sample_app_ug/test_pipeline.rst    |    4 +-
 doc/guides/sample_app_ug/timer.rst            |    2 +-
 doc/guides/sample_app_ug/vdpa.rst             |    4 +-
 doc/guides/sample_app_ug/vhost.rst            |   11 +-
 doc/guides/sample_app_ug/vhost_blk.rst        |    2 +-
 doc/guides/sample_app_ug/vhost_crypto.rst     |    2 +-
 .../sample_app_ug/vm_power_management.rst     |   34 +-
 .../sample_app_ug/vmdq_dcb_forwarding.rst     |    8 +-
 doc/guides/sample_app_ug/vmdq_forwarding.rst  |    8 +-
 doc/guides/testpmd_app_ug/run_app.rst         |    6 +-
 doc/guides/testpmd_app_ug/testpmd_funcs.rst   |    9 +-
 doc/guides/tools/comp_perf.rst                |   10 +-
 doc/guides/tools/cryptoperf.rst               |   20 +-
 doc/guides/tools/pdump.rst                    |   15 +-
 doc/guides/tools/proc_info.rst                |    2 +-
 doc/guides/tools/testbbdev.rst                |   36 +-
 doc/guides/tools/testeventdev.rst             |   21 +-
 doc/guides/vdpadevs/ifc.rst                   |   13 -
 doc/guides/vdpadevs/mlx5.rst                  |   40 +-
 drivers/Makefile                              |   34 -
 drivers/baseband/Makefile                     |   18 -
 drivers/baseband/fpga_5gnr_fec/Makefile       |   28 -
 drivers/baseband/fpga_lte_fec/Makefile        |   25 -
 drivers/baseband/null/Makefile                |   21 -
 drivers/baseband/turbo_sw/Makefile            |   52 -
 drivers/bus/Makefile                          |   15 -
 drivers/bus/dpaa/Makefile                     |   48 -
 drivers/bus/fslmc/Makefile                    |   47 -
 drivers/bus/ifpga/Makefile                    |   28 -
 drivers/bus/pci/Makefile                      |   33 -
 drivers/bus/pci/bsd/Makefile                  |    4 -
 drivers/bus/pci/linux/Makefile                |    6 -
 drivers/bus/pci/linux/pci_vfio.c              |    1 -
 drivers/bus/vdev/Makefile                     |   27 -
 drivers/bus/vmbus/Makefile                    |   33 -
 drivers/bus/vmbus/linux/Makefile              |    3 -
 drivers/common/Makefile                       |   39 -
 drivers/common/cpt/Makefile                   |   24 -
 drivers/common/dpaax/Makefile                 |   30 -
 drivers/common/iavf/Makefile                  |   27 -
 drivers/common/mlx5/Makefile                  |  404 ------
 drivers/common/mvep/Makefile                  |   35 -
 drivers/common/octeontx/Makefile              |   22 -
 drivers/common/octeontx2/Makefile             |   39 -
 drivers/common/qat/Makefile                   |   74 --
 drivers/compress/Makefile                     |   10 -
 drivers/compress/isal/Makefile                |   27 -
 drivers/compress/octeontx/Makefile            |   26 -
 drivers/compress/zlib/Makefile                |   25 -
 drivers/crypto/Makefile                       |   31 -
 drivers/crypto/aesni_gcm/Makefile             |   43 -
 drivers/crypto/aesni_mb/Makefile              |   42 -
 drivers/crypto/armv8/Makefile                 |   36 -
 drivers/crypto/caam_jr/Makefile               |   39 -
 drivers/crypto/ccp/Makefile                   |   32 -
 drivers/crypto/dpaa2_sec/Makefile             |   45 -
 drivers/crypto/dpaa_sec/Makefile              |   38 -
 drivers/crypto/kasumi/Makefile                |   42 -
 drivers/crypto/mvsam/Makefile                 |   40 -
 drivers/crypto/nitrox/Makefile                |   30 -
 drivers/crypto/null/Makefile                  |   27 -
 drivers/crypto/octeontx/Makefile              |   36 -
 drivers/crypto/octeontx2/Makefile             |   49 -
 drivers/crypto/openssl/Makefile               |   26 -
 drivers/crypto/scheduler/Makefile             |   34 -
 drivers/crypto/snow3g/Makefile                |   43 -
 drivers/crypto/virtio/Makefile                |   33 -
 drivers/crypto/zuc/Makefile                   |   42 -
 drivers/event/Makefile                        |   20 -
 drivers/event/dpaa/Makefile                   |   39 -
 drivers/event/dpaa2/Makefile                  |   41 -
 drivers/event/dsw/Makefile                    |   26 -
 drivers/event/octeontx/Makefile               |   51 -
 drivers/event/octeontx2/Makefile              |   47 -
 drivers/event/opdl/Makefile                   |   29 -
 drivers/event/skeleton/Makefile               |   24 -
 drivers/event/sw/Makefile                     |   29 -
 drivers/mempool/Makefile                      |   18 -
 drivers/mempool/bucket/Makefile               |   25 -
 drivers/mempool/dpaa/Makefile                 |   30 -
 drivers/mempool/dpaa2/Makefile                |   31 -
 drivers/mempool/octeontx/Makefile             |   39 -
 drivers/mempool/octeontx2/Makefile            |   40 -
 drivers/mempool/ring/Makefile                 |   19 -
 drivers/mempool/stack/Makefile                |   22 -
 drivers/net/Makefile                          |   84 --
 drivers/net/af_packet/Makefile                |   27 -
 drivers/net/af_xdp/Makefile                   |   26 -
 drivers/net/ark/Makefile                      |   39 -
 drivers/net/atlantic/Makefile                 |   34 -
 drivers/net/avp/Makefile                      |   29 -
 drivers/net/axgbe/Makefile                    |   33 -
 drivers/net/bnx2x/Makefile                    |   33 -
 drivers/net/bnxt/Makefile                     |   63 -
 drivers/net/bnxt/hcapi/Makefile               |    5 -
 drivers/net/bnxt/tf_core/Makefile             |   31 -
 drivers/net/bnxt/tf_ulp/Makefile              |   20 -
 drivers/net/bonding/Makefile                  |   36 -
 drivers/net/cxgbe/Makefile                    |   57 -
 drivers/net/dpaa/Makefile                     |   41 -
 drivers/net/dpaa2/Makefile                    |   47 -
 drivers/net/e1000/Makefile                    |   79 --
 drivers/net/ena/Makefile                      |   30 -
 drivers/net/enetc/Makefile                    |   23 -
 drivers/net/enic/Makefile                     |   68 -
 drivers/net/failsafe/Makefile                 |   43 -
 drivers/net/fm10k/Makefile                    |   77 --
 drivers/net/hinic/Makefile                    |   67 -
 drivers/net/hns3/Makefile                     |   42 -
 drivers/net/i40e/Makefile                     |  112 --
 drivers/net/i40e/i40e_rxtx.c                  |    1 -
 drivers/net/iavf/Makefile                     |   54 -
 drivers/net/ice/Makefile                      |   96 --
 drivers/net/igc/Makefile                      |   40 -
 drivers/net/ionic/Makefile                    |   31 -
 drivers/net/ipn3ke/Makefile                   |   38 -
 drivers/net/ixgbe/Makefile                    |  110 --
 drivers/net/kni/Makefile                      |   30 -
 drivers/net/liquidio/Makefile                 |   30 -
 drivers/net/memif/Makefile                    |   26 -
 drivers/net/mlx4/Makefile                     |  142 --
 drivers/net/mlx5/Makefile                     |   82 --
 drivers/net/mvneta/Makefile                   |   39 -
 drivers/net/mvpp2/Makefile                    |   42 -
 drivers/net/netvsc/Makefile                   |   21 -
 drivers/net/nfb/Makefile                      |   40 -
 drivers/net/nfp/Makefile                      |   41 -
 drivers/net/null/Makefile                     |   24 -
 drivers/net/octeontx/Makefile                 |   53 -
 drivers/net/octeontx2/Makefile                |   63 -
 drivers/net/pcap/Makefile                     |   32 -
 drivers/net/pfe/Makefile                      |   31 -
 drivers/net/qede/Makefile                     |  109 --
 drivers/net/ring/Makefile                     |   29 -
 drivers/net/sfc/Makefile                      |  133 --
 drivers/net/softnic/Makefile                  |   54 -
 drivers/net/szedata2/Makefile                 |   30 -
 drivers/net/tap/Makefile                      |   97 --
 drivers/net/thunderx/Makefile                 |   41 -
 drivers/net/vdev_netvsc/Makefile              |   30 -
 drivers/net/vhost/Makefile                    |   31 -
 drivers/net/virtio/Makefile                   |   82 --
 drivers/net/vmxnet3/Makefile                  |   53 -
 drivers/raw/Makefile                          |   18 -
 drivers/raw/dpaa2_cmdif/Makefile              |   35 -
 drivers/raw/dpaa2_qdma/Makefile               |   36 -
 drivers/raw/ifpga/Makefile                    |   39 -
 drivers/raw/ifpga/base/Makefile               |   32 -
 drivers/raw/ioat/Makefile                     |   28 -
 drivers/raw/ntb/Makefile                      |   28 -
 drivers/raw/octeontx2_dma/Makefile            |   34 -
 drivers/raw/octeontx2_ep/Makefile             |   42 -
 drivers/raw/skeleton/Makefile                 |   26 -
 drivers/regex/Makefile                        |    8 -
 drivers/regex/mlx5/Makefile                   |   41 -
 drivers/vdpa/Makefile                         |   12 -
 drivers/vdpa/ifc/Makefile                     |   33 -
 drivers/vdpa/mlx5/Makefile                    |   58 -
 examples/Makefile                             |   90 --
 examples/bbdev_app/Makefile                   |   23 +-
 examples/bond/Makefile                        |   34 +-
 examples/bpf/t2.c                             |    6 +-
 examples/bpf/t3.c                             |   10 +-
 examples/cmdline/Makefile                     |   29 +-
 examples/distributor/Makefile                 |   30 +-
 examples/ethtool/Makefile                     |   26 +-
 examples/ethtool/ethtool-app/Makefile         |   56 +-
 examples/ethtool/lib/Makefile                 |   62 +-
 examples/eventdev_pipeline/Makefile           |   23 +-
 examples/fips_validation/Makefile             |   34 +-
 examples/flow_classify/Makefile               |   29 +-
 examples/flow_filtering/Makefile              |   23 +-
 examples/helloworld/Makefile                  |   23 +-
 examples/ioat/Makefile                        |   22 +-
 examples/ip_fragmentation/Makefile            |   29 +-
 examples/ip_pipeline/Makefile                 |   36 +-
 examples/ip_reassembly/Makefile               |   29 +-
 examples/ipsec-secgw/Makefile                 |   36 +-
 examples/ipsec-secgw/test/common_defs.sh      |    4 +-
 examples/ipv4_multicast/Makefile              |   29 +-
 examples/kni/Makefile                         |   27 +-
 examples/l2fwd-cat/Makefile                   |   38 +-
 examples/l2fwd-crypto/Makefile                |   28 +-
 examples/l2fwd-event/Makefile                 |   22 +-
 examples/l2fwd-jobstats/Makefile              |   23 +-
 examples/l2fwd-keepalive/Makefile             |   23 +-
 examples/l2fwd-keepalive/ka-agent/Makefile    |   51 +-
 examples/l2fwd/Makefile                       |   23 +-
 examples/l3fwd-acl/Makefile                   |   28 +-
 examples/l3fwd-graph/Makefile                 |   23 +-
 examples/l3fwd-power/Makefile                 |   36 +-
 examples/l3fwd/Makefile                       |   23 +-
 examples/link_status_interrupt/Makefile       |   22 +-
 examples/multi_process/Makefile               |   21 +-
 .../multi_process/client_server_mp/Makefile   |   19 +-
 .../client_server_mp/mp_client/Makefile       |   44 +-
 .../client_server_mp/mp_server/Makefile       |   51 +-
 examples/multi_process/hotplug_mp/Makefile    |   46 +-
 examples/multi_process/simple_mp/Makefile     |   44 +-
 examples/multi_process/symmetric_mp/Makefile  |   44 +-
 examples/ntb/Makefile                         |   32 +-
 examples/packet_ordering/Makefile             |   22 +-
 examples/performance-thread/Makefile          |   21 +-
 examples/performance-thread/common/common.mk  |    6 +-
 .../performance-thread/l3fwd-thread/Makefile  |   47 +-
 .../performance-thread/pthread_shim/Makefile  |   56 +-
 examples/ptpclient/Makefile                   |   28 +-
 examples/qos_meter/Makefile                   |   28 +-
 examples/qos_sched/Makefile                   |   31 +-
 examples/rxtx_callbacks/Makefile              |   31 +-
 examples/server_node_efd/Makefile             |   18 +-
 examples/server_node_efd/node/Makefile        |   46 +-
 examples/server_node_efd/server/Makefile      |   51 +-
 examples/service_cores/Makefile               |   28 +-
 examples/skeleton/Makefile                    |   29 +-
 examples/tep_termination/Makefile             |   27 +-
 examples/timer/Makefile                       |   28 +-
 examples/vdpa/Makefile                        |   32 +-
 examples/vhost/Makefile                       |   30 +-
 examples/vhost_blk/Makefile                   |   31 +-
 examples/vhost_crypto/Makefile                |   31 +-
 examples/vm_power_manager/Makefile            |   74 +-
 examples/vm_power_manager/guest_cli/Makefile  |   50 +-
 examples/vmdq/Makefile                        |   23 +-
 examples/vmdq_dcb/Makefile                    |   31 +-
 kernel/Makefile                               |    9 -
 kernel/freebsd/Makefile                       |    9 -
 kernel/freebsd/contigmem/Makefile             |   24 -
 kernel/freebsd/nic_uio/Makefile               |   24 -
 kernel/linux/Makefile                         |    9 -
 kernel/linux/igb_uio/Makefile                 |   25 -
 kernel/linux/kni/Makefile                     |   34 -
 lib/Makefile                                  |  138 --
 lib/librte_acl/Makefile                       |   65 -
 lib/librte_bbdev/Makefile                     |   25 -
 lib/librte_bitratestats/Makefile              |   20 -
 lib/librte_bpf/Makefile                       |   40 -
 lib/librte_cfgfile/Makefile                   |   26 -
 lib/librte_cmdline/Makefile                   |   34 -
 lib/librte_compressdev/Makefile               |   27 -
 lib/librte_cryptodev/Makefile                 |   30 -
 lib/librte_distributor/Makefile               |   28 -
 lib/librte_eal/Makefile                       |   12 -
 lib/librte_eal/freebsd/Makefile               |  104 --
 lib/librte_eal/include/Makefile               |   19 -
 lib/librte_eal/linux/Makefile                 |  112 --
 lib/librte_efd/Makefile                       |   21 -
 lib/librte_ethdev/Makefile                    |   46 -
 lib/librte_eventdev/Makefile                  |   47 -
 lib/librte_fib/Makefile                       |   22 -
 lib/librte_flow_classify/Makefile             |   23 -
 lib/librte_graph/Makefile                     |   28 -
 lib/librte_gro/Makefile                       |   23 -
 lib/librte_gso/Makefile                       |   25 -
 lib/librte_hash/Makefile                      |   31 -
 lib/librte_ip_frag/Makefile                   |   27 -
 lib/librte_ipsec/Makefile                     |   29 -
 lib/librte_jobstats/Makefile                  |   21 -
 lib/librte_kni/Makefile                       |   20 -
 lib/librte_kvargs/Makefile                    |   21 -
 lib/librte_latencystats/Makefile              |   22 -
 lib/librte_lpm/Makefile                       |   29 -
 lib/librte_mbuf/Makefile                      |   26 -
 lib/librte_member/Makefile                    |   22 -
 lib/librte_mempool/Makefile                   |   24 -
 lib/librte_mempool/rte_mempool.h              |    2 +-
 lib/librte_meter/Makefile                     |   27 -
 lib/librte_metrics/Makefile                   |   30 -
 lib/librte_net/Makefile                       |   25 -
 lib/librte_node/Makefile                      |   33 -
 lib/librte_pci/Makefile                       |   19 -
 lib/librte_pdump/Makefile                     |   20 -
 lib/librte_pipeline/Makefile                  |   28 -
 lib/librte_port/Makefile                      |   59 -
 lib/librte_power/Makefile                     |   24 -
 lib/librte_rawdev/Makefile                    |   24 -
 lib/librte_rcu/Makefile                       |   20 -
 lib/librte_regexdev/Makefile                  |   32 -
 lib/librte_reorder/Makefile                   |   21 -
 lib/librte_rib/Makefile                       |   22 -
 lib/librte_ring/Makefile                      |   30 -
 lib/librte_ring/rte_ring_elem.h               |    3 +-
 lib/librte_sched/Makefile                     |   29 -
 lib/librte_security/Makefile                  |   24 -
 lib/librte_stack/Makefile                     |   27 -
 lib/librte_table/Makefile                     |   59 -
 lib/librte_telemetry/Makefile                 |   30 -
 lib/librte_timer/Makefile                     |   20 -
 lib/librte_vhost/Makefile                     |   54 -
 mk/arch/arm/rte.vars.mk                       |   16 -
 mk/arch/arm64/rte.vars.mk                     |   37 -
 mk/arch/i686/rte.vars.mk                      |   36 -
 mk/arch/ppc_64/rte.vars.mk                    |   17 -
 mk/arch/x86_64/rte.vars.mk                    |   36 -
 mk/arch/x86_x32/rte.vars.mk                   |   40 -
 mk/exec-env/bsdapp                            |    1 -
 mk/exec-env/freebsd/rte.app.mk                |    8 -
 mk/exec-env/freebsd/rte.vars.mk               |   36 -
 mk/exec-env/linux/rte.app.mk                  |    8 -
 mk/exec-env/linux/rte.vars.mk                 |   44 -
 mk/exec-env/linuxapp                          |    1 -
 mk/internal/rte.build-post.mk                 |   34 -
 mk/internal/rte.build-pre.mk                  |    7 -
 mk/internal/rte.clean-post.mk                 |   34 -
 mk/internal/rte.clean-pre.mk                  |    4 -
 mk/internal/rte.compile-post.mk               |    5 -
 mk/internal/rte.compile-pre.mk                |  164 ---
 mk/internal/rte.extvars.mk                    |   55 -
 mk/internal/rte.install-post.mk               |   71 -
 mk/internal/rte.install-pre.mk                |   32 -
 mk/machine/armv7a/rte.vars.mk                 |   36 -
 mk/machine/armv8a/rte.vars.mk                 |   31 -
 mk/machine/default/rte.vars.mk                |   30 -
 mk/machine/dpaa/rte.vars.mk                   |   37 -
 mk/machine/emag/rte.vars.mk                   |   32 -
 mk/machine/hsw/rte.vars.mk                    |   30 -
 mk/machine/ivb/rte.vars.mk                    |   30 -
 mk/machine/n1sdp/rte.vars.mk                  |   34 -
 mk/machine/native/rte.vars.mk                 |   39 -
 mk/machine/nhm/rte.vars.mk                    |   30 -
 mk/machine/octeontx2/rte.vars.mk              |   34 -
 mk/machine/power8/rte.vars.mk                 |   30 -
 mk/machine/silvermont/rte.vars.mk             |   30 -
 mk/machine/snb/rte.vars.mk                    |   30 -
 mk/machine/thunderx/rte.vars.mk               |   31 -
 mk/machine/thunderx2/rte.vars.mk              |   34 -
 mk/machine/wsm/rte.vars.mk                    |   30 -
 mk/machine/xgene1/rte.vars.mk                 |   31 -
 mk/rte.app.mk                                 |  509 --------
 mk/rte.bsdmodule.mk                           |   89 --
 mk/rte.combinedlib.mk                         |   30 -
 mk/rte.cpuflags.mk                            |  124 --
 mk/rte.extapp.mk                              |   24 -
 mk/rte.extlib.mk                              |   26 -
 mk/rte.extobj.mk                              |   24 -
 mk/rte.extshared.mk                           |   26 -
 mk/rte.extsubdir.mk                           |   39 -
 mk/rte.gnuconfigure.mk                        |   44 -
 mk/rte.helper.mk                              |   10 -
 mk/rte.hostapp.mk                             |   93 --
 mk/rte.hostlib.mk                             |   86 --
 mk/rte.install.mk                             |   28 -
 mk/rte.lib.mk                                 |  156 ---
 mk/rte.module.mk                              |   86 --
 mk/rte.obj.mk                                 |   82 --
 mk/rte.sdkbuild.mk                            |   77 --
 mk/rte.sdkconfig.mk                           |  142 --
 mk/rte.sdkdepdirs.mk                          |    9 -
 mk/rte.sdkdoc.mk                              |  104 --
 mk/rte.sdkexamples.mk                         |   50 -
 mk/rte.sdkgcov.mk                             |   39 -
 mk/rte.sdkinstall.mk                          |  152 ---
 mk/rte.sdkroot.mk                             |  115 --
 mk/rte.sdktest.mk                             |   76 --
 mk/rte.shared.mk                              |  108 --
 mk/rte.subdir.mk                              |   65 -
 mk/rte.vars.mk                                |  102 --
 mk/target/generic/rte.app.mk                  |   13 -
 mk/target/generic/rte.vars.mk                 |  132 --
 mk/toolchain/clang/rte.toolchain-compat.mk    |   22 -
 mk/toolchain/clang/rte.vars.mk                |   60 -
 mk/toolchain/gcc/rte.toolchain-compat.mk      |  120 --
 mk/toolchain/gcc/rte.vars.mk                  |  109 --
 mk/toolchain/icc/rte.toolchain-compat.mk      |   58 -
 mk/toolchain/icc/rte.vars.mk                  |   62 -
 615 files changed, 1227 insertions(+), 19895 deletions(-)
 delete mode 100644 GNUmakefile
 delete mode 100644 app/Makefile
 delete mode 100644 app/pdump/Makefile
 delete mode 100644 app/proc-info/Makefile
 delete mode 100644 app/test-acl/Makefile
 delete mode 100644 app/test-bbdev/Makefile
 delete mode 100644 app/test-cmdline/Makefile
 delete mode 100644 app/test-compress-perf/Makefile
 delete mode 100644 app/test-crypto-perf/Makefile
 delete mode 100644 app/test-eventdev/Makefile
 delete mode 100644 app/test-fib/Makefile
 delete mode 100644 app/test-flow-perf/Makefile
 delete mode 100644 app/test-pipeline/Makefile
 delete mode 100644 app/test-pmd/Makefile
 delete mode 100644 app/test-regex/Makefile
 delete mode 100644 app/test-sad/Makefile
 delete mode 100644 app/test/Makefile
 delete mode 100644 buildtools/Makefile
 delete mode 100755 buildtools/auto-config-h.sh
 delete mode 100755 buildtools/gen-build-mk.sh
 delete mode 100755 buildtools/gen-config-h.sh
 delete mode 100644 buildtools/pmdinfogen/Makefile
 delete mode 100755 buildtools/relpath.sh
 delete mode 100644 config/common_armv8a_linux
 delete mode 100644 config/common_base
 delete mode 100644 config/common_freebsd
 delete mode 100644 config/common_linux
 delete mode 120000 config/defconfig_arm-armv7a-linux-gcc
 delete mode 100644 config/defconfig_arm-armv7a-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-armada-linux-gcc
 delete mode 100644 config/defconfig_arm64-armada-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-armv8a-linux-clang
 delete mode 120000 config/defconfig_arm64-armv8a-linux-gcc
 delete mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang
 delete mode 100644 config/defconfig_arm64-armv8a-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-bluefield-linux-gcc
 delete mode 100644 config/defconfig_arm64-bluefield-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-dpaa-linux-gcc
 delete mode 100644 config/defconfig_arm64-dpaa-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-emag-linux-gcc
 delete mode 100644 config/defconfig_arm64-emag-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-n1sdp-linux-gcc
 delete mode 100644 config/defconfig_arm64-n1sdp-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-octeontx2-linux-gcc
 delete mode 100644 config/defconfig_arm64-octeontx2-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-stingray-linux-gcc
 delete mode 100644 config/defconfig_arm64-stingray-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-thunderx-linux-gcc
 delete mode 100644 config/defconfig_arm64-thunderx-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-thunderx2-linux-gcc
 delete mode 100644 config/defconfig_arm64-thunderx2-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-xgene1-linux-gcc
 delete mode 100644 config/defconfig_arm64-xgene1-linuxapp-gcc
 delete mode 120000 config/defconfig_i686-native-linux-gcc
 delete mode 120000 config/defconfig_i686-native-linux-icc
 delete mode 100644 config/defconfig_i686-native-linuxapp-gcc
 delete mode 100644 config/defconfig_i686-native-linuxapp-icc
 delete mode 120000 config/defconfig_ppc_64-power8-linux-gcc
 delete mode 100644 config/defconfig_ppc_64-power8-linuxapp-gcc
 delete mode 100644 config/defconfig_x86_64-native-bsdapp-clang
 delete mode 100644 config/defconfig_x86_64-native-bsdapp-gcc
 delete mode 120000 config/defconfig_x86_64-native-freebsd-clang
 delete mode 120000 config/defconfig_x86_64-native-freebsd-gcc
 delete mode 120000 config/defconfig_x86_64-native-linux-clang
 delete mode 120000 config/defconfig_x86_64-native-linux-gcc
 delete mode 120000 config/defconfig_x86_64-native-linux-icc
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-clang
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-gcc
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-icc
 delete mode 120000 config/defconfig_x86_x32-native-linux-gcc
 delete mode 100644 config/defconfig_x86_x32-native-linuxapp-gcc
 delete mode 100755 devtools/test-build.sh
 delete mode 100644 doc/guides/prog_guide/dev_kit_build_system.rst
 delete mode 100644 doc/guides/prog_guide/dev_kit_root_make_help.rst
 rename doc/guides/prog_guide/{ext_app_lib_make_help.rst => ext_app_make_help.rst} (69%)
 delete mode 100644 drivers/Makefile
 delete mode 100644 drivers/baseband/Makefile
 delete mode 100644 drivers/baseband/fpga_5gnr_fec/Makefile
 delete mode 100644 drivers/baseband/fpga_lte_fec/Makefile
 delete mode 100644 drivers/baseband/null/Makefile
 delete mode 100644 drivers/baseband/turbo_sw/Makefile
 delete mode 100644 drivers/bus/Makefile
 delete mode 100644 drivers/bus/dpaa/Makefile
 delete mode 100644 drivers/bus/fslmc/Makefile
 delete mode 100644 drivers/bus/ifpga/Makefile
 delete mode 100644 drivers/bus/pci/Makefile
 delete mode 100644 drivers/bus/pci/bsd/Makefile
 delete mode 100644 drivers/bus/pci/linux/Makefile
 delete mode 100644 drivers/bus/vdev/Makefile
 delete mode 100644 drivers/bus/vmbus/Makefile
 delete mode 100644 drivers/bus/vmbus/linux/Makefile
 delete mode 100644 drivers/common/Makefile
 delete mode 100644 drivers/common/cpt/Makefile
 delete mode 100644 drivers/common/dpaax/Makefile
 delete mode 100644 drivers/common/iavf/Makefile
 delete mode 100644 drivers/common/mlx5/Makefile
 delete mode 100644 drivers/common/mvep/Makefile
 delete mode 100644 drivers/common/octeontx/Makefile
 delete mode 100644 drivers/common/octeontx2/Makefile
 delete mode 100644 drivers/common/qat/Makefile
 delete mode 100644 drivers/compress/Makefile
 delete mode 100644 drivers/compress/isal/Makefile
 delete mode 100644 drivers/compress/octeontx/Makefile
 delete mode 100644 drivers/compress/zlib/Makefile
 delete mode 100644 drivers/crypto/Makefile
 delete mode 100644 drivers/crypto/aesni_gcm/Makefile
 delete mode 100644 drivers/crypto/aesni_mb/Makefile
 delete mode 100644 drivers/crypto/armv8/Makefile
 delete mode 100644 drivers/crypto/caam_jr/Makefile
 delete mode 100644 drivers/crypto/ccp/Makefile
 delete mode 100644 drivers/crypto/dpaa2_sec/Makefile
 delete mode 100644 drivers/crypto/dpaa_sec/Makefile
 delete mode 100644 drivers/crypto/kasumi/Makefile
 delete mode 100644 drivers/crypto/mvsam/Makefile
 delete mode 100644 drivers/crypto/nitrox/Makefile
 delete mode 100644 drivers/crypto/null/Makefile
 delete mode 100644 drivers/crypto/octeontx/Makefile
 delete mode 100644 drivers/crypto/octeontx2/Makefile
 delete mode 100644 drivers/crypto/openssl/Makefile
 delete mode 100644 drivers/crypto/scheduler/Makefile
 delete mode 100644 drivers/crypto/snow3g/Makefile
 delete mode 100644 drivers/crypto/virtio/Makefile
 delete mode 100644 drivers/crypto/zuc/Makefile
 delete mode 100644 drivers/event/Makefile
 delete mode 100644 drivers/event/dpaa/Makefile
 delete mode 100644 drivers/event/dpaa2/Makefile
 delete mode 100644 drivers/event/dsw/Makefile
 delete mode 100644 drivers/event/octeontx/Makefile
 delete mode 100644 drivers/event/octeontx2/Makefile
 delete mode 100644 drivers/event/opdl/Makefile
 delete mode 100644 drivers/event/skeleton/Makefile
 delete mode 100644 drivers/event/sw/Makefile
 delete mode 100644 drivers/mempool/Makefile
 delete mode 100644 drivers/mempool/bucket/Makefile
 delete mode 100644 drivers/mempool/dpaa/Makefile
 delete mode 100644 drivers/mempool/dpaa2/Makefile
 delete mode 100644 drivers/mempool/octeontx/Makefile
 delete mode 100644 drivers/mempool/octeontx2/Makefile
 delete mode 100644 drivers/mempool/ring/Makefile
 delete mode 100644 drivers/mempool/stack/Makefile
 delete mode 100644 drivers/net/Makefile
 delete mode 100644 drivers/net/af_packet/Makefile
 delete mode 100644 drivers/net/af_xdp/Makefile
 delete mode 100644 drivers/net/ark/Makefile
 delete mode 100644 drivers/net/atlantic/Makefile
 delete mode 100644 drivers/net/avp/Makefile
 delete mode 100644 drivers/net/axgbe/Makefile
 delete mode 100644 drivers/net/bnx2x/Makefile
 delete mode 100644 drivers/net/bnxt/Makefile
 delete mode 100644 drivers/net/bnxt/hcapi/Makefile
 delete mode 100644 drivers/net/bnxt/tf_core/Makefile
 delete mode 100644 drivers/net/bnxt/tf_ulp/Makefile
 delete mode 100644 drivers/net/bonding/Makefile
 delete mode 100644 drivers/net/cxgbe/Makefile
 delete mode 100644 drivers/net/dpaa/Makefile
 delete mode 100644 drivers/net/dpaa2/Makefile
 delete mode 100644 drivers/net/e1000/Makefile
 delete mode 100644 drivers/net/ena/Makefile
 delete mode 100644 drivers/net/enetc/Makefile
 delete mode 100644 drivers/net/enic/Makefile
 delete mode 100644 drivers/net/failsafe/Makefile
 delete mode 100644 drivers/net/fm10k/Makefile
 delete mode 100644 drivers/net/hinic/Makefile
 delete mode 100644 drivers/net/hns3/Makefile
 delete mode 100644 drivers/net/i40e/Makefile
 delete mode 100644 drivers/net/iavf/Makefile
 delete mode 100644 drivers/net/ice/Makefile
 delete mode 100644 drivers/net/igc/Makefile
 delete mode 100644 drivers/net/ionic/Makefile
 delete mode 100644 drivers/net/ipn3ke/Makefile
 delete mode 100644 drivers/net/ixgbe/Makefile
 delete mode 100644 drivers/net/kni/Makefile
 delete mode 100644 drivers/net/liquidio/Makefile
 delete mode 100644 drivers/net/memif/Makefile
 delete mode 100644 drivers/net/mlx4/Makefile
 delete mode 100644 drivers/net/mlx5/Makefile
 delete mode 100644 drivers/net/mvneta/Makefile
 delete mode 100644 drivers/net/mvpp2/Makefile
 delete mode 100644 drivers/net/netvsc/Makefile
 delete mode 100644 drivers/net/nfb/Makefile
 delete mode 100644 drivers/net/nfp/Makefile
 delete mode 100644 drivers/net/null/Makefile
 delete mode 100644 drivers/net/octeontx/Makefile
 delete mode 100644 drivers/net/octeontx2/Makefile
 delete mode 100644 drivers/net/pcap/Makefile
 delete mode 100644 drivers/net/pfe/Makefile
 delete mode 100644 drivers/net/qede/Makefile
 delete mode 100644 drivers/net/ring/Makefile
 delete mode 100644 drivers/net/sfc/Makefile
 delete mode 100644 drivers/net/softnic/Makefile
 delete mode 100644 drivers/net/szedata2/Makefile
 delete mode 100644 drivers/net/tap/Makefile
 delete mode 100644 drivers/net/thunderx/Makefile
 delete mode 100644 drivers/net/vdev_netvsc/Makefile
 delete mode 100644 drivers/net/vhost/Makefile
 delete mode 100644 drivers/net/virtio/Makefile
 delete mode 100644 drivers/net/vmxnet3/Makefile
 delete mode 100644 drivers/raw/Makefile
 delete mode 100644 drivers/raw/dpaa2_cmdif/Makefile
 delete mode 100644 drivers/raw/dpaa2_qdma/Makefile
 delete mode 100644 drivers/raw/ifpga/Makefile
 delete mode 100644 drivers/raw/ifpga/base/Makefile
 delete mode 100644 drivers/raw/ioat/Makefile
 delete mode 100644 drivers/raw/ntb/Makefile
 delete mode 100644 drivers/raw/octeontx2_dma/Makefile
 delete mode 100644 drivers/raw/octeontx2_ep/Makefile
 delete mode 100644 drivers/raw/skeleton/Makefile
 delete mode 100644 drivers/regex/Makefile
 delete mode 100644 drivers/regex/mlx5/Makefile
 delete mode 100644 drivers/vdpa/Makefile
 delete mode 100644 drivers/vdpa/ifc/Makefile
 delete mode 100644 drivers/vdpa/mlx5/Makefile
 delete mode 100644 examples/Makefile
 delete mode 100644 kernel/Makefile
 delete mode 100644 kernel/freebsd/Makefile
 delete mode 100644 kernel/freebsd/contigmem/Makefile
 delete mode 100644 kernel/freebsd/nic_uio/Makefile
 delete mode 100644 kernel/linux/Makefile
 delete mode 100644 kernel/linux/igb_uio/Makefile
 delete mode 100644 kernel/linux/kni/Makefile
 delete mode 100644 lib/Makefile
 delete mode 100644 lib/librte_acl/Makefile
 delete mode 100644 lib/librte_bbdev/Makefile
 delete mode 100644 lib/librte_bitratestats/Makefile
 delete mode 100644 lib/librte_bpf/Makefile
 delete mode 100644 lib/librte_cfgfile/Makefile
 delete mode 100644 lib/librte_cmdline/Makefile
 delete mode 100644 lib/librte_compressdev/Makefile
 delete mode 100644 lib/librte_cryptodev/Makefile
 delete mode 100644 lib/librte_distributor/Makefile
 delete mode 100644 lib/librte_eal/Makefile
 delete mode 100644 lib/librte_eal/freebsd/Makefile
 delete mode 100644 lib/librte_eal/include/Makefile
 delete mode 100644 lib/librte_eal/linux/Makefile
 delete mode 100644 lib/librte_efd/Makefile
 delete mode 100644 lib/librte_ethdev/Makefile
 delete mode 100644 lib/librte_eventdev/Makefile
 delete mode 100644 lib/librte_fib/Makefile
 delete mode 100644 lib/librte_flow_classify/Makefile
 delete mode 100644 lib/librte_graph/Makefile
 delete mode 100644 lib/librte_gro/Makefile
 delete mode 100644 lib/librte_gso/Makefile
 delete mode 100644 lib/librte_hash/Makefile
 delete mode 100644 lib/librte_ip_frag/Makefile
 delete mode 100644 lib/librte_ipsec/Makefile
 delete mode 100644 lib/librte_jobstats/Makefile
 delete mode 100644 lib/librte_kni/Makefile
 delete mode 100644 lib/librte_kvargs/Makefile
 delete mode 100644 lib/librte_latencystats/Makefile
 delete mode 100644 lib/librte_lpm/Makefile
 delete mode 100644 lib/librte_mbuf/Makefile
 delete mode 100644 lib/librte_member/Makefile
 delete mode 100644 lib/librte_mempool/Makefile
 delete mode 100644 lib/librte_meter/Makefile
 delete mode 100644 lib/librte_metrics/Makefile
 delete mode 100644 lib/librte_net/Makefile
 delete mode 100644 lib/librte_node/Makefile
 delete mode 100644 lib/librte_pci/Makefile
 delete mode 100644 lib/librte_pdump/Makefile
 delete mode 100644 lib/librte_pipeline/Makefile
 delete mode 100644 lib/librte_port/Makefile
 delete mode 100644 lib/librte_power/Makefile
 delete mode 100644 lib/librte_rawdev/Makefile
 delete mode 100644 lib/librte_rcu/Makefile
 delete mode 100644 lib/librte_regexdev/Makefile
 delete mode 100644 lib/librte_reorder/Makefile
 delete mode 100644 lib/librte_rib/Makefile
 delete mode 100644 lib/librte_ring/Makefile
 delete mode 100644 lib/librte_sched/Makefile
 delete mode 100644 lib/librte_security/Makefile
 delete mode 100644 lib/librte_stack/Makefile
 delete mode 100644 lib/librte_table/Makefile
 delete mode 100644 lib/librte_telemetry/Makefile
 delete mode 100644 lib/librte_timer/Makefile
 delete mode 100644 lib/librte_vhost/Makefile
 delete mode 100644 mk/arch/arm/rte.vars.mk
 delete mode 100644 mk/arch/arm64/rte.vars.mk
 delete mode 100644 mk/arch/i686/rte.vars.mk
 delete mode 100644 mk/arch/ppc_64/rte.vars.mk
 delete mode 100644 mk/arch/x86_64/rte.vars.mk
 delete mode 100644 mk/arch/x86_x32/rte.vars.mk
 delete mode 120000 mk/exec-env/bsdapp
 delete mode 100644 mk/exec-env/freebsd/rte.app.mk
 delete mode 100644 mk/exec-env/freebsd/rte.vars.mk
 delete mode 100644 mk/exec-env/linux/rte.app.mk
 delete mode 100644 mk/exec-env/linux/rte.vars.mk
 delete mode 120000 mk/exec-env/linuxapp
 delete mode 100644 mk/internal/rte.build-post.mk
 delete mode 100644 mk/internal/rte.build-pre.mk
 delete mode 100644 mk/internal/rte.clean-post.mk
 delete mode 100644 mk/internal/rte.clean-pre.mk
 delete mode 100644 mk/internal/rte.compile-post.mk
 delete mode 100644 mk/internal/rte.compile-pre.mk
 delete mode 100644 mk/internal/rte.extvars.mk
 delete mode 100644 mk/internal/rte.install-post.mk
 delete mode 100644 mk/internal/rte.install-pre.mk
 delete mode 100644 mk/machine/armv7a/rte.vars.mk
 delete mode 100644 mk/machine/armv8a/rte.vars.mk
 delete mode 100644 mk/machine/default/rte.vars.mk
 delete mode 100644 mk/machine/dpaa/rte.vars.mk
 delete mode 100644 mk/machine/emag/rte.vars.mk
 delete mode 100644 mk/machine/hsw/rte.vars.mk
 delete mode 100644 mk/machine/ivb/rte.vars.mk
 delete mode 100644 mk/machine/n1sdp/rte.vars.mk
 delete mode 100644 mk/machine/native/rte.vars.mk
 delete mode 100644 mk/machine/nhm/rte.vars.mk
 delete mode 100644 mk/machine/octeontx2/rte.vars.mk
 delete mode 100644 mk/machine/power8/rte.vars.mk
 delete mode 100644 mk/machine/silvermont/rte.vars.mk
 delete mode 100644 mk/machine/snb/rte.vars.mk
 delete mode 100644 mk/machine/thunderx/rte.vars.mk
 delete mode 100644 mk/machine/thunderx2/rte.vars.mk
 delete mode 100644 mk/machine/wsm/rte.vars.mk
 delete mode 100644 mk/machine/xgene1/rte.vars.mk
 delete mode 100644 mk/rte.app.mk
 delete mode 100644 mk/rte.bsdmodule.mk
 delete mode 100644 mk/rte.combinedlib.mk
 delete mode 100644 mk/rte.cpuflags.mk
 delete mode 100644 mk/rte.extapp.mk
 delete mode 100644 mk/rte.extlib.mk
 delete mode 100644 mk/rte.extobj.mk
 delete mode 100644 mk/rte.extshared.mk
 delete mode 100644 mk/rte.extsubdir.mk
 delete mode 100644 mk/rte.gnuconfigure.mk
 delete mode 100644 mk/rte.helper.mk
 delete mode 100644 mk/rte.hostapp.mk
 delete mode 100644 mk/rte.hostlib.mk
 delete mode 100644 mk/rte.install.mk
 delete mode 100644 mk/rte.lib.mk
 delete mode 100644 mk/rte.module.mk
 delete mode 100644 mk/rte.obj.mk
 delete mode 100644 mk/rte.sdkbuild.mk
 delete mode 100644 mk/rte.sdkconfig.mk
 delete mode 100644 mk/rte.sdkdepdirs.mk
 delete mode 100644 mk/rte.sdkdoc.mk
 delete mode 100644 mk/rte.sdkexamples.mk
 delete mode 100644 mk/rte.sdkgcov.mk
 delete mode 100644 mk/rte.sdkinstall.mk
 delete mode 100644 mk/rte.sdkroot.mk
 delete mode 100644 mk/rte.sdktest.mk
 delete mode 100644 mk/rte.shared.mk
 delete mode 100644 mk/rte.subdir.mk
 delete mode 100644 mk/rte.vars.mk
 delete mode 100644 mk/target/generic/rte.app.mk
 delete mode 100644 mk/target/generic/rte.vars.mk
 delete mode 100644 mk/toolchain/clang/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/clang/rte.vars.mk
 delete mode 100644 mk/toolchain/gcc/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/gcc/rte.vars.mk
 delete mode 100644 mk/toolchain/icc/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/icc/rte.vars.mk
Signature · 1 line
2.17.1
#60 lore raw

PATCH v2 1/37 examples: remove legacy sections of makefiles

The example app makefiles contained sections using the legacy method of compiling with make. These are no longer needed, and are removed, leaving only the section that uses pkg-config for the make build.

---
 examples/bbdev_app/Makefile             | 23 ++-------------
 examples/bond/Makefile                  | 34 ++--------------------
 examples/cmdline/Makefile               | 29 ++-----------------
 examples/distributor/Makefile           | 30 ++-----------------
 examples/eventdev_pipeline/Makefile     | 23 ++-------------
 examples/fips_validation/Makefile       | 34 ++--------------------
 examples/flow_classify/Makefile         | 29 ++-----------------
 examples/flow_filtering/Makefile        | 23 ++-------------
 examples/helloworld/Makefile            | 23 ++-------------
 examples/ioat/Makefile                  | 22 ++------------
 examples/ip_fragmentation/Makefile      | 29 ++-----------------
 examples/ip_pipeline/Makefile           | 36 ++---------------------
 examples/ip_reassembly/Makefile         | 29 ++-----------------
 examples/ipsec-secgw/Makefile           | 36 ++---------------------
 examples/ipv4_multicast/Makefile        | 29 ++-----------------
 examples/kni/Makefile                   | 27 ++----------------
 examples/l2fwd-cat/Makefile             | 38 ++-----------------------
 examples/l2fwd-crypto/Makefile          | 28 ++----------------
 examples/l2fwd-event/Makefile           | 22 ++------------
 examples/l2fwd-jobstats/Makefile        | 23 ++-------------
 examples/l2fwd-keepalive/Makefile       | 23 ++-------------
 examples/l2fwd/Makefile                 | 23 ++-------------
 examples/l3fwd-acl/Makefile             | 28 ++----------------
 examples/l3fwd-graph/Makefile           | 23 ++-------------
 examples/l3fwd-power/Makefile           | 36 ++---------------------
 examples/l3fwd/Makefile                 | 23 ++-------------
 examples/link_status_interrupt/Makefile | 22 ++------------
 examples/ntb/Makefile                   | 32 ++-------------------
 examples/packet_ordering/Makefile       | 22 ++------------
 examples/ptpclient/Makefile             | 28 ++----------------
 examples/qos_meter/Makefile             | 28 ++----------------
 examples/qos_sched/Makefile             | 31 ++------------------
 examples/rxtx_callbacks/Makefile        | 31 ++------------------
 examples/service_cores/Makefile         | 28 ++----------------
 examples/skeleton/Makefile              | 29 ++-----------------
 examples/tep_termination/Makefile       | 27 ++----------------
 examples/timer/Makefile                 | 28 ++----------------
 examples/vdpa/Makefile                  | 32 ++-------------------
 examples/vhost/Makefile                 | 30 ++-----------------
 examples/vhost_blk/Makefile             | 31 ++------------------
 examples/vhost_crypto/Makefile          | 31 ++------------------
 examples/vmdq/Makefile                  | 23 ++-------------
 examples/vmdq_dcb/Makefile              | 31 ++------------------
 43 files changed, 129 insertions(+), 1078 deletions(-)
examples/bbdev_app/Makefile +3 -20
index 3c8eb75a4e..2f156736d1 100644
@@ -8,7 +8,9 @@ APP = bbdev
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,22 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/bond/Makefile +3 -31
index 4e4289e151..4e560f574c 100644
@@ -8,7 +8,9 @@ APP = bond_app
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -41,33 +43,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
-LDLIBS += -lrte_pmd_bond
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/cmdline/Makefile +3 -26
index 7325097722..d8f51fb39b 100644
@@ -8,7 +8,9 @@ APP = cmdline
 SRCS-y := main.c commands.c parse_obj_list.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,28 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# binary name
-APP = cmdline
-
-# all source are stored in SRCS-y
-SRCS-y := main.c commands.c parse_obj_list.c
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/distributor/Makefile +3 -27
index 6e3fef9813..4116064581 100644
@@ -8,7 +8,9 @@ APP = distributor_app
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,29 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-EXTRA_CFLAGS += -O3 -Wfatal-errors
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/eventdev_pipeline/Makefile +3 -20
index 95a8d0884a..05c6f865ad 100644
@@ -10,7 +10,9 @@ SRCS-y += pipeline_worker_generic.c
 SRCS-y += pipeline_worker_tx.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,22 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/fips_validation/Makefile +3 -31
index b44ca2ee62..7ba9bcfea6 100644
@@ -18,7 +18,9 @@ SRCS-y += fips_validation_xts.c
 SRCS-y += main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -47,33 +49,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-INC += $(sort $(wildcard *.h))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -I$(SRCDIR)
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/flow_classify/Makefile +3 -26
index 161d576b60..4c215daf1b 100644
@@ -8,7 +8,9 @@ APP = flow_classify
 SRCS-y := flow_classify.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,28 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/flow_filtering/Makefile +3 -20
index 010a1383e2..0577e52985 100644
@@ -6,7 +6,9 @@ APP = flow
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -35,22 +37,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/helloworld/Makefile +3 -20
index 94a1074cf6..2eef6e4527 100644
@@ -8,7 +8,9 @@ APP = helloworld
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,22 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/ioat/Makefile +3 -19
index 86308854ea..9645c27d2f 100644
@@ -8,7 +8,9 @@ APP = ioatfwd
 SRCS-y := ioatfwd.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,21 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/ip_fragmentation/Makefile +3 -26
index 3f4db3f59d..f6baf635bb 100644
@@ -9,7 +9,9 @@ APP = ip_fragmentation
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,28 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/ip_pipeline/Makefile +3 -33
index 1116bb6c18..d25e39a464 100644
@@ -21,7 +21,9 @@ SRCS-y += tmgr.c
 SRCS-y += cryptodev.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -57,35 +59,3 @@ build:
 clean:
 	rm -f build/$(APP)* build/*.o
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-clean:
-else
-
-INC += $(sort $(wildcard *.h))
-
-SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) := $(SRCS-y)
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -I$(SRCDIR)
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
-endif
examples/ip_reassembly/Makefile +3 -26
index be9e541bd6..479b802907 100644
@@ -9,7 +9,9 @@ APP = ip_reassembly
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,28 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/ipsec-secgw/Makefile +3 -33
index b5ccbca858..5e6cb51eac 100644
@@ -23,7 +23,9 @@ SRCS-y += flow.c
 CFLAGS += -gdwarf-2
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -54,35 +56,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(CONFIG_RTE_LIBRTE_IPSEC),y)
-$(error "RTE_LIBRTE_IPSEC is required to build ipsec-secgw")
-endif
-endif
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3 -gdwarf-2
-CFLAGS += $(WERROR_FLAGS)
-ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
-CFLAGS_sa.o += -diag-disable=vec
-endif
-
-ifeq ($(DEBUG),1)
-CFLAGS += -DIPSEC_DEBUG -fstack-protector-all -O0
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/ipv4_multicast/Makefile +3 -26
index 0ed78c1cc2..fb1ebdd433 100644
@@ -9,7 +9,9 @@ APP = ipv4_multicast
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,28 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/kni/Makefile +3 -24
index 8fcb67c619..fa9fa85319 100644
@@ -8,7 +8,9 @@ APP = kni
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,26 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(error This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-endif
-
-CFLAGS += -O3
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd-cat/Makefile +3 -35
index d767a10d7d..c5f82fb548 100644
@@ -8,7 +8,9 @@ APP = l2fwd-cat
 SRCS-y := l2fwd-cat.c cat.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,37 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-ifeq ($(PQOS_INSTALL_PATH),)
-$(error "Please define PQOS_INSTALL_PATH environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-EXTRA_CFLAGS += -O3 -g -Wfatal-errors
-
-CFLAGS += -I$(PQOS_INSTALL_PATH)/../include
-
-LDLIBS += -L$(PQOS_INSTALL_PATH)
-LDLIBS += -lpqos
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd-crypto/Makefile +3 -25
index cdbb91a1e6..4953ee2b95 100644
@@ -8,7 +8,9 @@ APP = l2fwd-crypto
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,27 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER),y)
-LDLIBS += -lrte_pmd_crypto_scheduler
-endif
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd-event/Makefile +3 -19
index ddee388ae6..109b7caa4e 100644
@@ -14,7 +14,9 @@ SRCS-y += l2fwd_event_generic.c
 SRCS-y += l2fwd_event_internal_port.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -43,21 +45,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd-jobstats/Makefile +3 -20
index bdb83c3e1c..d3ff2d3ee9 100644
@@ -8,7 +8,9 @@ APP = l2fwd-jobstats
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,22 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd-keepalive/Makefile +3 -20
index 9fd9db4974..c327efab36 100644
@@ -8,7 +8,9 @@ APP = l2fwd-keepalive
 SRCS-y := main.c shm.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,22 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-LDFLAGS += -lrt
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l2fwd/Makefile +3 -20
index 15105ac57e..b180deb862 100644
@@ -8,7 +8,9 @@ APP = l2fwd
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,22 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-# Add flag to allow experimental API as l2fwd uses rte_ethdev_set_ptype API
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l3fwd-acl/Makefile +3 -25
index 6644a2cf1e..eeb6288dae 100644
@@ -8,7 +8,9 @@ APP = l3fwd-acl
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,27 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l3fwd-graph/Makefile +3 -20
index f3cf275ece..368ac21147 100644
@@ -8,7 +8,9 @@ APP = l3fwd-graph
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,22 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -I$(SRCDIR)
-CFLAGS += -O3 $(USER_FLAGS)
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/l3fwd-power/Makefile +3 -33
index ac1ccdcf61..d69854c9f8 100644
@@ -8,7 +8,9 @@ APP = l3fwd-power
 SRCS-y := main.c perf_core.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,35 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lm -lrte_telemetry
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
-endif
examples/l3fwd/Makefile +3 -20
index b25a515813..d87eafcd0c 100644
@@ -9,7 +9,9 @@ SRCS-y := main.c l3fwd_lpm.c l3fwd_em.c l3fwd_event.c
 SRCS-y += l3fwd_event_generic.c l3fwd_event_internal_port.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,22 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -I$(SRCDIR)
-CFLAGS += -O3 $(USER_FLAGS)
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/link_status_interrupt/Makefile +3 -19
index f16916faa9..b9b02124a4 100644
@@ -8,7 +8,9 @@ APP = link_status_interrupt
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,21 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/ntb/Makefile +3 -29
index 81ec6017f5..4675570fd2 100644
@@ -8,8 +8,9 @@ APP = ntb_fwd
 SRCS-y := ntb_fwd.c
 
 # Build using pkg-config variables if possible
-$(shell pkg-config --exists libdpdk)
-ifeq ($(.SHELLSTATUS),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -42,30 +43,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	rmdir --ignore-fail-on-non-empty build
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, can be overridden by command line or environment
-RTE_TARGET ?= x86_64-native-linuxapp-gcc
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
-$(info This application can only operate in a linuxapp environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -D_FILE_OFFSET_BITS=64
-CFLAGS += -O2
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
-endif
examples/packet_ordering/Makefile +3 -19
index f99b69dc25..e8d6c57b72 100644
@@ -8,7 +8,9 @@ APP = packet_ordering
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,21 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/ptpclient/Makefile +3 -25
index a9555fc66a..86059d8b28 100644
@@ -8,7 +8,9 @@ APP = ptpclient
 SRCS-y := ptpclient.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,27 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/qos_meter/Makefile +3 -25
index 165e07ee25..7a53818296 100644
@@ -8,7 +8,9 @@ APP = qos_meter
 SRCS-y := main.c rte_policer.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -39,27 +41,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/qos_sched/Makefile +3 -28
index 0dd7d91055..408074a9f5 100644
@@ -8,7 +8,9 @@ APP = qos_sched
 SRCS-y := main.c args.c init.c app_thread.c cfg_file.c cmdline.c stats.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,30 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-clean:
-else
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
-endif
examples/rxtx_callbacks/Makefile +3 -28
index 10e5f14d5c..bac3015d34 100644
@@ -8,7 +8,9 @@ APP = rxtx_callbacks
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,30 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-
-# rte_eth_read_clock is experimental
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-EXTRA_CFLAGS += -O3 -g -Wfatal-errors
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/service_cores/Makefile +3 -25
index e742d88f61..beb7ea0b82 100644
@@ -8,7 +8,9 @@ APP = service_cores
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,27 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
examples/skeleton/Makefile +3 -26
index 5f5acf7159..ca52abba42 100644
@@ -8,7 +8,9 @@ APP = basicfwd
 SRCS-y := basicfwd.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,28 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-EXTRA_CFLAGS += -O3 -g -Wfatal-errors
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/tep_termination/Makefile +3 -24
index 548ca3cee3..443bcb190e 100644
@@ -8,7 +8,9 @@ APP = tep_termination
 SRCS-y := main.c vxlan_setup.c vxlan.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -41,26 +43,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(error This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-endif
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -Wno-deprecated-declarations
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/timer/Makefile +3 -25
index b40b65995e..0f6523afa6 100644
@@ -8,7 +8,9 @@ APP = timer
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,27 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/vdpa/Makefile +3 -29
index bc0b6793e6..c4b2184ead 100644
@@ -9,7 +9,9 @@ SRCS-y := main.c
 CFLAGS += -DALLOW_EXPERIMENTAL_API
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,31 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -D_GNU_SOURCE
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif # linuxapp
-
-endif # pkg-config
examples/vhost/Makefile +3 -27
index ef6f3550f3..cec59d0e0f 100644
@@ -8,7 +8,9 @@ APP = vhost-switch
 SRCS-y := main.c virtio_net.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -41,29 +43,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
-endif
examples/vhost_blk/Makefile +3 -28
index 3952791784..792591386e 100644
@@ -8,8 +8,9 @@ APP = vhost-blk
 SRCS-y := blk.c vhost_blk.c vhost_blk_compat.c
 
 # Build using pkg-config variables if possible
-$(shell pkg-config --exists libdpdk)
-ifeq ($(.SHELLSTATUS),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -42,29 +43,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif
-endif
examples/vhost_crypto/Makefile +3 -28
index 28e3e4de74..27abd91998 100644
@@ -9,7 +9,9 @@ SRCS-y := main.c
 CFLAGS += -DALLOW_EXPERIMENTAL_API
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -38,30 +40,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-all:
-else
-
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-
-endif # Linux
-
-endif # pkg-config
examples/vmdq/Makefile +3 -20
index b73373d3f5..de527281eb 100644
@@ -8,7 +8,9 @@ APP = vmdq_app
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,22 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-EXTRA_CFLAGS += -O3
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
examples/vmdq_dcb/Makefile +3 -28
index 8d8baf729b..9c9049d85e 100644
@@ -8,7 +8,9 @@ APP = vmdq_dcb_app
 SRCS-y := main.c
 
 # Build using pkg-config variables if possible
-ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
 
 all: shared
 .PHONY: shared static
@@ -37,30 +39,3 @@ build:
 clean:
 	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
 	test -d build && rmdir -p build || true
-
-else # Build using legacy build system
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
-ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
-CFLAGS_main.o += -diag-disable=vec
-endif
-EXTRA_CFLAGS += -O3 -g
-
-include $(RTE_SDK)/mk/rte.extapp.mk
-endif
Signature · 1 line
2.17.1
#61 lore raw

PATCH v2 2/37 examples/multi_process: convert to pkg-config-based build

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

Remove references to the old make build system and use pkg-config for building these examples.

---
 examples/multi_process/Makefile               | 21 ++------
 .../multi_process/client_server_mp/Makefile   | 19 ++-----
 .../client_server_mp/mp_client/Makefile       | 44 ++++++++++++----
 .../client_server_mp/mp_server/Makefile       | 51 +++++++++++--------
 examples/multi_process/hotplug_mp/Makefile    | 46 ++++++++++++-----
 examples/multi_process/simple_mp/Makefile     | 44 +++++++++++-----
 examples/multi_process/symmetric_mp/Makefile  | 44 +++++++++++-----
 7 files changed, 167 insertions(+), 102 deletions(-)
examples/multi_process/Makefile +5 -16
index 7f7e68d912..f0a999745a 100644
@@ -1,18 +1,7 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
+subdirs := client_server_mp hotplug_mp simple_mp symmetric_mp
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += client_server_mp
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += simple_mp
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += symmetric_mp
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += hotplug_mp
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
examples/multi_process/client_server_mp/Makefile +5 -14
index fe7a8af605..e8debdfd9a 100644
@@ -1,16 +1,7 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
+subdirs := mp_client mp_server
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += mp_client
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += mp_server
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
examples/multi_process/client_server_mp/mp_client/Makefile +33 -11

54 lines not on this page · raw message

examples/multi_process/client_server_mp/mp_server/Makefile +30 -21

64 lines not on this page · raw message

examples/multi_process/hotplug_mp/Makefile +32 -14

54 lines not on this page · raw message

examples/multi_process/simple_mp/Makefile +31 -13

54 lines not on this page · raw message

examples/multi_process/symmetric_mp/Makefile +31 -13

54 lines not on this page · raw message

Signature · 1 line
2.17.1
#62 lore raw

PATCH v2 3/37 examples/server_node_efd: convert to pkg-config-based build

In reply to Ciara Power

From: Kevin Laatz <[email protected]>

Remove references to the old make build system and use pkg-config for building these examples.

---
 examples/server_node_efd/Makefile        | 18 +++------
 examples/server_node_efd/node/Makefile   | 46 +++++++++++++++------
 examples/server_node_efd/server/Makefile | 51 +++++++++++++++---------
 3 files changed, 72 insertions(+), 43 deletions(-)
examples/server_node_efd/Makefile +6 -12
index cc2ea8b566..e4a4a94a79 100644
@@ -1,16 +1,10 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016-2017 Intel Corporation
+# Copyright(c) 2016-2020 Intel Corporation
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+subdirs := node server
 
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += server
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += node
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
examples/server_node_efd/node/Makefile +34 -12

54 lines not on this page · raw message

examples/server_node_efd/server/Makefile +32 -19

62 lines not on this page · raw message

Signature · 1 line
2.17.1
#63 lore raw

PATCH v2 4/37 examples/ka-agent: convert to pkg-config-based build

In reply to Ciara Power

From: Kevin Laatz <[email protected]>

Remove references to the old make build system and use pkg-config for building these examples.

---
 examples/l2fwd-keepalive/ka-agent/Makefile | 51 ++++++++++++++++------
 1 file changed, 37 insertions(+), 14 deletions(-)
examples/l2fwd-keepalive/ka-agent/Makefile +37 -14
index 8d5061b178..700137c2e2 100644
@@ -1,14 +1,5 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Intel Corporation
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
+# Copyright(c) 2016-2020 Intel Corporation
 
 # binary name
 APP = ka-agent
@@ -16,7 +7,39 @@ APP = ka-agent
 # all source are stored in SRCS-y
 SRCS-y := main.c
 
-CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)/../
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-LDFLAGS += -lrt
-include $(RTE_SDK)/mk/rte.extapp.mk
+CFLAGS += -I..
+
+# Build using pkg-config variables if possible
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
+endif
+
+all: shared
+.PHONY: shared static
+shared: build/$(APP)-shared
+	ln -sf $(APP)-shared build/$(APP)
+static: build/$(APP)-static
+	ln -sf $(APP)-static build/$(APP)
+
+LDFLAGS += -lpthread -lrt
+
+PKGCONF ?= pkg-config
+
+PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)
+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
+LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)
+
+build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)
+
+build/$(APP)-static: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_STATIC)
+
+build:
+	@mkdir -p $@
+
+.PHONY: clean
+clean:
+	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
+	test -d build && rmdir -p build || true
Signature · 1 line
2.17.1
#64 lore raw

PATCH v2 5/37 examples/pthread: convert to pkg-config-based build

In reply to Ciara Power

From: Kevin Laatz <[email protected]>

Remove references to the old make build system and use pkg-config for building these examples.

---
 examples/performance-thread/Makefile          | 21 +++----
 examples/performance-thread/common/common.mk  |  6 +-
 .../performance-thread/l3fwd-thread/Makefile  | 47 +++++++++++-----
 .../performance-thread/pthread_shim/Makefile  | 56 +++++++++++++------
 4 files changed, 83 insertions(+), 47 deletions(-)
examples/performance-thread/Makefile +7 -14
index 08158914c3..ef88722d3c 100644
@@ -1,21 +1,14 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2015 Intel Corporation
+# Copyright(c) 2015-2020 Intel Corporation
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
+subdirs := l3fwd-thread pthread_shim
 
-include $(RTE_SDK)/mk/rte.vars.mk
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-ifeq ($(filter y,$(CONFIG_RTE_ARCH_X86_64) $(CONFIG_RTE_ARCH_ARM64)),)
+ifeq ($(filter $(shell uname -m),x86_64 arm64),)
 $(error This application is only supported for x86_64 and arm64 targets)
 endif
 
-DIRS-y += l3fwd-thread
-DIRS-y += pthread_shim
-
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
examples/performance-thread/common/common.mk +3 -3
index 5e2b18a9ff..a33e2ab038 100644
@@ -8,9 +8,9 @@
 
 MKFILE_PATH=$(abspath $(dir $(lastword $(MAKEFILE_LIST))))
 
-ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
+ifeq ($(shell uname -m),x86_64)
 ARCH_PATH += $(MKFILE_PATH)/arch/x86
-else ifeq ($(CONFIG_RTE_ARCH_ARM64),y)
+else ifeq ($(shell uname -m),arm64)
 ARCH_PATH += $(MKFILE_PATH)/arch/arm64
 endif
 
@@ -18,4 +18,4 @@ VPATH := $(MKFILE_PATH) $(ARCH_PATH)
 
 SRCS-y += lthread.c lthread_sched.c lthread_cond.c lthread_tls.c lthread_mutex.c lthread_diag.c ctx.c
 
-INCLUDES += -I$(MKFILE_PATH) -I$(ARCH_PATH)
+CFLAGS += -I$(MKFILE_PATH) -I$(ARCH_PATH)
examples/performance-thread/l3fwd-thread/Makefile +34 -13

57 lines not on this page · raw message

examples/performance-thread/pthread_shim/Makefile +39 -17

72 lines not on this page · raw message

Signature · 1 line
2.17.1
#65 lore raw

PATCH v2 6/37 examples/vm_power_manager: convert to use DPDK pkg-config

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

Convert the build of the vm_power_manager app over to use DPDK from pkg-config rather than using RTE_SDK/RTE_TARGET.

---
 examples/vm_power_manager/Makefile | 74 ++++++++++++++----------------
 1 file changed, 35 insertions(+), 39 deletions(-)
examples/vm_power_manager/Makefile +35 -39
index 65c2ad179e..87b9744d8c 100644
@@ -1,65 +1,61 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
+# Copyright(c) 2010-2020 Intel Corporation
 
-ifneq ($(shell pkg-config --atleast-version=0.9.3 libvirt; echo $$?), 0)
-$(error vm_power_manager requires libvirt >= 0.9.3)
-else
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
+# Build using pkg-config variables if possible
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
 endif
 
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
 # binary name
 APP = vm_power_mgr
 
 # all source are stored in SRCS-y
 SRCS-y := main.c vm_power_cli.c power_manager.c channel_manager.c
 SRCS-y += channel_monitor.c parse.c
-ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
+ifeq ($(shell uname -m),x86_64)
 SRCS-y += oob_monitor_x86.c
 else
 SRCS-y += oob_monitor_nop.c
 endif
 
-CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
+all: shared
+.PHONY: shared static
+shared: build/$(APP)-shared
+	ln -sf $(APP)-shared build/$(APP)
+static: build/$(APP)-static
+	ln -sf $(APP)-static build/$(APP)
 
-LDLIBS += -lvirt
+PKGCONF ?= pkg-config
 
-JANSSON := $(shell pkg-config --exists jansson; echo $$?)
-ifeq ($(JANSSON), 0)
-LDLIBS += $(shell pkg-config --libs jansson)
-CFLAGS += -DUSE_JANSSON
-endif
+PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)
+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
+LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)
 
-ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
-
-ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
-LDLIBS += -lrte_pmd_ixgbe
+ifneq ($(shell $(PKGCONF) --atleast-version=0.9.3 libvirt; echo $$?), 0)
+$(error vm_power_manager requires libvirt >= 0.9.3)
 endif
+LDFLAGS += $(shell $(PKGCONF) --libs libvirt)
 
-ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)
-LDLIBS += -lrte_pmd_i40e
+JANSSON := $(shell $(PKGCONF) --exists jansson; echo $$?)
+ifeq ($(JANSSON), 0)
+LDFLAGS += $(shell $(PKGCONF) --libs jansson)
+CFLAGS += -DUSE_JANSSON
 endif
 
-ifeq ($(CONFIG_RTE_LIBRTE_BNXT_PMD),y)
-LDLIBS += -lrte_pmd_bnxt
-endif
+# for shared library builds, we need to explicitly link these PMDs
+LDFLAGS_SHARED += -lrte_pmd_ixgbe -lrte_pmd_i40e -lrte_pmd_bnxt
 
-endif
+build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)
 
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-endif
+build/$(APP)-static: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_STATIC)
 
-include $(RTE_SDK)/mk/rte.extapp.mk
+build:
+	@mkdir -p $@
 
-endif # libvirt check
+.PHONY: clean
+clean:
+	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
+	test -d build && rmdir -p build || true
Signature · 1 line
2.17.1
#66 lore raw

PATCH v2 7/37 examples/vm_power_manager: convert guest cli to pkg-config

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

Convert the makefile for the vm_power_manager/guest_cli utility to build using pkg-config rather than the old build system.

---
 examples/vm_power_manager/guest_cli/Makefile | 50 ++++++++++++--------
 1 file changed, 31 insertions(+), 19 deletions(-)
examples/vm_power_manager/guest_cli/Makefile +31 -19
index 67cf081936..b84deec574 100644
@@ -1,14 +1,5 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
-
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
-
-include $(RTE_SDK)/mk/rte.vars.mk
+# Copyright(c) 2010-2020 Intel Corporation
 
 # binary name
 APP = guest_vm_power_mgr
@@ -16,14 +7,35 @@ APP = guest_vm_power_mgr
 # all source are stored in SRCS-y
 SRCS-y := main.c vm_power_cli_guest.c parse.c
 
-CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
-
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
+# Build using pkg-config variables if possible
+ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)
+$(error "no installation of DPDK found")
 endif
 
-include $(RTE_SDK)/mk/rte.extapp.mk
+all: shared
+.PHONY: shared static
+shared: build/$(APP)-shared
+	ln -sf $(APP)-shared build/$(APP)
+static: build/$(APP)-static
+	ln -sf $(APP)-static build/$(APP)
+
+PKGCONF ?= pkg-config
+
+PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)
+CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
+LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
+LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)
+
+build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)
+
+build/$(APP)-static: $(SRCS-y) Makefile $(PC_FILE) | build
+	$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_STATIC)
+
+build:
+	@mkdir -p $@
+
+.PHONY: clean
+clean:
+	rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
+	test -d build && rmdir -p build || true
Signature · 1 line
2.17.1
#67 lore raw

PATCH v2 8/37 examples/ethtool: convert to pkg-config-based build

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

Remove references to the old DPDK build system from the makefiles, and use pkg-config provided flags instead.

---
 examples/ethtool/Makefile             | 26 +++--------
 examples/ethtool/ethtool-app/Makefile | 56 +++++++++++++++---------
 examples/ethtool/lib/Makefile         | 62 ++++++++++++++++-----------
 3 files changed, 79 insertions(+), 65 deletions(-)
examples/ethtool/Makefile +7 -19
index d3b97bb50b..a1a80c44e6 100644
@@ -1,23 +1,11 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2015 Intel Corporation
+# Copyright(c) 2015-2020 Intel Corporation
 
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+subdirs := lib ethtool-app
 
-# Default target, detect a build directory, by looking for a path with a .config
-RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
 
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
-$(info This application can only operate in a linux environment, \
-please change the definition of the RTE_TARGET environment variable)
-else
-
-DIRS-y += lib ethtool-app
-endif
-
-DEPDIRS-ethtool-app := lib
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+ethtool-app: lib
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
examples/ethtool/ethtool-app/Makefile +35 -21

66 lines not on this page · raw message

examples/ethtool/lib/Makefile +37 -25

74 lines not on this page · raw message

Signature · 1 line
2.17.1
#68 lore raw

PATCH v2 9/37 build: create dummy Makefile

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

This patch modifies the root Makefile to act as a dummy Makefile for when the make support is removed from DPDK in subsequent patches.

---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Makefile +5 -2
index 571277aa5a..4a9c17a9de 100644
@@ -1,4 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
+# Copyright(c) 2010-2020 Intel Corporation
 
-.error Error please compile using GNU Make (gmake)
+.PHONY: all
+all:
+	@echo "To build DPDK please use meson and ninja as described at"
+	@echo "    https://core.dpdk.org/doc/quick-start/"
Signature · 1 line
2.17.1
#69 lore raw

PATCH v2 10/37 build: remove makefiles and mk directory

In reply to Ciara Power

A decision was made [1] to no longer support Make in DPDK, this patch removes all Makefiles that do not make use of pkg-config, along with the mk directory previously used by make.

[1] https://mails.dpdk.org/archives/dev/2020-April/162839.html

---
 GNUmakefile                                |  17 -
 MAINTAINERS                                |   4 -
 app/Makefile                               |  34 --
 app/pdump/Makefile                         |  18 -
 app/proc-info/Makefile                     |  14 -
 app/test-acl/Makefile                      |  17 -
 app/test-bbdev/Makefile                    |  30 --
 app/test-cmdline/Makefile                  |  24 -
 app/test-compress-perf/Makefile            |  19 -
 app/test-crypto-perf/Makefile              |  28 --
 app/test-eventdev/Makefile                 |  32 --
 app/test-fib/Makefile                      |  18 -
 app/test-flow-perf/Makefile                |  26 --
 app/test-pipeline/Makefile                 |  33 --
 app/test-pmd/Makefile                      |  73 ---
 app/test-regex/Makefile                    |  13 -
 app/test-sad/Makefile                      |  17 -
 app/test/Makefile                          | 310 -------------
 buildtools/Makefile                        |   9 -
 buildtools/pmdinfogen/Makefile             |  20 -
 drivers/Makefile                           |  34 --
 drivers/baseband/Makefile                  |  18 -
 drivers/baseband/fpga_5gnr_fec/Makefile    |  28 --
 drivers/baseband/fpga_lte_fec/Makefile     |  25 -
 drivers/baseband/null/Makefile             |  21 -
 drivers/baseband/turbo_sw/Makefile         |  52 ---
 drivers/bus/Makefile                       |  15 -
 drivers/bus/dpaa/Makefile                  |  48 --
 drivers/bus/fslmc/Makefile                 |  47 --
 drivers/bus/ifpga/Makefile                 |  28 --
 drivers/bus/pci/Makefile                   |  33 --
 drivers/bus/pci/bsd/Makefile               |   4 -
 drivers/bus/pci/linux/Makefile             |   6 -
 drivers/bus/vdev/Makefile                  |  27 --
 drivers/bus/vmbus/Makefile                 |  33 --
 drivers/bus/vmbus/linux/Makefile           |   3 -
 drivers/common/Makefile                    |  39 --
 drivers/common/cpt/Makefile                |  24 -
 drivers/common/dpaax/Makefile              |  30 --
 drivers/common/iavf/Makefile               |  27 --
 drivers/common/mlx5/Makefile               | 404 ----------------
 drivers/common/mvep/Makefile               |  35 --
 drivers/common/octeontx/Makefile           |  22 -
 drivers/common/octeontx2/Makefile          |  39 --
 drivers/common/qat/Makefile                |  74 ---
 drivers/compress/Makefile                  |  10 -
 drivers/compress/isal/Makefile             |  27 --
 drivers/compress/octeontx/Makefile         |  26 --
 drivers/compress/zlib/Makefile             |  25 -
 drivers/crypto/Makefile                    |  31 --
 drivers/crypto/aesni_gcm/Makefile          |  43 --
 drivers/crypto/aesni_mb/Makefile           |  42 --
 drivers/crypto/armv8/Makefile              |  36 --
 drivers/crypto/caam_jr/Makefile            |  39 --
 drivers/crypto/ccp/Makefile                |  32 --
 drivers/crypto/dpaa2_sec/Makefile          |  45 --
 drivers/crypto/dpaa_sec/Makefile           |  38 --
 drivers/crypto/kasumi/Makefile             |  42 --
 drivers/crypto/mvsam/Makefile              |  40 --
 drivers/crypto/nitrox/Makefile             |  30 --
 drivers/crypto/null/Makefile               |  27 --
 drivers/crypto/octeontx/Makefile           |  36 --
 drivers/crypto/octeontx2/Makefile          |  49 --
 drivers/crypto/openssl/Makefile            |  26 --
 drivers/crypto/scheduler/Makefile          |  34 --
 drivers/crypto/snow3g/Makefile             |  43 --
 drivers/crypto/virtio/Makefile             |  33 --
 drivers/crypto/zuc/Makefile                |  42 --
 drivers/event/Makefile                     |  20 -
 drivers/event/dpaa/Makefile                |  39 --
 drivers/event/dpaa2/Makefile               |  41 --
 drivers/event/dsw/Makefile                 |  26 --
 drivers/event/octeontx/Makefile            |  51 ---
 drivers/event/octeontx2/Makefile           |  47 --
 drivers/event/opdl/Makefile                |  29 --
 drivers/event/skeleton/Makefile            |  24 -
 drivers/event/sw/Makefile                  |  29 --
 drivers/mempool/Makefile                   |  18 -
 drivers/mempool/bucket/Makefile            |  25 -
 drivers/mempool/dpaa/Makefile              |  30 --
 drivers/mempool/dpaa2/Makefile             |  31 --
 drivers/mempool/octeontx/Makefile          |  39 --
 drivers/mempool/octeontx2/Makefile         |  40 --
 drivers/mempool/ring/Makefile              |  19 -
 drivers/mempool/stack/Makefile             |  22 -
 drivers/net/Makefile                       |  84 ----
 drivers/net/af_packet/Makefile             |  27 --
 drivers/net/af_xdp/Makefile                |  26 --
 drivers/net/ark/Makefile                   |  39 --
 drivers/net/atlantic/Makefile              |  34 --
 drivers/net/avp/Makefile                   |  29 --
 drivers/net/axgbe/Makefile                 |  33 --
 drivers/net/bnx2x/Makefile                 |  33 --
 drivers/net/bnxt/Makefile                  |  63 ---
 drivers/net/bnxt/hcapi/Makefile            |   5 -
 drivers/net/bnxt/tf_core/Makefile          |  31 --
 drivers/net/bnxt/tf_ulp/Makefile           |  20 -
 drivers/net/bonding/Makefile               |  36 --
 drivers/net/cxgbe/Makefile                 |  57 ---
 drivers/net/dpaa/Makefile                  |  41 --
 drivers/net/dpaa2/Makefile                 |  47 --
 drivers/net/e1000/Makefile                 |  79 ----
 drivers/net/ena/Makefile                   |  30 --
 drivers/net/enetc/Makefile                 |  23 -
 drivers/net/enic/Makefile                  |  68 ---
 drivers/net/failsafe/Makefile              |  43 --
 drivers/net/fm10k/Makefile                 |  77 ----
 drivers/net/hinic/Makefile                 |  67 ---
 drivers/net/hns3/Makefile                  |  42 --
 drivers/net/i40e/Makefile                  | 112 -----
 drivers/net/iavf/Makefile                  |  54 ---
 drivers/net/ice/Makefile                   |  96 ----
 drivers/net/igc/Makefile                   |  40 --
 drivers/net/ionic/Makefile                 |  31 --
 drivers/net/ipn3ke/Makefile                |  38 --
 drivers/net/ixgbe/Makefile                 | 110 -----
 drivers/net/kni/Makefile                   |  30 --
 drivers/net/liquidio/Makefile              |  30 --
 drivers/net/memif/Makefile                 |  26 --
 drivers/net/mlx4/Makefile                  | 142 ------
 drivers/net/mlx5/Makefile                  |  82 ----
 drivers/net/mvneta/Makefile                |  39 --
 drivers/net/mvpp2/Makefile                 |  42 --
 drivers/net/netvsc/Makefile                |  21 -
 drivers/net/nfb/Makefile                   |  40 --
 drivers/net/nfp/Makefile                   |  41 --
 drivers/net/null/Makefile                  |  24 -
 drivers/net/octeontx/Makefile              |  53 ---
 drivers/net/octeontx2/Makefile             |  63 ---
 drivers/net/pcap/Makefile                  |  32 --
 drivers/net/pfe/Makefile                   |  31 --
 drivers/net/qede/Makefile                  | 109 -----
 drivers/net/ring/Makefile                  |  29 --
 drivers/net/sfc/Makefile                   | 133 ------
 drivers/net/softnic/Makefile               |  54 ---
 drivers/net/szedata2/Makefile              |  30 --
 drivers/net/tap/Makefile                   |  97 ----
 drivers/net/thunderx/Makefile              |  41 --
 drivers/net/vdev_netvsc/Makefile           |  30 --
 drivers/net/vhost/Makefile                 |  31 --
 drivers/net/virtio/Makefile                |  82 ----
 drivers/net/vmxnet3/Makefile               |  53 ---
 drivers/raw/Makefile                       |  18 -
 drivers/raw/dpaa2_cmdif/Makefile           |  35 --
 drivers/raw/dpaa2_qdma/Makefile            |  36 --
 drivers/raw/ifpga/Makefile                 |  39 --
 drivers/raw/ifpga/base/Makefile            |  32 --
 drivers/raw/ioat/Makefile                  |  28 --
 drivers/raw/ntb/Makefile                   |  28 --
 drivers/raw/octeontx2_dma/Makefile         |  34 --
 drivers/raw/octeontx2_ep/Makefile          |  42 --
 drivers/raw/skeleton/Makefile              |  26 --
 drivers/regex/Makefile                     |   8 -
 drivers/regex/mlx5/Makefile                |  41 --
 drivers/vdpa/Makefile                      |  12 -
 drivers/vdpa/ifc/Makefile                  |  33 --
 drivers/vdpa/mlx5/Makefile                 |  58 ---
 examples/Makefile                          |  90 ----
 kernel/Makefile                            |   9 -
 kernel/freebsd/Makefile                    |   9 -
 kernel/freebsd/contigmem/Makefile          |  24 -
 kernel/freebsd/nic_uio/Makefile            |  24 -
 kernel/linux/Makefile                      |   9 -
 kernel/linux/igb_uio/Makefile              |  25 -
 kernel/linux/kni/Makefile                  |  34 --
 lib/Makefile                               | 138 ------
 lib/librte_acl/Makefile                    |  65 ---
 lib/librte_bbdev/Makefile                  |  25 -
 lib/librte_bitratestats/Makefile           |  20 -
 lib/librte_bpf/Makefile                    |  40 --
 lib/librte_cfgfile/Makefile                |  26 --
 lib/librte_cmdline/Makefile                |  34 --
 lib/librte_compressdev/Makefile            |  27 --
 lib/librte_cryptodev/Makefile              |  30 --
 lib/librte_distributor/Makefile            |  28 --
 lib/librte_eal/Makefile                    |  12 -
 lib/librte_eal/freebsd/Makefile            | 104 -----
 lib/librte_eal/include/Makefile            |  19 -
 lib/librte_eal/linux/Makefile              | 112 -----
 lib/librte_efd/Makefile                    |  21 -
 lib/librte_ethdev/Makefile                 |  46 --
 lib/librte_eventdev/Makefile               |  47 --
 lib/librte_fib/Makefile                    |  22 -
 lib/librte_flow_classify/Makefile          |  23 -
 lib/librte_graph/Makefile                  |  28 --
 lib/librte_gro/Makefile                    |  23 -
 lib/librte_gso/Makefile                    |  25 -
 lib/librte_hash/Makefile                   |  31 --
 lib/librte_ip_frag/Makefile                |  27 --
 lib/librte_ipsec/Makefile                  |  29 --
 lib/librte_jobstats/Makefile               |  21 -
 lib/librte_kni/Makefile                    |  20 -
 lib/librte_kvargs/Makefile                 |  21 -
 lib/librte_latencystats/Makefile           |  22 -
 lib/librte_lpm/Makefile                    |  29 --
 lib/librte_mbuf/Makefile                   |  26 --
 lib/librte_member/Makefile                 |  22 -
 lib/librte_mempool/Makefile                |  24 -
 lib/librte_meter/Makefile                  |  27 --
 lib/librte_metrics/Makefile                |  30 --
 lib/librte_net/Makefile                    |  25 -
 lib/librte_node/Makefile                   |  33 --
 lib/librte_pci/Makefile                    |  19 -
 lib/librte_pdump/Makefile                  |  20 -
 lib/librte_pipeline/Makefile               |  28 --
 lib/librte_port/Makefile                   |  59 ---
 lib/librte_power/Makefile                  |  24 -
 lib/librte_rawdev/Makefile                 |  24 -
 lib/librte_rcu/Makefile                    |  20 -
 lib/librte_regexdev/Makefile               |  32 --
 lib/librte_reorder/Makefile                |  21 -
 lib/librte_rib/Makefile                    |  22 -
 lib/librte_ring/Makefile                   |  30 --
 lib/librte_sched/Makefile                  |  29 --
 lib/librte_security/Makefile               |  24 -
 lib/librte_stack/Makefile                  |  27 --
 lib/librte_table/Makefile                  |  59 ---
 lib/librte_telemetry/Makefile              |  30 --
 lib/librte_timer/Makefile                  |  20 -
 lib/librte_vhost/Makefile                  |  54 ---
 mk/arch/arm/rte.vars.mk                    |  16 -
 mk/arch/arm64/rte.vars.mk                  |  37 --
 mk/arch/i686/rte.vars.mk                   |  36 --
 mk/arch/ppc_64/rte.vars.mk                 |  17 -
 mk/arch/x86_64/rte.vars.mk                 |  36 --
 mk/arch/x86_x32/rte.vars.mk                |  40 --
 mk/exec-env/bsdapp                         |   1 -
 mk/exec-env/freebsd/rte.app.mk             |   8 -
 mk/exec-env/freebsd/rte.vars.mk            |  36 --
 mk/exec-env/linux/rte.app.mk               |   8 -
 mk/exec-env/linux/rte.vars.mk              |  44 --
 mk/exec-env/linuxapp                       |   1 -
 mk/internal/rte.build-post.mk              |  34 --
 mk/internal/rte.build-pre.mk               |   7 -
 mk/internal/rte.clean-post.mk              |  34 --
 mk/internal/rte.clean-pre.mk               |   4 -
 mk/internal/rte.compile-post.mk            |   5 -
 mk/internal/rte.compile-pre.mk             | 164 -------
 mk/internal/rte.extvars.mk                 |  55 ---
 mk/internal/rte.install-post.mk            |  71 ---
 mk/internal/rte.install-pre.mk             |  32 --
 mk/machine/armv7a/rte.vars.mk              |  36 --
 mk/machine/armv8a/rte.vars.mk              |  31 --
 mk/machine/default/rte.vars.mk             |  30 --
 mk/machine/dpaa/rte.vars.mk                |  37 --
 mk/machine/emag/rte.vars.mk                |  32 --
 mk/machine/hsw/rte.vars.mk                 |  30 --
 mk/machine/ivb/rte.vars.mk                 |  30 --
 mk/machine/n1sdp/rte.vars.mk               |  34 --
 mk/machine/native/rte.vars.mk              |  39 --
 mk/machine/nhm/rte.vars.mk                 |  30 --
 mk/machine/octeontx2/rte.vars.mk           |  34 --
 mk/machine/power8/rte.vars.mk              |  30 --
 mk/machine/silvermont/rte.vars.mk          |  30 --
 mk/machine/snb/rte.vars.mk                 |  30 --
 mk/machine/thunderx/rte.vars.mk            |  31 --
 mk/machine/thunderx2/rte.vars.mk           |  34 --
 mk/machine/wsm/rte.vars.mk                 |  30 --
 mk/machine/xgene1/rte.vars.mk              |  31 --
 mk/rte.app.mk                              | 509 ---------------------
 mk/rte.bsdmodule.mk                        |  89 ----
 mk/rte.combinedlib.mk                      |  30 --
 mk/rte.cpuflags.mk                         | 124 -----
 mk/rte.extapp.mk                           |  24 -
 mk/rte.extlib.mk                           |  26 --
 mk/rte.extobj.mk                           |  24 -
 mk/rte.extshared.mk                        |  26 --
 mk/rte.extsubdir.mk                        |  39 --
 mk/rte.gnuconfigure.mk                     |  44 --
 mk/rte.helper.mk                           |  10 -
 mk/rte.hostapp.mk                          |  93 ----
 mk/rte.hostlib.mk                          |  86 ----
 mk/rte.install.mk                          |  28 --
 mk/rte.lib.mk                              | 156 -------
 mk/rte.module.mk                           |  86 ----
 mk/rte.obj.mk                              |  82 ----
 mk/rte.sdkbuild.mk                         |  77 ----
 mk/rte.sdkconfig.mk                        | 142 ------
 mk/rte.sdkdepdirs.mk                       |   9 -
 mk/rte.sdkdoc.mk                           | 104 -----
 mk/rte.sdkexamples.mk                      |  50 --
 mk/rte.sdkgcov.mk                          |  39 --
 mk/rte.sdkinstall.mk                       | 152 ------
 mk/rte.sdkroot.mk                          | 115 -----
 mk/rte.sdktest.mk                          |  76 ---
 mk/rte.shared.mk                           | 108 -----
 mk/rte.subdir.mk                           |  65 ---
 mk/rte.vars.mk                             | 102 -----
 mk/target/generic/rte.app.mk               |  13 -
 mk/target/generic/rte.vars.mk              | 132 ------
 mk/toolchain/clang/rte.toolchain-compat.mk |  22 -
 mk/toolchain/clang/rte.vars.mk             |  60 ---
 mk/toolchain/gcc/rte.toolchain-compat.mk   | 120 -----
 mk/toolchain/gcc/rte.vars.mk               | 109 -----
 mk/toolchain/icc/rte.toolchain-compat.mk   |  58 ---
 mk/toolchain/icc/rte.vars.mk               |  62 ---
 296 files changed, 12992 deletions(-)
 delete mode 100644 GNUmakefile
 delete mode 100644 app/Makefile
 delete mode 100644 app/pdump/Makefile
 delete mode 100644 app/proc-info/Makefile
 delete mode 100644 app/test-acl/Makefile
 delete mode 100644 app/test-bbdev/Makefile
 delete mode 100644 app/test-cmdline/Makefile
 delete mode 100644 app/test-compress-perf/Makefile
 delete mode 100644 app/test-crypto-perf/Makefile
 delete mode 100644 app/test-eventdev/Makefile
 delete mode 100644 app/test-fib/Makefile
 delete mode 100644 app/test-flow-perf/Makefile
 delete mode 100644 app/test-pipeline/Makefile
 delete mode 100644 app/test-pmd/Makefile
 delete mode 100644 app/test-regex/Makefile
 delete mode 100644 app/test-sad/Makefile
 delete mode 100644 app/test/Makefile
 delete mode 100644 buildtools/Makefile
 delete mode 100644 buildtools/pmdinfogen/Makefile
 delete mode 100644 drivers/Makefile
 delete mode 100644 drivers/baseband/Makefile
 delete mode 100644 drivers/baseband/fpga_5gnr_fec/Makefile
 delete mode 100644 drivers/baseband/fpga_lte_fec/Makefile
 delete mode 100644 drivers/baseband/null/Makefile
 delete mode 100644 drivers/baseband/turbo_sw/Makefile
 delete mode 100644 drivers/bus/Makefile
 delete mode 100644 drivers/bus/dpaa/Makefile
 delete mode 100644 drivers/bus/fslmc/Makefile
 delete mode 100644 drivers/bus/ifpga/Makefile
 delete mode 100644 drivers/bus/pci/Makefile
 delete mode 100644 drivers/bus/pci/bsd/Makefile
 delete mode 100644 drivers/bus/pci/linux/Makefile
 delete mode 100644 drivers/bus/vdev/Makefile
 delete mode 100644 drivers/bus/vmbus/Makefile
 delete mode 100644 drivers/bus/vmbus/linux/Makefile
 delete mode 100644 drivers/common/Makefile
 delete mode 100644 drivers/common/cpt/Makefile
 delete mode 100644 drivers/common/dpaax/Makefile
 delete mode 100644 drivers/common/iavf/Makefile
 delete mode 100644 drivers/common/mlx5/Makefile
 delete mode 100644 drivers/common/mvep/Makefile
 delete mode 100644 drivers/common/octeontx/Makefile
 delete mode 100644 drivers/common/octeontx2/Makefile
 delete mode 100644 drivers/common/qat/Makefile
 delete mode 100644 drivers/compress/Makefile
 delete mode 100644 drivers/compress/isal/Makefile
 delete mode 100644 drivers/compress/octeontx/Makefile
 delete mode 100644 drivers/compress/zlib/Makefile
 delete mode 100644 drivers/crypto/Makefile
 delete mode 100644 drivers/crypto/aesni_gcm/Makefile
 delete mode 100644 drivers/crypto/aesni_mb/Makefile
 delete mode 100644 drivers/crypto/armv8/Makefile
 delete mode 100644 drivers/crypto/caam_jr/Makefile
 delete mode 100644 drivers/crypto/ccp/Makefile
 delete mode 100644 drivers/crypto/dpaa2_sec/Makefile
 delete mode 100644 drivers/crypto/dpaa_sec/Makefile
 delete mode 100644 drivers/crypto/kasumi/Makefile
 delete mode 100644 drivers/crypto/mvsam/Makefile
 delete mode 100644 drivers/crypto/nitrox/Makefile
 delete mode 100644 drivers/crypto/null/Makefile
 delete mode 100644 drivers/crypto/octeontx/Makefile
 delete mode 100644 drivers/crypto/octeontx2/Makefile
 delete mode 100644 drivers/crypto/openssl/Makefile
 delete mode 100644 drivers/crypto/scheduler/Makefile
 delete mode 100644 drivers/crypto/snow3g/Makefile
 delete mode 100644 drivers/crypto/virtio/Makefile
 delete mode 100644 drivers/crypto/zuc/Makefile
 delete mode 100644 drivers/event/Makefile
 delete mode 100644 drivers/event/dpaa/Makefile
 delete mode 100644 drivers/event/dpaa2/Makefile
 delete mode 100644 drivers/event/dsw/Makefile
 delete mode 100644 drivers/event/octeontx/Makefile
 delete mode 100644 drivers/event/octeontx2/Makefile
 delete mode 100644 drivers/event/opdl/Makefile
 delete mode 100644 drivers/event/skeleton/Makefile
 delete mode 100644 drivers/event/sw/Makefile
 delete mode 100644 drivers/mempool/Makefile
 delete mode 100644 drivers/mempool/bucket/Makefile
 delete mode 100644 drivers/mempool/dpaa/Makefile
 delete mode 100644 drivers/mempool/dpaa2/Makefile
 delete mode 100644 drivers/mempool/octeontx/Makefile
 delete mode 100644 drivers/mempool/octeontx2/Makefile
 delete mode 100644 drivers/mempool/ring/Makefile
 delete mode 100644 drivers/mempool/stack/Makefile
 delete mode 100644 drivers/net/Makefile
 delete mode 100644 drivers/net/af_packet/Makefile
 delete mode 100644 drivers/net/af_xdp/Makefile
 delete mode 100644 drivers/net/ark/Makefile
 delete mode 100644 drivers/net/atlantic/Makefile
 delete mode 100644 drivers/net/avp/Makefile
 delete mode 100644 drivers/net/axgbe/Makefile
 delete mode 100644 drivers/net/bnx2x/Makefile
 delete mode 100644 drivers/net/bnxt/Makefile
 delete mode 100644 drivers/net/bnxt/hcapi/Makefile
 delete mode 100644 drivers/net/bnxt/tf_core/Makefile
 delete mode 100644 drivers/net/bnxt/tf_ulp/Makefile
 delete mode 100644 drivers/net/bonding/Makefile
 delete mode 100644 drivers/net/cxgbe/Makefile
 delete mode 100644 drivers/net/dpaa/Makefile
 delete mode 100644 drivers/net/dpaa2/Makefile
 delete mode 100644 drivers/net/e1000/Makefile
 delete mode 100644 drivers/net/ena/Makefile
 delete mode 100644 drivers/net/enetc/Makefile
 delete mode 100644 drivers/net/enic/Makefile
 delete mode 100644 drivers/net/failsafe/Makefile
 delete mode 100644 drivers/net/fm10k/Makefile
 delete mode 100644 drivers/net/hinic/Makefile
 delete mode 100644 drivers/net/hns3/Makefile
 delete mode 100644 drivers/net/i40e/Makefile
 delete mode 100644 drivers/net/iavf/Makefile
 delete mode 100644 drivers/net/ice/Makefile
 delete mode 100644 drivers/net/igc/Makefile
 delete mode 100644 drivers/net/ionic/Makefile
 delete mode 100644 drivers/net/ipn3ke/Makefile
 delete mode 100644 drivers/net/ixgbe/Makefile
 delete mode 100644 drivers/net/kni/Makefile
 delete mode 100644 drivers/net/liquidio/Makefile
 delete mode 100644 drivers/net/memif/Makefile
 delete mode 100644 drivers/net/mlx4/Makefile
 delete mode 100644 drivers/net/mlx5/Makefile
 delete mode 100644 drivers/net/mvneta/Makefile
 delete mode 100644 drivers/net/mvpp2/Makefile
 delete mode 100644 drivers/net/netvsc/Makefile
 delete mode 100644 drivers/net/nfb/Makefile
 delete mode 100644 drivers/net/nfp/Makefile
 delete mode 100644 drivers/net/null/Makefile
 delete mode 100644 drivers/net/octeontx/Makefile
 delete mode 100644 drivers/net/octeontx2/Makefile
 delete mode 100644 drivers/net/pcap/Makefile
 delete mode 100644 drivers/net/pfe/Makefile
 delete mode 100644 drivers/net/qede/Makefile
 delete mode 100644 drivers/net/ring/Makefile
 delete mode 100644 drivers/net/sfc/Makefile
 delete mode 100644 drivers/net/softnic/Makefile
 delete mode 100644 drivers/net/szedata2/Makefile
 delete mode 100644 drivers/net/tap/Makefile
 delete mode 100644 drivers/net/thunderx/Makefile
 delete mode 100644 drivers/net/vdev_netvsc/Makefile
 delete mode 100644 drivers/net/vhost/Makefile
 delete mode 100644 drivers/net/virtio/Makefile
 delete mode 100644 drivers/net/vmxnet3/Makefile
 delete mode 100644 drivers/raw/Makefile
 delete mode 100644 drivers/raw/dpaa2_cmdif/Makefile
 delete mode 100644 drivers/raw/dpaa2_qdma/Makefile
 delete mode 100644 drivers/raw/ifpga/Makefile
 delete mode 100644 drivers/raw/ifpga/base/Makefile
 delete mode 100644 drivers/raw/ioat/Makefile
 delete mode 100644 drivers/raw/ntb/Makefile
 delete mode 100644 drivers/raw/octeontx2_dma/Makefile
 delete mode 100644 drivers/raw/octeontx2_ep/Makefile
 delete mode 100644 drivers/raw/skeleton/Makefile
 delete mode 100644 drivers/regex/Makefile
 delete mode 100644 drivers/regex/mlx5/Makefile
 delete mode 100644 drivers/vdpa/Makefile
 delete mode 100644 drivers/vdpa/ifc/Makefile
 delete mode 100644 drivers/vdpa/mlx5/Makefile
 delete mode 100644 examples/Makefile
 delete mode 100644 kernel/Makefile
 delete mode 100644 kernel/freebsd/Makefile
 delete mode 100644 kernel/freebsd/contigmem/Makefile
 delete mode 100644 kernel/freebsd/nic_uio/Makefile
 delete mode 100644 kernel/linux/Makefile
 delete mode 100644 kernel/linux/igb_uio/Makefile
 delete mode 100644 kernel/linux/kni/Makefile
 delete mode 100644 lib/Makefile
 delete mode 100644 lib/librte_acl/Makefile
 delete mode 100644 lib/librte_bbdev/Makefile
 delete mode 100644 lib/librte_bitratestats/Makefile
 delete mode 100644 lib/librte_bpf/Makefile
 delete mode 100644 lib/librte_cfgfile/Makefile
 delete mode 100644 lib/librte_cmdline/Makefile
 delete mode 100644 lib/librte_compressdev/Makefile
 delete mode 100644 lib/librte_cryptodev/Makefile
 delete mode 100644 lib/librte_distributor/Makefile
 delete mode 100644 lib/librte_eal/Makefile
 delete mode 100644 lib/librte_eal/freebsd/Makefile
 delete mode 100644 lib/librte_eal/include/Makefile
 delete mode 100644 lib/librte_eal/linux/Makefile
 delete mode 100644 lib/librte_efd/Makefile
 delete mode 100644 lib/librte_ethdev/Makefile
 delete mode 100644 lib/librte_eventdev/Makefile
 delete mode 100644 lib/librte_fib/Makefile
 delete mode 100644 lib/librte_flow_classify/Makefile
 delete mode 100644 lib/librte_graph/Makefile
 delete mode 100644 lib/librte_gro/Makefile
 delete mode 100644 lib/librte_gso/Makefile
 delete mode 100644 lib/librte_hash/Makefile
 delete mode 100644 lib/librte_ip_frag/Makefile
 delete mode 100644 lib/librte_ipsec/Makefile
 delete mode 100644 lib/librte_jobstats/Makefile
 delete mode 100644 lib/librte_kni/Makefile
 delete mode 100644 lib/librte_kvargs/Makefile
 delete mode 100644 lib/librte_latencystats/Makefile
 delete mode 100644 lib/librte_lpm/Makefile
 delete mode 100644 lib/librte_mbuf/Makefile
 delete mode 100644 lib/librte_member/Makefile
 delete mode 100644 lib/librte_mempool/Makefile
 delete mode 100644 lib/librte_meter/Makefile
 delete mode 100644 lib/librte_metrics/Makefile
 delete mode 100644 lib/librte_net/Makefile
 delete mode 100644 lib/librte_node/Makefile
 delete mode 100644 lib/librte_pci/Makefile
 delete mode 100644 lib/librte_pdump/Makefile
 delete mode 100644 lib/librte_pipeline/Makefile
 delete mode 100644 lib/librte_port/Makefile
 delete mode 100644 lib/librte_power/Makefile
 delete mode 100644 lib/librte_rawdev/Makefile
 delete mode 100644 lib/librte_rcu/Makefile
 delete mode 100644 lib/librte_regexdev/Makefile
 delete mode 100644 lib/librte_reorder/Makefile
 delete mode 100644 lib/librte_rib/Makefile
 delete mode 100644 lib/librte_ring/Makefile
 delete mode 100644 lib/librte_sched/Makefile
 delete mode 100644 lib/librte_security/Makefile
 delete mode 100644 lib/librte_stack/Makefile
 delete mode 100644 lib/librte_table/Makefile
 delete mode 100644 lib/librte_telemetry/Makefile
 delete mode 100644 lib/librte_timer/Makefile
 delete mode 100644 lib/librte_vhost/Makefile
 delete mode 100644 mk/arch/arm/rte.vars.mk
 delete mode 100644 mk/arch/arm64/rte.vars.mk
 delete mode 100644 mk/arch/i686/rte.vars.mk
 delete mode 100644 mk/arch/ppc_64/rte.vars.mk
 delete mode 100644 mk/arch/x86_64/rte.vars.mk
 delete mode 100644 mk/arch/x86_x32/rte.vars.mk
 delete mode 120000 mk/exec-env/bsdapp
 delete mode 100644 mk/exec-env/freebsd/rte.app.mk
 delete mode 100644 mk/exec-env/freebsd/rte.vars.mk
 delete mode 100644 mk/exec-env/linux/rte.app.mk
 delete mode 100644 mk/exec-env/linux/rte.vars.mk
 delete mode 120000 mk/exec-env/linuxapp
 delete mode 100644 mk/internal/rte.build-post.mk
 delete mode 100644 mk/internal/rte.build-pre.mk
 delete mode 100644 mk/internal/rte.clean-post.mk
 delete mode 100644 mk/internal/rte.clean-pre.mk
 delete mode 100644 mk/internal/rte.compile-post.mk
 delete mode 100644 mk/internal/rte.compile-pre.mk
 delete mode 100644 mk/internal/rte.extvars.mk
 delete mode 100644 mk/internal/rte.install-post.mk
 delete mode 100644 mk/internal/rte.install-pre.mk
 delete mode 100644 mk/machine/armv7a/rte.vars.mk
 delete mode 100644 mk/machine/armv8a/rte.vars.mk
 delete mode 100644 mk/machine/default/rte.vars.mk
 delete mode 100644 mk/machine/dpaa/rte.vars.mk
 delete mode 100644 mk/machine/emag/rte.vars.mk
 delete mode 100644 mk/machine/hsw/rte.vars.mk
 delete mode 100644 mk/machine/ivb/rte.vars.mk
 delete mode 100644 mk/machine/n1sdp/rte.vars.mk
 delete mode 100644 mk/machine/native/rte.vars.mk
 delete mode 100644 mk/machine/nhm/rte.vars.mk
 delete mode 100644 mk/machine/octeontx2/rte.vars.mk
 delete mode 100644 mk/machine/power8/rte.vars.mk
 delete mode 100644 mk/machine/silvermont/rte.vars.mk
 delete mode 100644 mk/machine/snb/rte.vars.mk
 delete mode 100644 mk/machine/thunderx/rte.vars.mk
 delete mode 100644 mk/machine/thunderx2/rte.vars.mk
 delete mode 100644 mk/machine/wsm/rte.vars.mk
 delete mode 100644 mk/machine/xgene1/rte.vars.mk
 delete mode 100644 mk/rte.app.mk
 delete mode 100644 mk/rte.bsdmodule.mk
 delete mode 100644 mk/rte.combinedlib.mk
 delete mode 100644 mk/rte.cpuflags.mk
 delete mode 100644 mk/rte.extapp.mk
 delete mode 100644 mk/rte.extlib.mk
 delete mode 100644 mk/rte.extobj.mk
 delete mode 100644 mk/rte.extshared.mk
 delete mode 100644 mk/rte.extsubdir.mk
 delete mode 100644 mk/rte.gnuconfigure.mk
 delete mode 100644 mk/rte.helper.mk
 delete mode 100644 mk/rte.hostapp.mk
 delete mode 100644 mk/rte.hostlib.mk
 delete mode 100644 mk/rte.install.mk
 delete mode 100644 mk/rte.lib.mk
 delete mode 100644 mk/rte.module.mk
 delete mode 100644 mk/rte.obj.mk
 delete mode 100644 mk/rte.sdkbuild.mk
 delete mode 100644 mk/rte.sdkconfig.mk
 delete mode 100644 mk/rte.sdkdepdirs.mk
 delete mode 100644 mk/rte.sdkdoc.mk
 delete mode 100644 mk/rte.sdkexamples.mk
 delete mode 100644 mk/rte.sdkgcov.mk
 delete mode 100644 mk/rte.sdkinstall.mk
 delete mode 100644 mk/rte.sdkroot.mk
 delete mode 100644 mk/rte.sdktest.mk
 delete mode 100644 mk/rte.shared.mk
 delete mode 100644 mk/rte.subdir.mk
 delete mode 100644 mk/rte.vars.mk
 delete mode 100644 mk/target/generic/rte.app.mk
 delete mode 100644 mk/target/generic/rte.vars.mk
 delete mode 100644 mk/toolchain/clang/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/clang/rte.vars.mk
 delete mode 100644 mk/toolchain/gcc/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/gcc/rte.vars.mk
 delete mode 100644 mk/toolchain/icc/rte.toolchain-compat.mk
 delete mode 100644 mk/toolchain/icc/rte.vars.mk
GNUmakefile deleted +0 -17
deleted file mode 100644
index e8de422df8..0000000000
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2015 Intel Corporation
-
-#
-# Head Makefile for compiling rte SDK
-#
-
-RTE_SDK := $(CURDIR)
-export RTE_SDK
-
-#
-# directory list
-#
-
-ROOTDIRS-y := buildtools lib kernel drivers app
-
-include $(RTE_SDK)/mk/rte.sdkroot.mk
MAINTAINERS +0 -4
index ed163f5d59..ccaecabea0 100644
@@ -100,10 +100,8 @@ F: .editorconfig
 Build System
 ------------
 M: Thomas Monjalon <[email protected]>
-F: GNUmakefile
 F: Makefile
 F: config/
-F: mk/
 F: buildtools/auto-config-h.sh
 F: buildtools/gen-build-mk.sh
 F: buildtools/gen-config-h.sh
@@ -354,7 +352,6 @@ Memory pool
 M: Olivier Matz <[email protected]>
 M: Andrew Rybchenko <[email protected]>
 F: lib/librte_mempool/
-F: drivers/mempool/Makefile
 F: drivers/mempool/ring/
 F: doc/guides/prog_guide/mempool_lib.rst
 F: app/test/test_mempool*
@@ -1519,7 +1516,6 @@ Test Applications
 -----------------
 
 Unit tests framework
-F: app/test/Makefile
 F: app/test/autotest*
 F: app/test/commands.c
 F: app/test/get-coremask.sh
app/Makefile deleted +0 -34
deleted file mode 100644
index 453c4fed6d..0000000000
@@ -1,34 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_APP_TEST) += test
-DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd
-DIRS-$(CONFIG_RTE_PROC_INFO) += proc-info
-DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump
-DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl
-DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test-cmdline
-DIRS-$(CONFIG_RTE_LIBRTE_FIB) += test-fib
-DIRS-$(CONFIG_RTE_TEST_FLOW_PERF) += test-flow-perf
-DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
-DIRS-$(CONFIG_RTE_LIBRTE_IPSEC) += test-sad
-DIRS-$(CONFIG_RTE_LIBRTE_REGEXDEV) += test-regex
-
-ifeq ($(CONFIG_RTE_LIBRTE_BBDEV),y)
-DIRS-$(CONFIG_RTE_TEST_BBDEV) += test-bbdev
-endif
-
-ifeq ($(CONFIG_RTE_LIBRTE_COMPRESSDEV),y)
-DIRS-$(CONFIG_RTE_APP_COMPRESS_PERF) += test-compress-perf
-endif
-
-ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y)
-DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf
-endif
-
-ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
-DIRS-$(CONFIG_RTE_APP_EVENTDEV) += test-eventdev
-endif
-
-include $(RTE_SDK)/mk/rte.subdir.mk
app/pdump/Makefile deleted +0 -18
deleted file mode 100644
index e6b9eea91b..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_PDUMP),y)
-
-APP = dpdk-pdump
-
-CFLAGS += $(WERROR_FLAGS)
-
-# all source are stored in SRCS-y
-
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/proc-info/Makefile deleted +0 -14
deleted file mode 100644
index 214f3f54a1..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2015 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-APP = dpdk-procinfo
-
-CFLAGS += $(WERROR_FLAGS)
-
-# all source are stored in SRCS-y
-
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-acl/Makefile deleted +0 -17
deleted file mode 100644
index 5f26294cf1..0000000000
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
-
-APP = testacl
-
-CFLAGS += $(WERROR_FLAGS)
-
-# all source are stored in SRCS-y
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test-bbdev/Makefile deleted +0 -30
deleted file mode 100644
index dc29557f37..0000000000
@@ -1,30 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-APP = testbbdev
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-#
-# all sources are stored in SRCS-y
-#
-SRCS-$(CONFIG_RTE_TEST_BBDEV) += main.c
-SRCS-$(CONFIG_RTE_TEST_BBDEV) += test_bbdev.c
-SRCS-$(CONFIG_RTE_TEST_BBDEV) += test_bbdev_perf.c
-SRCS-$(CONFIG_RTE_TEST_BBDEV) += test_bbdev_vector.c
-
-LDLIBS += -lm
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC),y)
-LDLIBS += -lrte_pmd_bbdev_fpga_lte_fec
-endif
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC),y)
-LDLIBS += -lrte_pmd_bbdev_fpga_5gnr_fec
-endif
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-cmdline/Makefile deleted +0 -24
deleted file mode 100644
index 3e7421906b..0000000000
@@ -1,24 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_CMDLINE),y)
-
-#
-# library name
-#
-APP = cmdline_test
-
-#
-# all sources are stored in SRCS-y
-#
-SRCS-y += cmdline_test.c
-SRCS-y += commands.c
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test-compress-perf/Makefile deleted +0 -19
deleted file mode 100644
index 2bff531836..0000000000
@@ -1,19 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-APP = dpdk-test-compress-perf
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -O3
-
-# all source are stored in SRCS-y
-SRCS-y := main.c
-SRCS-y += comp_perf_options_parse.c
-SRCS-y += comp_perf_test_verify.c
-SRCS-y += comp_perf_test_throughput.c
-SRCS-y += comp_perf_test_cyclecount.c
-SRCS-y += comp_perf_test_common.c
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-crypto-perf/Makefile deleted +0 -28
deleted file mode 100644
index 0dced790f0..0000000000
@@ -1,28 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016-2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-
-APP = dpdk-test-crypto-perf
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -O3
-
-# all source are stored in SRCS-y
-SRCS-y := main.c
-SRCS-y += cperf_ops.c
-SRCS-y += cperf_options_parsing.c
-SRCS-y += cperf_test_vectors.c
-SRCS-y += cperf_test_throughput.c
-SRCS-y += cperf_test_latency.c
-SRCS-y += cperf_test_pmd_cyclecount.c
-SRCS-y += cperf_test_verify.c
-SRCS-y += cperf_test_vector_parsing.c
-SRCS-y += cperf_test_common.c
-
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER),y)
-LDLIBS += -lrte_pmd_crypto_scheduler
-endif
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-eventdev/Makefile deleted +0 -32
deleted file mode 100644
index e600e21c41..0000000000
@@ -1,32 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-APP = dpdk-test-eventdev
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y := evt_main.c
-SRCS-y += evt_options.c
-SRCS-y += evt_test.c
-SRCS-y += parser.c
-
-SRCS-y += test_order_common.c
-SRCS-y += test_order_queue.c
-SRCS-y += test_order_atq.c
-
-SRCS-y += test_perf_common.c
-SRCS-y += test_perf_queue.c
-SRCS-y += test_perf_atq.c
-
-SRCS-y += test_pipeline_common.c
-SRCS-y += test_pipeline_queue.c
-SRCS-y += test_pipeline_atq.c
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-fib/Makefile deleted +0 -18
deleted file mode 100644
index 2ea799c0e9..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_FIB),y)
-
-APP = testfib
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# all source are stored in SRCS-y
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test-flow-perf/Makefile deleted +0 -26
deleted file mode 100644
index 4f2db75910..0000000000
@@ -1,26 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2020 Mellanox Technologies, Ltd
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_TEST_FLOW_PERF),y)
-
-#
-# library name
-#
-APP = dpdk-test-flow-perf
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += actions_gen.c
-SRCS-y += flow_gen.c
-SRCS-y += items_gen.c
-SRCS-y += main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test-pipeline/Makefile deleted +0 -33
deleted file mode 100644
index fc3a504409..0000000000
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2015 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_PIPELINE),y)
-
-#
-# library name
-#
-APP = testpipeline
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y := main.c
-SRCS-y += config.c
-SRCS-y += init.c
-SRCS-y += runtime.c
-SRCS-y += pipeline_stub.c
-SRCS-y += pipeline_hash.c
-SRCS-y += pipeline_lpm.c
-SRCS-y += pipeline_lpm_ipv6.c
-
-# include ACL lib if available
-SRCS-$(CONFIG_RTE_LIBRTE_ACL) += pipeline_acl.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test-pmd/Makefile deleted +0 -73

73 lines not on this page · raw message

app/test-regex/Makefile deleted +0 -13
deleted file mode 100644
index bb8f150871..0000000000
@@ -1,13 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2020 Mellanox Technologies, Ltd
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-APP = dpdk-test-regex
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
app/test-sad/Makefile deleted +0 -17
deleted file mode 100644
index 9b5a7ddc61..0000000000
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y)
-
-APP = testsad
-
-CFLAGS += $(WERROR_FLAGS)
-
-# all source are stored in SRCS-y
-SRCS-y := main.c
-
-include $(RTE_SDK)/mk/rte.app.mk
-
-endif
app/test/Makefile deleted +0 -310

310 lines not on this page · raw message

buildtools/Makefile deleted +0 -9
deleted file mode 100644
index 7f76fd7d65..0000000000
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Neil Horman <[email protected]>
-# All rights reserved.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-y += pmdinfogen
-
-include $(RTE_SDK)/mk/rte.subdir.mk
buildtools/pmdinfogen/Makefile deleted +0 -20
deleted file mode 100644
index a97a7648fe..0000000000
@@ -1,20 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Neil Horman <[email protected]>
-# All rights reserved.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-HOSTAPP = dpdk-pmdinfogen
-
-#
-# all sources are stored in SRCS-y
-#
-SRCS-y += pmdinfogen.c
-
-HOST_CFLAGS += $(HOST_WERROR_FLAGS) -g
-HOST_CFLAGS += -I$(RTE_OUTPUT)/include
-
-include $(RTE_SDK)/mk/rte.hostapp.mk
drivers/Makefile deleted +0 -34
deleted file mode 100644
index 7f06162dc4..0000000000
@@ -1,34 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2015 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-y += common
-DIRS-y += bus
-DEPDIRS-bus := common
-DIRS-y += mempool
-DEPDIRS-mempool := common bus
-ifeq ($(findstring y,$(CONFIG_RTE_LIBRTE_MLX5_PMD)$(CONFIG_RTE_LIBRTE_MLX5_VDPA_PMD)$(CONFIG_RTE_LIBRTE_MLX5_REGEX_PMD)),y)
-DIRS-y += common/mlx5
-DEPDIRS-common/mlx5 := bus
-endif
-DIRS-y += net
-DEPDIRS-net := common bus mempool common/mlx5
-DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += baseband
-DEPDIRS-baseband := common bus mempool
-DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto
-DEPDIRS-crypto := common bus mempool
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += common/qat
-DEPDIRS-common/qat := bus mempool
-DIRS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += compress
-DEPDIRS-compress := bus mempool
-DIRS-$(CONFIG_RTE_LIBRTE_REGEXDEV) += regex
-DEPDIRS-regex := common bus common/mlx5
-DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vdpa
-DEPDIRS-vdpa := common bus mempool common/mlx5
-DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event
-DEPDIRS-event := common bus mempool net crypto
-DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw
-DEPDIRS-raw := common bus mempool net event
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/baseband/Makefile deleted +0 -18
deleted file mode 100644
index dcc0969175..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-core-libs := librte_eal librte_mbuf librte_mempool librte_ring
-core-libs += librte_bbdev librte_kvargs librte_cfgfile
-
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL) += null
-DEPDIRS-null = $(core-libs)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW) += turbo_sw
-DEPDIRS-turbo_sw = $(core-libs)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC) += fpga_lte_fec
-DEPDIRS-fpga_lte_fec = $(core-libs)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC) += fpga_5gnr_fec
-DEPDIRS-fpga_5gnr_fec = $(core-libs)
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/baseband/fpga_5gnr_fec/Makefile deleted +0 -28
deleted file mode 100644
index 7b7017c6dc..0000000000
@@ -1,28 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_bbdev_fpga_5gnr_fec.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_bbdev
-LDLIBS += -lrte_pci -lrte_bus_pci
-
-# versioning export map
-EXPORT_MAP := rte_pmd_bbdev_fpga_5gnr_fec_version.map
-
-# library version
-LIBABIVER := 1
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC) += rte_fpga_5gnr_fec.c
-
-# export include files
-SYMLINK-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC)-include += rte_pmd_fpga_5gnr_fec.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/baseband/fpga_lte_fec/Makefile deleted +0 -25
deleted file mode 100644
index 30caafe3db..0000000000
@@ -1,25 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_bbdev_fpga_lte_fec.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_bbdev
-LDLIBS += -lrte_pci -lrte_bus_pci
-
-# versioning export map
-EXPORT_MAP := rte_pmd_bbdev_fpga_lte_fec_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC) += fpga_lte_fec.c
-
-# export include files
-SYMLINK-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC)-include += fpga_lte_fec.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/baseband/null/Makefile deleted +0 -21
deleted file mode 100644
index 0ee500166d..0000000000
@@ -1,21 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-# library name
-LIB = librte_pmd_bbdev_null.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs
-LDLIBS += -lrte_bbdev
-LDLIBS += -lrte_bus_vdev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_bbdev_null_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL) += bbdev_null.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/baseband/turbo_sw/Makefile deleted +0 -52

52 lines not on this page · raw message

drivers/bus/Makefile deleted +0 -15
deleted file mode 100644
index cea3b55e60..0000000000
@@ -1,15 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2016 NXP
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += dpaa
-ifeq ($(CONFIG_RTE_EAL_VFIO),y)
-DIRS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc
-endif
-DIRS-$(CONFIG_RTE_LIBRTE_IFPGA_BUS) += ifpga
-DIRS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += pci
-DIRS-$(CONFIG_RTE_LIBRTE_VDEV_BUS) += vdev
-DIRS-$(CONFIG_RTE_LIBRTE_VMBUS) += vmbus
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/bus/dpaa/Makefile deleted +0 -48

48 lines not on this page · raw message

drivers/bus/fslmc/Makefile deleted +0 -47

47 lines not on this page · raw message

drivers/bus/ifpga/Makefile deleted +0 -28
deleted file mode 100644
index 1df369103c..0000000000
@@ -1,28 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_bus_ifpga.a
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal
-LDLIBS += -lrte_rawdev
-LDLIBS += -lrte_kvargs
-
-# versioning export map
-EXPORT_MAP := rte_bus_ifpga_version.map
-
-SRCS-$(CONFIG_RTE_LIBRTE_IFPGA_BUS) += ifpga_bus.c
-SRCS-$(CONFIG_RTE_LIBRTE_IFPGA_BUS) += ifpga_common.c
-
-#
-# Export include files
-#
-SYMLINK-$(CONFIG_RTE_LIBRTE_IFPGA_BUS)-include += rte_bus_ifpga.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/bus/pci/Makefile deleted +0 -33
deleted file mode 100644
index f4102d0a7f..0000000000
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 6WIND S.A.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-LIB = librte_bus_pci.a
-EXPORT_MAP := rte_bus_pci_version.map
-
-CFLAGS := -I$(SRCDIR) $(CFLAGS)
-CFLAGS += -O3 $(WERROR_FLAGS)
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),)
-SYSTEM := linux
-endif
-ifneq ($(CONFIG_RTE_EXEC_ENV_FREEBSD),)
-SYSTEM := bsd
-endif
-
-CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM)
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_pci -lrte_kvargs
-
-include $(RTE_SDK)/drivers/bus/pci/$(SYSTEM)/Makefile
-SRCS-$(CONFIG_RTE_LIBRTE_PCI_BUS) := $(addprefix $(SYSTEM)/,$(SRCS))
-SRCS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += pci_params.c
-SRCS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += pci_common.c
-SRCS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += pci_common_uio.c
-
-SYMLINK-$(CONFIG_RTE_LIBRTE_PCI_BUS)-include += rte_bus_pci.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/bus/pci/bsd/Makefile deleted +0 -4
deleted file mode 100644
index c1b54c05ef..0000000000
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 6WIND S.A.
-
-SRCS += pci.c
drivers/bus/pci/linux/Makefile deleted +0 -6
deleted file mode 100644
index 90404468b0..0000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 6WIND S.A.
-
-SRCS += pci.c
-SRCS += pci_uio.c
-SRCS += pci_vfio.c
drivers/bus/vdev/Makefile deleted +0 -27
deleted file mode 100644
index 01747f03a4..0000000000
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_bus_vdev.a
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# versioning export map
-EXPORT_MAP := rte_bus_vdev_version.map
-
-SRCS-y += vdev.c
-SRCS-y += vdev_params.c
-
-LDLIBS += -lrte_eal -lrte_kvargs
-
-#
-# Export include files
-#
-SYMLINK-y-include += rte_bus_vdev.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/bus/vmbus/Makefile deleted +0 -33
deleted file mode 100644
index 335df6a0ba..0000000000
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-LIB = librte_bus_vmbus.a
-EXPORT_MAP := rte_bus_vmbus_version.map
-
-CFLAGS += -I$(SRCDIR)
-CFLAGS += -O3 $(WERROR_FLAGS)
-
-ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),)
-SYSTEM := linux
-endif
-ifneq ($(CONFIG_RTE_EXEC_ENV_FREEBSD),)
-$(error "VMBUS not implemented for BSD yet")
-endif
-
-CFLAGS += -I$(RTE_SDK)/drivers/bus/vmbus/$(SYSTEM)
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_ethdev
-
-include $(RTE_SDK)/drivers/bus/vmbus/$(SYSTEM)/Makefile
-SRCS-$(CONFIG_RTE_LIBRTE_VMBUS) := $(addprefix $(SYSTEM)/,$(SRCS))
-SRCS-$(CONFIG_RTE_LIBRTE_VMBUS) += vmbus_common.c
-SRCS-$(CONFIG_RTE_LIBRTE_VMBUS) += vmbus_channel.c vmbus_bufring.c
-SRCS-$(CONFIG_RTE_LIBRTE_VMBUS) += vmbus_common_uio.c
-
-SYMLINK-$(CONFIG_RTE_LIBRTE_VMBUS)-include += rte_bus_vmbus.h
-SYMLINK-$(CONFIG_RTE_LIBRTE_VMBUS)-include += rte_vmbus_reg.h
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/bus/vmbus/linux/Makefile deleted +0 -3
deleted file mode 100644
index ef0d30b2d3..0000000000
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-
-SRCS += vmbus_bus.c vmbus_uio.c
drivers/common/Makefile deleted +0 -39
deleted file mode 100644
index cfb6b4dc88..0000000000
@@ -1,39 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-CPT-y := $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO)
-CPT-y += $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO)
-ifneq (,$(findstring y,$(CPT-y)))
-DIRS-y += cpt
-endif
-
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF)$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL),yy)
-DIRS-y += octeontx
-endif
-OCTEONTX2-y := $(CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL)
-OCTEONTX2-y += $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO)
-ifeq ($(findstring y,$(OCTEONTX2-y)),y)
-DIRS-y += octeontx2
-endif
-
-MVEP-y := $(CONFIG_RTE_LIBRTE_MVPP2_PMD)
-MVEP-y += $(CONFIG_RTE_LIBRTE_MVNETA_PMD)
-MVEP-y += $(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO)
-ifneq (,$(findstring y,$(MVEP-y)))
-DIRS-y += mvep
-endif
-
-ifeq ($(CONFIG_RTE_LIBRTE_COMMON_DPAAX),y)
-DIRS-y += dpaax
-endif
-
-IAVF-y := $(CONFIG_RTE_LIBRTE_IAVF_PMD)
-IAVF-y += $(CONFIG_RTE_LIBRTE_ICE_PMD)
-ifneq (,$(findstring y,$(IAVF-y)))
-DIRS-y += iavf
-endif
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/common/cpt/Makefile deleted +0 -24
deleted file mode 100644
index cab9da73c8..0000000000
@@ -1,24 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_common_cpt.a
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -I$(RTE_SDK)/drivers/bus/pci
-EXPORT_MAP := rte_common_cpt_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += cpt_fpm_tables.c
-SRCS-y += cpt_pmd_ops_helper.c
-
-LDLIBS += -lrte_eal
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/dpaax/Makefile deleted +0 -30
deleted file mode 100644
index 2f4b924fda..0000000000
@@ -1,30 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2018 NXP
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_common_dpaax.a
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -Wno-pointer-arith
-CFLAGS += -Wno-cast-qual
-
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax/caamflib
-
-# versioning export map
-EXPORT_MAP := rte_common_dpaax_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += dpaax_iova_table.c dpaa_of.c caamflib.c
-
-LDLIBS += -lrte_eal
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/iavf/Makefile deleted +0 -27
deleted file mode 100644
index f06dafd408..0000000000
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_common_iavf.a
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -Wno-pointer-arith
-CFLAGS += -Wno-cast-qual
-
-EXPORT_MAP := rte_common_iavf_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += iavf_adminq.c
-SRCS-y += iavf_common.c
-SRCS-y += iavf_impl.c
-
-LDLIBS += -lrte_eal
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/mlx5/Makefile deleted +0 -404

404 lines not on this page · raw message

drivers/common/mvep/Makefile deleted +0 -35
deleted file mode 100644
index f91d295e5c..0000000000
@@ -1,35 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Marvell International Ltd.
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(MAKECMDGOALS),config)
-ifeq ($(LIBMUSDK_PATH),)
-$(error "Please define LIBMUSDK_PATH environment variable")
-endif
-endif
-endif
-
-# library name
-LIB = librte_common_mvep.a
-
-# versioning export map
-EXPORT_MAP := rte_common_mvep_version.map
-
-# external library dependencies
-CFLAGS += -I$($RTE_SDK)/drivers/common/mvep
-CFLAGS += -I$(LIBMUSDK_PATH)/include
-CFLAGS += -DMVCONF_TYPES_PUBLIC
-CFLAGS += -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -O3
-LDLIBS += -L$(LIBMUSDK_PATH)/lib
-LDLIBS += -lmusdk
-LDLIBS += -lrte_eal -lrte_kvargs
-
-# library source files
-SRCS-y += mvep_common.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/octeontx/Makefile deleted +0 -22
deleted file mode 100644
index 5e67df0583..0000000000
@@ -1,22 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_common_octeontx.a
-
-CFLAGS += $(WERROR_FLAGS)
-EXPORT_MAP := rte_common_octeontx_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += octeontx_mbox.c
-
-LDLIBS += -lrte_eal
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/octeontx2/Makefile deleted +0 -39
deleted file mode 100644
index 260da8dd3e..0000000000
@@ -1,39 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(C) 2019 Marvell International Ltd.
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_common_octeontx2.a
-
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2
-CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2
-CFLAGS += -I$(RTE_SDK)/drivers/bus/pci
-
-ifneq ($(CONFIG_RTE_ARCH_64),y)
-CFLAGS += -Wno-int-to-pointer-cast
-CFLAGS += -Wno-pointer-to-int-cast
-ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
-CFLAGS += -diag-disable 2259
-endif
-endif
-
-EXPORT_MAP := rte_common_octeontx2_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-y += otx2_dev.c
-SRCS-y += otx2_irq.c
-SRCS-y += otx2_mbox.c
-SRCS-y += otx2_common.c
-SRCS-y += otx2_sec_idev.c
-
-LDLIBS += -lrte_eal
-LDLIBS += -lrte_ethdev -lrte_kvargs
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/common/qat/Makefile deleted +0 -74

74 lines not on this page · raw message

drivers/compress/Makefile deleted +0 -10
deleted file mode 100644
index 286ea6ee84..0000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_ISAL) += isal
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF) += octeontx
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_ZLIB) += zlib
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/compress/isal/Makefile deleted +0 -27
deleted file mode 100644
index 1e225ab434..0000000000
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_isal_comp.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# external library dependencies
-LDLIBS += -lisal
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_compressdev
-LDLIBS += -lrte_bus_vdev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_isal_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ISAL) += isal_compress_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ISAL) += isal_compress_pmd_ops.c
-
-# export include files
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/compress/octeontx/Makefile deleted +0 -26
deleted file mode 100644
index 9ba1db791e..0000000000
@@ -1,26 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium, Inc
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_octeontx_zip.a
-
-# build flags
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -O3
-CFLAGS += -I$(RTE_SDK)/drivers/compress/octeontx/include
-
-# external library include paths
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_compressdev
-LDLIBS += -lrte_pci -lrte_bus_pci
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF) += otx_zip_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF) += otx_zip.c
-
-# versioning export map
-EXPORT_MAP := rte_pmd_octeontx_compress_version.map
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/compress/zlib/Makefile deleted +0 -25
deleted file mode 100644
index 9f695f7d9a..0000000000
@@ -1,25 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium Networks
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_zlib.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# versioning export map
-EXPORT_MAP := rte_pmd_zlib_version.map
-
-# external library dependencies
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lz
-LDLIBS += -lrte_compressdev
-LDLIBS += -lrte_bus_vdev
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZLIB) += zlib_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZLIB) += zlib_pmd_ops.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/Makefile deleted +0 -31
deleted file mode 100644
index 47a2a9e794..0000000000
@@ -1,31 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += aesni_gcm
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += aesni_mb
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += armv8
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += octeontx
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO) += octeontx2
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += openssl
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += snow3g
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += kasumi
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += zuc
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += mvsam
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += null
-ifeq ($(CONFIG_RTE_EAL_VFIO)$(CONFIG_RTE_LIBRTE_FSLMC_BUS),yy)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += dpaa2_sec
-endif # CONFIG_RTE_LIBRTE_FSLMC_BUS
-ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec
-endif # CONFIG_RTE_LIBRTE_PMD_DPAA_SEC
-ifeq ($(CONFIG_RTE_LIBRTE_SECURITY),y)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr
-endif # CONFIG_RTE_LIBRTE_SECURITY
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtio
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/crypto/aesni_gcm/Makefile deleted +0 -43

43 lines not on this page · raw message

drivers/crypto/aesni_mb/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/crypto/armv8/Makefile deleted +0 -36
deleted file mode 100644
index 0e3bc9fb70..0000000000
@@ -1,36 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(MAKECMDGOALS),config)
-ifeq ($(ARMV8_CRYPTO_LIB_PATH),)
-$(error "Please define ARMV8_CRYPTO_LIB_PATH environment variable")
-endif
-endif
-endif
-
-# library name
-LIB = librte_pmd_armv8.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# versioning export map
-EXPORT_MAP := rte_pmd_armv8_version.map
-
-# external library dependencies
-CFLAGS += -I$(ARMV8_CRYPTO_LIB_PATH)
-LDLIBS += -L$(ARMV8_CRYPTO_LIB_PATH) -lAArch64crypto
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_bus_vdev
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += rte_armv8_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += rte_armv8_pmd_ops.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/caam_jr/Makefile deleted +0 -39
deleted file mode 100644
index 89d3238172..0000000000
@@ -1,39 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2017 NXP
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_pmd_caam_jr.a
-
-# build flags
-CFLAGS += -D _GNU_SOURCE
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax/caamflib/
-CFLAGS += -I$(RTE_SDK)/drivers/crypto/caam_jr
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
-
-# versioning export map
-EXPORT_MAP := rte_pmd_caam_jr_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_capabilities.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_hw.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_uio.c
-# library dependencies
-
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_bus_dpaa
-LDLIBS += -lrte_bus_vdev
-LDLIBS += -lrte_common_dpaax
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/ccp/Makefile deleted +0 -32
deleted file mode 100644
index 3f5da2adf3..0000000000
@@ -1,32 +0,0 @@
-#   SPDX-License-Identifier: BSD-3-Clause
-#   Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_ccp.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += -I$(SRCDIR)
-CFLAGS += $(WERROR_FLAGS)
-
-# external library include paths
-LDLIBS += -lcrypto
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_pci -lrte_bus_pci
-LDLIBS += -lrte_bus_vdev
-LDLIBS += -lrte_kvargs
-
-# versioning export map
-EXPORT_MAP := rte_pmd_ccp_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += rte_ccp_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_crypto.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_dev.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_pci.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_pmd_ops.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/dpaa2_sec/Makefile deleted +0 -45

45 lines not on this page · raw message

drivers/crypto/dpaa_sec/Makefile deleted +0 -38
deleted file mode 100644
index ea266962a3..0000000000
@@ -1,38 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
-# Copyright 2017 NXP
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_pmd_dpaa_sec.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/base/qbman
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
-CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax/caamflib/
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_dpaa_sec_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec.c
-
-# library dependencies
-
-LDLIBS += -lrte_bus_dpaa
-LDLIBS += -lrte_mempool_dpaa
-LDLIBS += -lrte_common_dpaax
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/kasumi/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/crypto/mvsam/Makefile deleted +0 -40
deleted file mode 100644
index f0641ae7d9..0000000000
@@ -1,40 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Marvell International Ltd.
-# Copyright(c) 2017 Semihalf.
-# All rights reserved.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(MAKECMDGOALS),config)
-ifeq ($(LIBMUSDK_PATH),)
-$(error "Please define LIBMUSDK_PATH environment variable")
-endif
-endif
-endif
-
-# library name
-LIB = librte_pmd_mvsam_crypto.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -I$(RTE_SDK)/drivers/common/mvep
-CFLAGS += -I$(LIBMUSDK_PATH)/include
-CFLAGS += -DMVCONF_TYPES_PUBLIC
-CFLAGS += -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC
-
-# versioning export map
-EXPORT_MAP := rte_pmd_mvsam_version.map
-
-# external library dependencies
-LDLIBS += -L$(LIBMUSDK_PATH)/lib -lmusdk
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_kvargs
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_bus_vdev -lrte_common_mvep
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += rte_mrvl_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += rte_mrvl_pmd_ops.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/nitrox/Makefile deleted +0 -30
deleted file mode 100644
index 535121196b..0000000000
@@ -1,30 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(C) 2019 Marvell International Ltd.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_nitrox.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# versioning export map
-EXPORT_MAP := rte_pmd_nitrox_version.map
-
-# external library dependencies
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
-LDLIBS += -lrte_pci -lrte_bus_pci
-LDLIBS += -lrte_cryptodev
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_device.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_hal.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_logs.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_sym.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_sym_capabilities.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_sym_reqmgr.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NITROX) += nitrox_qp.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/null/Makefile deleted +0 -27
deleted file mode 100644
index 4595055f01..0000000000
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-
-# library name
-LIB = librte_pmd_null_crypto.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_bus_vdev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_null_crypto_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += null_crypto_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += null_crypto_pmd_ops.c
-
-# export include files
-SYMLINK-y-include +=
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/octeontx/Makefile deleted +0 -36
deleted file mode 100644
index 296755ee90..0000000000
@@ -1,36 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_octeontx_crypto.a
-
-# build flags
-CFLAGS += $(WERROR_FLAGS)
-
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_pci -lrte_bus_pci
-LDLIBS += -lrte_common_cpt
-
-VPATH += $(RTE_SDK)/drivers/crypto/octeontx
-
-CFLAGS += -O3
-CFLAGS += -I$(RTE_SDK)/drivers/common/cpt
-
-# PMD code
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev_capabilities.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev_hw_access.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev_mbox.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO) += otx_cryptodev_ops.c
-
-# export include files
-SYMLINK-y-include +=
-
-# versioning export map
-EXPORT_MAP := rte_pmd_octeontx_crypto_version.map
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/octeontx2/Makefile deleted +0 -49

49 lines not on this page · raw message

drivers/crypto/openssl/Makefile deleted +0 -26
deleted file mode 100644
index b85c816551..0000000000
@@ -1,26 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_openssl.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-# versioning export map
-EXPORT_MAP := rte_pmd_openssl_version.map
-
-# external library dependencies
-LDLIBS += -lcrypto
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_bus_vdev
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd_ops.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/scheduler/Makefile deleted +0 -34
deleted file mode 100644
index 67aac024c4..0000000000
@@ -1,34 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_crypto_scheduler.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_cryptodev -lrte_kvargs -lrte_reorder
-LDLIBS += -lrte_bus_vdev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_crypto_scheduler_version.map
-
-#
-# Export include files
-#
-SYMLINK-y-include += rte_cryptodev_scheduler_operations.h
-SYMLINK-y-include += rte_cryptodev_scheduler.h
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pmd.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pmd_ops.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += rte_cryptodev_scheduler.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_roundrobin.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pkt_size_distr.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_failover.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_multicore.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/snow3g/Makefile deleted +0 -43

43 lines not on this page · raw message

drivers/crypto/virtio/Makefile deleted +0 -33
deleted file mode 100644
index 32e2e4d5e9..0000000000
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_pmd_virtio_crypto.a
-
-#
-# include virtio_crypto.h
-#
-CFLAGS += -I$(RTE_SDK)/lib/librte_vhost
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-EXPORT_MAP := rte_pmd_virtio_crypto_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtqueue.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtio_pci.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtio_rxtx.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO) += virtio_cryptodev.c
-
-# this lib depends upon:
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
-LDLIBS += -lrte_cryptodev
-LDLIBS += -lrte_pci -lrte_bus_pci
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/crypto/zuc/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/event/Makefile deleted +0 -20
deleted file mode 100644
index 86be41b9eb..0000000000
@@ -1,20 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV) += skeleton
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV) += dsw
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += octeontx
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV) += octeontx2
-ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV) += dpaa
-endif
-ifeq ($(CONFIG_RTE_EAL_VFIO)$(CONFIG_RTE_LIBRTE_FSLMC_BUS),yy)
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2
-endif
-DIRS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl
-
-include $(RTE_SDK)/mk/rte.subdir.mk
drivers/event/dpaa/Makefile deleted +0 -39
deleted file mode 100644
index a39dc27c62..0000000000
@@ -1,39 +0,0 @@
-#   SPDX-License-Identifier:        BSD-3-Clause
-#   Copyright 2017 NXP
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-RTE_SDK_DPAA=$(RTE_SDK)/drivers/net/dpaa
-
-#
-# library name
-#
-LIB = librte_pmd_dpaa_event.a
-
-CFLAGS := -I$(SRCDIR) $(CFLAGS)
-CFLAGS += -O3 $(WERROR_FLAGS)
-CFLAGS += -Wno-pointer-arith
-CFLAGS += -I$(RTE_SDK_DPAA)/
-CFLAGS += -I$(RTE_SDK_DPAA)/include
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
-CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
-CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
-CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
-
-LDLIBS += -lrte_pmd_dpaa_sec
-CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec
-
-EXPORT_MAP := rte_pmd_dpaa_event_version.map
-
-# Interfaces with DPDK
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV) += dpaa_eventdev.c
-
-LDLIBS += -lrte_bus_dpaa
-LDLIBS += -lrte_mempool_dpaa
-LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
-LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
-LDLIBS += -lrte_eventdev -lrte_pmd_dpaa -lrte_bus_vdev
-LDLIBS += -lrte_common_dpaax
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/event/dpaa2/Makefile deleted +0 -41

41 lines not on this page · raw message

drivers/event/dsw/Makefile deleted +0 -26
deleted file mode 100644
index f6e7dda1fd..0000000000
@@ -1,26 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Ericsson AB
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-LIB = librte_pmd_dsw_event.a
-
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
-CFLAGS += -Wno-format-nonliteral
-endif
-
-LDLIBS += -lrte_eal
-LDLIBS += -lrte_mbuf
-LDLIBS += -lrte_mempool
-LDLIBS += -lrte_ring
-LDLIBS += -lrte_eventdev
-LDLIBS += -lrte_bus_vdev
-
-EXPORT_MAP := rte_pmd_dsw_event_version.map
-
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV) += \
-	dsw_evdev.c dsw_event.c dsw_xstats.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/event/octeontx/Makefile deleted +0 -51

51 lines not on this page · raw message

drivers/event/octeontx2/Makefile deleted +0 -47

47 lines not on this page · raw message

drivers/event/opdl/Makefile deleted +0 -29
deleted file mode 100644
index 71713b00ae..0000000000
@@ -1,29 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_opdl_event.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-
-LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs
-LDLIBS += -lrte_bus_vdev -lrte_mbuf -lrte_mempool
-
-# versioning export map
-EXPORT_MAP := rte_pmd_opdl_event_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_ring.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev_init.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev_xstats.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_test.c
-
-# export include files
-SYMLINK-y-include +=
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/event/skeleton/Makefile deleted +0 -24
deleted file mode 100644
index dc85ad3c4b..0000000000
@@ -1,24 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016 Cavium, Inc
-#
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-#
-# library name
-#
-LIB = librte_pmd_skeleton_event.a
-
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_eventdev
-LDLIBS += -lrte_pci -lrte_bus_pci
-LDLIBS += -lrte_bus_vdev
-
-EXPORT_MAP := rte_pmd_skeleton_event_version.map
-
-#
-# all source are stored in SRCS-y
-#
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV) += skeleton_eventdev.c
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/event/sw/Makefile deleted +0 -29
deleted file mode 100644
index 8ea5cceb8b..0000000000
@@ -1,29 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2016-2017 Intel Corporation
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-# library name
-LIB = librte_pmd_sw_event.a
-
-# build flags
-CFLAGS += -O3
-CFLAGS += $(WERROR_FLAGS)
-LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs -lrte_ring
-LDLIBS += -lrte_mempool -lrte_mbuf
-LDLIBS += -lrte_bus_vdev
-
-# versioning export map
-EXPORT_MAP := rte_pmd_sw_event_version.map
-
-# library source files
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_worker.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_scheduler.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_xstats.c
-SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw_evdev_selftest.c
-
-# export include files
-SYMLINK-y-include +=
-
-include $(RTE_SDK)/mk/rte.lib.mk
drivers/mempool/Makefile deleted +0 -18
deleted file mode 100644
index 29ef73bf44..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2017 NXP
-
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_BUCKET) += bucket
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/mempool/bucket/Makefile deleted +0 -25
deleted file mode 100644
index c766c35b2c..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/dpaa/Makefile deleted +0 -30
deleted file mode 100644
index 144969c627..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/dpaa2/Makefile deleted +0 -31
deleted file mode 100644
index 04db6d27de..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/octeontx/Makefile deleted +0 -39
deleted file mode 100644
index 9c840620d9..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/octeontx2/Makefile deleted +0 -40
deleted file mode 100644
index 3828219b11..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/ring/Makefile deleted +0 -19
deleted file mode 100644
index 8624502da9..0000000000

Lines of this file are not shown. View the raw message.

drivers/mempool/stack/Makefile deleted +0 -22
deleted file mode 100644
index ccfd970400..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/Makefile deleted +0 -84

84 lines not on this page · raw message

drivers/net/af_packet/Makefile deleted +0 -27
deleted file mode 100644
index 91dbf0a692..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/af_xdp/Makefile deleted +0 -26
deleted file mode 100644
index 55db6085ac..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/ark/Makefile deleted +0 -39
deleted file mode 100644
index c02080bdd0..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/atlantic/Makefile deleted +0 -34
deleted file mode 100644
index 0d0d0a502d..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/avp/Makefile deleted +0 -29
deleted file mode 100644
index 075247b13a..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/axgbe/Makefile deleted +0 -33
deleted file mode 100644
index e421d0da11..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/bnx2x/Makefile deleted +0 -33
deleted file mode 100644
index 451434cc18..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/bnxt/Makefile deleted +0 -63

63 lines not on this page · raw message

drivers/net/bnxt/hcapi/Makefile deleted +0 -5
deleted file mode 100644
index a5bb398ad7..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/bnxt/tf_core/Makefile deleted +0 -31
deleted file mode 100644
index 84840366ab..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/bnxt/tf_ulp/Makefile deleted +0 -20
deleted file mode 100644
index abb68150d1..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/bonding/Makefile deleted +0 -36
deleted file mode 100644
index 728551a846..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/cxgbe/Makefile deleted +0 -57

57 lines not on this page · raw message

drivers/net/dpaa/Makefile deleted +0 -41

41 lines not on this page · raw message

drivers/net/dpaa2/Makefile deleted +0 -47

47 lines not on this page · raw message

drivers/net/e1000/Makefile deleted +0 -79

79 lines not on this page · raw message

drivers/net/ena/Makefile deleted +0 -30
deleted file mode 100644
index 8ccff36db7..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/enetc/Makefile deleted +0 -23
deleted file mode 100644
index 7276026e37..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/enic/Makefile deleted +0 -68

68 lines not on this page · raw message

drivers/net/failsafe/Makefile deleted +0 -43

43 lines not on this page · raw message

drivers/net/fm10k/Makefile deleted +0 -77

77 lines not on this page · raw message

drivers/net/hinic/Makefile deleted +0 -67

67 lines not on this page · raw message

drivers/net/hns3/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/net/i40e/Makefile deleted +0 -112

112 lines not on this page · raw message

drivers/net/iavf/Makefile deleted +0 -54

54 lines not on this page · raw message

drivers/net/ice/Makefile deleted +0 -96

96 lines not on this page · raw message

drivers/net/igc/Makefile deleted +0 -40
deleted file mode 100644
index d6d7959d2d..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/ionic/Makefile deleted +0 -31
deleted file mode 100644
index 7442e2c5cb..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/ipn3ke/Makefile deleted +0 -38
deleted file mode 100644
index 40696dbde8..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/ixgbe/Makefile deleted +0 -110

110 lines not on this page · raw message

drivers/net/kni/Makefile deleted +0 -30
deleted file mode 100644
index 0694ffd021..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/liquidio/Makefile deleted +0 -30
deleted file mode 100644
index d7fda7f527..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/memif/Makefile deleted +0 -26
deleted file mode 100644
index 3bf4ddce4c..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/mlx4/Makefile deleted +0 -142

142 lines not on this page · raw message

drivers/net/mlx5/Makefile deleted +0 -82

82 lines not on this page · raw message

drivers/net/mvneta/Makefile deleted +0 -39
deleted file mode 100644
index 41e50479ff..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/mvpp2/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/net/netvsc/Makefile deleted +0 -21
deleted file mode 100644
index da8991584a..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/nfb/Makefile deleted +0 -40
deleted file mode 100644
index e92d29dcd3..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/nfp/Makefile deleted +0 -41

41 lines not on this page · raw message

drivers/net/null/Makefile deleted +0 -24
deleted file mode 100644
index f51150c131..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/octeontx/Makefile deleted +0 -53

53 lines not on this page · raw message

drivers/net/octeontx2/Makefile deleted +0 -63

63 lines not on this page · raw message

drivers/net/pcap/Makefile deleted +0 -32
deleted file mode 100644
index f243d1a0fa..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/pfe/Makefile deleted +0 -31
deleted file mode 100644
index 75d30b01aa..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/qede/Makefile deleted +0 -109

109 lines not on this page · raw message

drivers/net/ring/Makefile deleted +0 -29
deleted file mode 100644
index d6a3dec350..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/sfc/Makefile deleted +0 -133

133 lines not on this page · raw message

drivers/net/softnic/Makefile deleted +0 -54

54 lines not on this page · raw message

drivers/net/szedata2/Makefile deleted +0 -30
deleted file mode 100644
index 675d0938a2..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/tap/Makefile deleted +0 -97

97 lines not on this page · raw message

drivers/net/thunderx/Makefile deleted +0 -41

41 lines not on this page · raw message

drivers/net/vdev_netvsc/Makefile deleted +0 -30
deleted file mode 100644
index 01d26fb798..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/vhost/Makefile deleted +0 -31
deleted file mode 100644
index 0461e29f2c..0000000000

Lines of this file are not shown. View the raw message.

drivers/net/virtio/Makefile deleted +0 -82

82 lines not on this page · raw message

drivers/net/vmxnet3/Makefile deleted +0 -53

53 lines not on this page · raw message

drivers/raw/Makefile deleted +0 -18
deleted file mode 100644
index 80b043eb14..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/dpaa2_cmdif/Makefile deleted +0 -35
deleted file mode 100644
index 227ec4896e..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/dpaa2_qdma/Makefile deleted +0 -36
deleted file mode 100644
index 7b2abdddb4..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/ifpga/Makefile deleted +0 -39
deleted file mode 100644
index 371e127f19..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/ifpga/base/Makefile deleted +0 -32
deleted file mode 100644
index c5bbcbd5f8..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/ioat/Makefile deleted +0 -28
deleted file mode 100644
index 1609fe5e6c..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/ntb/Makefile deleted +0 -28
deleted file mode 100644
index 8f0bff9b02..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/octeontx2_dma/Makefile deleted +0 -34
deleted file mode 100644
index c64ca3497a..0000000000

Lines of this file are not shown. View the raw message.

drivers/raw/octeontx2_ep/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/raw/skeleton/Makefile deleted +0 -26
deleted file mode 100644
index 2ac66fbd45..0000000000

Lines of this file are not shown. View the raw message.

drivers/regex/Makefile deleted +0 -8
deleted file mode 100644
index 906b20546f..0000000000

Lines of this file are not shown. View the raw message.

drivers/regex/mlx5/Makefile deleted +0 -41

41 lines not on this page · raw message

drivers/vdpa/Makefile deleted +0 -12
deleted file mode 100644
index 6e8835948e..0000000000

Lines of this file are not shown. View the raw message.

drivers/vdpa/ifc/Makefile deleted +0 -33
deleted file mode 100644
index b468bfdbdd..0000000000

Lines of this file are not shown. View the raw message.

drivers/vdpa/mlx5/Makefile deleted +0 -58

58 lines not on this page · raw message

examples/Makefile deleted +0 -90

90 lines not on this page · raw message

kernel/Makefile deleted +0 -9
deleted file mode 100644
index 5d51fd94bb..0000000000

Lines of this file are not shown. View the raw message.

kernel/freebsd/Makefile deleted +0 -9
deleted file mode 100644
index 522d3f68ff..0000000000

Lines of this file are not shown. View the raw message.

kernel/freebsd/contigmem/Makefile deleted +0 -24
deleted file mode 100644
index 428a7edee5..0000000000

Lines of this file are not shown. View the raw message.

kernel/freebsd/nic_uio/Makefile deleted +0 -24
deleted file mode 100644
index 376ef3a3ab..0000000000

Lines of this file are not shown. View the raw message.

kernel/linux/Makefile deleted +0 -9
deleted file mode 100644
index c2c45a3e67..0000000000

Lines of this file are not shown. View the raw message.

kernel/linux/igb_uio/Makefile deleted +0 -25
deleted file mode 100644
index f83bcc7c69..0000000000

Lines of this file are not shown. View the raw message.

kernel/linux/kni/Makefile deleted +0 -34
deleted file mode 100644
index 595bac2612..0000000000

Lines of this file are not shown. View the raw message.

lib/Makefile deleted +0 -138

138 lines not on this page · raw message

lib/librte_acl/Makefile deleted +0 -65

65 lines not on this page · raw message

lib/librte_bbdev/Makefile deleted +0 -25
deleted file mode 100644
index 9d7576b358..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_bitratestats/Makefile deleted +0 -20
deleted file mode 100644
index 4862c44b83..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_bpf/Makefile deleted +0 -40
deleted file mode 100644
index 3be6750432..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_cfgfile/Makefile deleted +0 -26
deleted file mode 100644
index 7c10a4e56c..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_cmdline/Makefile deleted +0 -34
deleted file mode 100644
index 619d9a2426..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_compressdev/Makefile deleted +0 -27
deleted file mode 100644
index 53679d69b8..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_cryptodev/Makefile deleted +0 -30
deleted file mode 100644
index 73e77a27c6..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_distributor/Makefile deleted +0 -28
deleted file mode 100644
index fc32fb3a8f..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_eal/Makefile deleted +0 -12
deleted file mode 100644
index 2fda40d230..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_eal/freebsd/Makefile deleted +0 -104

104 lines not on this page · raw message

lib/librte_eal/include/Makefile deleted +0 -19
deleted file mode 100644
index eb99190d10..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_eal/linux/Makefile deleted +0 -112

112 lines not on this page · raw message

lib/librte_efd/Makefile deleted +0 -21
deleted file mode 100644
index 2dc97132e0..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_ethdev/Makefile deleted +0 -46

46 lines not on this page · raw message

lib/librte_eventdev/Makefile deleted +0 -47

47 lines not on this page · raw message

lib/librte_fib/Makefile deleted +0 -22
deleted file mode 100644
index 1dd2a495b1..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_flow_classify/Makefile deleted +0 -23
deleted file mode 100644
index ca3cae82dd..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_graph/Makefile deleted +0 -28
deleted file mode 100644
index b66279c675..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_gro/Makefile deleted +0 -23
deleted file mode 100644
index e848687acd..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_gso/Makefile deleted +0 -25
deleted file mode 100644
index a34846e920..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_hash/Makefile deleted +0 -31
deleted file mode 100644
index ec9f864992..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_ip_frag/Makefile deleted +0 -27
deleted file mode 100644
index 6b80d9f1f2..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_ipsec/Makefile deleted +0 -29
deleted file mode 100644
index e4c69646b0..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_jobstats/Makefile deleted +0 -21
deleted file mode 100644
index b30d046829..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_kni/Makefile deleted +0 -20
deleted file mode 100644
index 9d440aa135..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_kvargs/Makefile deleted +0 -21
deleted file mode 100644
index 24b1c3c5b9..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_latencystats/Makefile deleted +0 -22
deleted file mode 100644
index b19e0b1788..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_lpm/Makefile deleted +0 -29
deleted file mode 100644
index 6f06c5c034..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_mbuf/Makefile deleted +0 -26
deleted file mode 100644
index 41ea5496e3..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_member/Makefile deleted +0 -22
deleted file mode 100644
index ef9e2faeaf..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_mempool/Makefile deleted +0 -24
deleted file mode 100644
index 432d6217ec..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_meter/Makefile deleted +0 -27
deleted file mode 100644
index 48366e82b0..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_metrics/Makefile deleted +0 -30
deleted file mode 100644
index 1264d3bbb0..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_net/Makefile deleted +0 -25
deleted file mode 100644
index 9830e771b3..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_node/Makefile deleted +0 -33
deleted file mode 100644
index 3ec02104d3..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_pci/Makefile deleted +0 -19
deleted file mode 100644
index 7943f30cab..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_pdump/Makefile deleted +0 -20
deleted file mode 100644
index ece8aaacc1..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_pipeline/Makefile deleted +0 -28
deleted file mode 100644
index cfbbd18282..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_port/Makefile deleted +0 -59

59 lines not on this page · raw message

lib/librte_power/Makefile deleted +0 -24
deleted file mode 100644
index 3b067b615f..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_rawdev/Makefile deleted +0 -24
deleted file mode 100644
index 99f5d2a471..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_rcu/Makefile deleted +0 -20
deleted file mode 100644
index 553bca2ef4..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_regexdev/Makefile deleted +0 -32
deleted file mode 100644
index c123fcaf5c..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_reorder/Makefile deleted +0 -21
deleted file mode 100644
index 1914411d52..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_rib/Makefile deleted +0 -22
deleted file mode 100644
index be80ce5d3f..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_ring/Makefile deleted +0 -30
deleted file mode 100644
index 83a9d0840e..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_sched/Makefile deleted +0 -29
deleted file mode 100644
index aee93a1205..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_security/Makefile deleted +0 -24
deleted file mode 100644
index 825eaeff8e..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_stack/Makefile deleted +0 -27
deleted file mode 100644
index 020ef102b5..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_table/Makefile deleted +0 -59

59 lines not on this page · raw message

lib/librte_telemetry/Makefile deleted +0 -30
deleted file mode 100644
index c62cbd86dc..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_timer/Makefile deleted +0 -20
deleted file mode 100644
index 7e95d120c0..0000000000

Lines of this file are not shown. View the raw message.

lib/librte_vhost/Makefile deleted +0 -54

54 lines not on this page · raw message

mk/arch/arm/rte.vars.mk deleted +0 -16
deleted file mode 100644
index dc8c10a24c..0000000000

Lines of this file are not shown. View the raw message.

mk/arch/arm64/rte.vars.mk deleted +0 -37
deleted file mode 100644
index a75b80c222..0000000000

Lines of this file are not shown. View the raw message.

mk/arch/i686/rte.vars.mk deleted +0 -36
deleted file mode 100644
index c867883f15..0000000000

Lines of this file are not shown. View the raw message.

mk/arch/ppc_64/rte.vars.mk deleted +0 -17
deleted file mode 100644
index 9f7ab22f42..0000000000

Lines of this file are not shown. View the raw message.

mk/arch/x86_64/rte.vars.mk deleted +0 -36
deleted file mode 100644
index e1689be9b4..0000000000

Lines of this file are not shown. View the raw message.

mk/arch/x86_x32/rte.vars.mk deleted +0 -40
deleted file mode 100644
index c59b37a2c8..0000000000

Lines of this file are not shown. View the raw message.

mk/exec-env/bsdapp deleted +0 -1
deleted file mode 120000
index 69f5cba2c2..0000000000

Lines of this file are not shown. View the raw message.

mk/exec-env/freebsd/rte.app.mk deleted +0 -8
deleted file mode 100644
index a2af7266a6..0000000000

Lines of this file are not shown. View the raw message.

mk/exec-env/freebsd/rte.vars.mk deleted +0 -36
deleted file mode 100644
index 630eb55f73..0000000000

Lines of this file are not shown. View the raw message.

mk/exec-env/linux/rte.app.mk deleted +0 -8
deleted file mode 100644
index a2af7266a6..0000000000

Lines of this file are not shown. View the raw message.

mk/exec-env/linux/rte.vars.mk deleted +0 -44

44 lines not on this page · raw message

mk/exec-env/linuxapp deleted +0 -1
deleted file mode 120000
index ce5e2c77b2..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.build-post.mk deleted +0 -34
deleted file mode 100644
index a6b6a9a46a..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.build-pre.mk deleted +0 -7
deleted file mode 100644
index 137612f19b..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.clean-post.mk deleted +0 -34
deleted file mode 100644
index 77685edd99..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.clean-pre.mk deleted +0 -4
deleted file mode 100644
index e21607bff9..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.compile-post.mk deleted +0 -5
deleted file mode 100644
index 01525bee1b..0000000000

Lines of this file are not shown. View the raw message.

mk/internal/rte.compile-pre.mk deleted +0 -164

164 lines not on this page · raw message

mk/internal/rte.extvars.mk deleted +0 -55

55 lines not on this page · raw message

mk/internal/rte.install-post.mk deleted +0 -71

71 lines not on this page · raw message

mk/internal/rte.install-pre.mk deleted +0 -32
deleted file mode 100644
index 4786d3b28b..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/armv7a/rte.vars.mk deleted +0 -36
deleted file mode 100644
index 44ebd68dae..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/armv8a/rte.vars.mk deleted +0 -31
deleted file mode 100644
index 5e3ffc3adf..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/default/rte.vars.mk deleted +0 -30
deleted file mode 100644
index df08d3b038..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/dpaa/rte.vars.mk deleted +0 -37
deleted file mode 100644
index 75df626ff2..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/emag/rte.vars.mk deleted +0 -32
deleted file mode 100644
index 50342dfa27..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/hsw/rte.vars.mk deleted +0 -30
deleted file mode 100644
index 39099e760e..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/ivb/rte.vars.mk deleted +0 -30
deleted file mode 100644
index 5b6563742a..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/n1sdp/rte.vars.mk deleted +0 -34
deleted file mode 100644
index 6d69de03c9..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/native/rte.vars.mk deleted +0 -39
deleted file mode 100644
index 8c96e3fa04..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/nhm/rte.vars.mk deleted +0 -30
deleted file mode 100644
index 91de5d9bed..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/octeontx2/rte.vars.mk deleted +0 -34
deleted file mode 100644
index e209cf4920..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/power8/rte.vars.mk deleted +0 -30
deleted file mode 100644
index 00e0834b8a..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/silvermont/rte.vars.mk deleted +0 -30
deleted file mode 100644
index e4f3fe42bd..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/snb/rte.vars.mk deleted +0 -30
deleted file mode 100644
index efe2f32d70..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/thunderx/rte.vars.mk deleted +0 -31
deleted file mode 100644
index 047741668c..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/thunderx2/rte.vars.mk deleted +0 -34
deleted file mode 100644
index b80dc8680c..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/wsm/rte.vars.mk deleted +0 -30
deleted file mode 100644
index e9bc3f9848..0000000000

Lines of this file are not shown. View the raw message.

mk/machine/xgene1/rte.vars.mk deleted +0 -31
deleted file mode 100644
index e632f3139b..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.app.mk deleted +0 -509

509 lines not on this page · raw message

mk/rte.bsdmodule.mk deleted +0 -89

89 lines not on this page · raw message

mk/rte.combinedlib.mk deleted +0 -30
deleted file mode 100644
index 9d0f935358..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.cpuflags.mk deleted +0 -124

124 lines not on this page · raw message

mk/rte.extapp.mk deleted +0 -24
deleted file mode 100644
index 427bb52306..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.extlib.mk deleted +0 -26
deleted file mode 100644
index 977873325d..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.extobj.mk deleted +0 -24
deleted file mode 100644
index c761a5de1e..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.extshared.mk deleted +0 -26
deleted file mode 100644
index 64269e1a85..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.extsubdir.mk deleted +0 -39
deleted file mode 100644
index 0f8ef94c50..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.gnuconfigure.mk deleted +0 -44

44 lines not on this page · raw message

mk/rte.helper.mk deleted +0 -10
deleted file mode 100644
index 6e7fd03d7f..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.hostapp.mk deleted +0 -93

93 lines not on this page · raw message

mk/rte.hostlib.mk deleted +0 -86

86 lines not on this page · raw message

mk/rte.install.mk deleted +0 -28
deleted file mode 100644
index e56daf457c..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.lib.mk deleted +0 -156

156 lines not on this page · raw message

mk/rte.module.mk deleted +0 -86

86 lines not on this page · raw message

mk/rte.obj.mk deleted +0 -82

82 lines not on this page · raw message

mk/rte.sdkbuild.mk deleted +0 -77

77 lines not on this page · raw message

mk/rte.sdkconfig.mk deleted +0 -142

142 lines not on this page · raw message

mk/rte.sdkdepdirs.mk deleted +0 -9
deleted file mode 100644
index 7adeb0e11b..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.sdkdoc.mk deleted +0 -104

104 lines not on this page · raw message

mk/rte.sdkexamples.mk deleted +0 -50

50 lines not on this page · raw message

mk/rte.sdkgcov.mk deleted +0 -39
deleted file mode 100644
index ab528b18b8..0000000000

Lines of this file are not shown. View the raw message.

mk/rte.sdkinstall.mk deleted +0 -152

152 lines not on this page · raw message

mk/rte.sdkroot.mk deleted +0 -115

115 lines not on this page · raw message

mk/rte.sdktest.mk deleted +0 -76

76 lines not on this page · raw message

mk/rte.shared.mk deleted +0 -108

108 lines not on this page · raw message

mk/rte.subdir.mk deleted +0 -65

65 lines not on this page · raw message

mk/rte.vars.mk deleted +0 -102

102 lines not on this page · raw message

mk/target/generic/rte.app.mk deleted +0 -13
deleted file mode 100644
index ed82656f18..0000000000

Lines of this file are not shown. View the raw message.

mk/target/generic/rte.vars.mk deleted +0 -132

132 lines not on this page · raw message

mk/toolchain/clang/rte.toolchain-compat.mk deleted +0 -22
deleted file mode 100644
index e6189b498d..0000000000

Lines of this file are not shown. View the raw message.

mk/toolchain/clang/rte.vars.mk deleted +0 -60

60 lines not on this page · raw message

mk/toolchain/gcc/rte.toolchain-compat.mk deleted +0 -120

120 lines not on this page · raw message

mk/toolchain/gcc/rte.vars.mk deleted +0 -109

109 lines not on this page · raw message

mk/toolchain/icc/rte.toolchain-compat.mk deleted +0 -58

58 lines not on this page · raw message

mk/toolchain/icc/rte.vars.mk deleted +0 -62

62 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.17.1

Part of the diff is not shown here. View the raw message.

Reviewed-by on v2 10/37
#70 lore raw

Re: [dpdk-dev] [PATCH v2 10/37] build: remove makefiles and mk directory

Quoted 87 lines

-----Original Message-----
From: Ciara Power <[email protected]>
Sent: Thursday, August 20, 2020 8:41 PM
To: [email protected]
Cc: Ciara Power <[email protected]>; [email protected]; Reshma Pattan <[email protected]>; Maryam Tahhan <[email protected]>; Konstantin Ananyev <[email protected]>; Nicolas Chautru <[email protected]>; Olivier Matz <[email protected]>; Declan Doherty <[email protected]>; [email protected]; Vladimir Medvedkin <[email protected]>; Wisam Jaddo <[email protected]>; Cristian Dumitrescu <[email protected]>; Wenzhuo Lu <[email protected]>; Beilei Xing <[email protected]>; Bernard Iremonger <[email protected]>; Ori Kam <[email protected]>; Neil Horman <[email protected]>; [email protected]; [email protected]; Rosen Xu <[email protected]>; Stephen Hemminger <[email protected]>; Long Li <[email protected]>; Anoob Joseph <[email protected]>; Jingjing Wu <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Viacheslav Ovsiienko <[email protected]>; Liron Himi <[email protected]>; Harman Kalra <[email protected]>; Nithin Dabilpuram <[email protected]>; Fiona Trahe <[email protected]>; John Griffin <[email protected]>; Deepak Kumar Jain <[email protected]>; Ashish Gupta <[email protected]>; Lee Daly <[email protected]>; Sunila Sahu <[email protected]>; Pablo de Lara <[email protected]>; Ruifeng Wang <[email protected]>; Gagandeep Singh <[email protected]>; Somalapuram Amaranath <[email protected]>; [email protected]; Michael Shamis <[email protected]>; Nagadheeraj Rottela <[email protected]>; Srikanth Jampala <[email protected]>; Ankur Dwivedi <[email protected]>; Fan Zhang <[email protected]>; Jay Zhou <[email protected]>; [email protected]; Mattias Rönnblom <[email protected]>; Pavan Nikhilesh <[email protected]>; Liang Ma <[email protected]>; Peter Mccarthy <[email protected]>; Harry van Haaren <[email protected]>; Artem V. Andreev <[email protected]>; Andrew Rybchenko <[email protected]>; Gage Eads <[email protected]>; John W. Linville <[email protected]>; Ciara Loftus <[email protected]>; Qi Zhang <[email protected]>; Shepard Siegel <[email protected]>; Ed Czeck <[email protected]>; John Miller <[email protected]>; Igor Russkikh <[email protected]>; Pavel Belous <[email protected]>; Steven Webster <[email protected]>; Matt Peters <[email protected]>; Rasesh Mody <[email protected]>; Shahed Shaikh <[email protected]>; Ajit Khaparde ([email protected]) <[email protected]>; Somnath Kotur <[email protected]>; Chas Williams <[email protected]>; Wei Hu (Xavier) <[email protected]>; Rahul Lakkireddy <[email protected]>; Wei Zhao <[email protected]>; Jeff Guo <[email protected]>; Marcin Wojtas <[email protected]>; Michal Krawczyk <[email protected]>; Guy Tzalik <[email protected]>; Evgeny Schemeilin <[email protected]>; Igor Chauskin <[email protected]>; John Daley <[email protected]>; Hyong Youb Kim <[email protected]>; Gaetan Rivet <[email protected]>; Xiao Wang <[email protected]>; Ziyang Xuan <[email protected]>; Xiaoyun Wang <[email protected]>; Guoyang Zhou <[email protected]>; Min Hu (Connor) <[email protected]>; Yisen Zhuang <[email protected]>; Qiming Yang <[email protected]>; Alfredo Cardigliano <[email protected]>; Ferruh Yigit <[email protected]>; Shijith Thotton <[email protected]>; Srisivasubramanian Srinivasan <[email protected]>; Jakub Grajciar <[email protected]>; Zyta Szpak <[email protected]>; K. Y. Srinivasan <[email protected]>; Haiyang Zhang <[email protected]>; Martin Spinler <[email protected]>; Heinrich Kuhn <[email protected]>; Tetsuya Mukawa <[email protected]>; Kiran Kumar K <[email protected]>; Bruce Richardson <[email protected]>; Jasvinder Singh <[email protected]>; Keith Wiles <[email protected]>; Maciej Czekaj <[email protected]>; Maxime Coquelin <[email protected]>; Chenbo Xia <[email protected]>; Zhihong Wang <[email protected]>; Yong Wang <[email protected]>; Tianfei zhang <[email protected]>; Xiaoyun Li <[email protected]>; Satha Rao <[email protected]>; Mahipal Challa <[email protected]>; David Hunt <[email protected]>; Byron Marohn <[email protected]>; Yipeng Wang <[email protected]>; Jiayu Hu <[email protected]>; Sameh Gobriel <[email protected]>; Honnappa Nagarahalli <[email protected]>; Kevin Laatz <[email protected]>; Robert Sanford <[email protected]>; Erik Gabriel Carrillo <[email protected]>; Anatoly Burakov <[email protected]>
Subject: [PATCH v2 10/37] build: remove makefiles and mk directory

Quoted 8 lines

A decision was made [1] to no longer support Make in DPDK, this patch removes all Makefiles that do not make use of pkg-config, along with the mk directory previously used by make.

[1] https://mails.dpdk.org/archives/dev/2020-April/162839.html

---

<snip>

#71 lore raw

PATCH v2 11/37 config: remove all config files used by make

In reply to Ciara Power

Make is not supported for compiling DPDK, the config files are no longer needed.

---
 config/common_armv8a_linux                    |   43 -
 config/common_base                            | 1154 -----------------
 config/common_freebsd                         |   15 -
 config/common_linux                           |   68 -
 config/defconfig_arm-armv7a-linux-gcc         |    1 -
 config/defconfig_arm-armv7a-linuxapp-gcc      |   49 -
 config/defconfig_arm64-armada-linux-gcc       |    1 -
 config/defconfig_arm64-armada-linuxapp-gcc    |   41 -
 config/defconfig_arm64-armv8a-linux-clang     |    1 -
 config/defconfig_arm64-armv8a-linux-gcc       |    1 -
 config/defconfig_arm64-armv8a-linuxapp-clang  |    8 -
 config/defconfig_arm64-armv8a-linuxapp-gcc    |    9 -
 config/defconfig_arm64-bluefield-linux-gcc    |    1 -
 config/defconfig_arm64-bluefield-linuxapp-gcc |   18 -
 config/defconfig_arm64-dpaa-linux-gcc         |    1 -
 config/defconfig_arm64-dpaa-linuxapp-gcc      |   31 -
 config/defconfig_arm64-emag-linux-gcc         |    1 -
 config/defconfig_arm64-emag-linuxapp-gcc      |   11 -
 config/defconfig_arm64-n1sdp-linux-gcc        |    1 -
 config/defconfig_arm64-n1sdp-linuxapp-gcc     |   14 -
 config/defconfig_arm64-octeontx2-linux-gcc    |    1 -
 config/defconfig_arm64-octeontx2-linuxapp-gcc |   18 -
 config/defconfig_arm64-stingray-linux-gcc     |    1 -
 config/defconfig_arm64-stingray-linuxapp-gcc  |   14 -
 config/defconfig_arm64-thunderx-linux-gcc     |    1 -
 config/defconfig_arm64-thunderx-linuxapp-gcc  |   17 -
 config/defconfig_arm64-thunderx2-linux-gcc    |    1 -
 config/defconfig_arm64-thunderx2-linuxapp-gcc |   12 -
 config/defconfig_arm64-xgene1-linux-gcc       |    1 -
 config/defconfig_arm64-xgene1-linuxapp-gcc    |    8 -
 config/defconfig_i686-native-linux-gcc        |    1 -
 config/defconfig_i686-native-linux-icc        |    1 -
 config/defconfig_i686-native-linuxapp-gcc     |   66 -
 config/defconfig_i686-native-linuxapp-icc     |   66 -
 config/defconfig_ppc_64-power8-linux-gcc      |    1 -
 config/defconfig_ppc_64-power8-linuxapp-gcc   |   35 -
 config/defconfig_x86_64-native-bsdapp-clang   |   14 -
 config/defconfig_x86_64-native-bsdapp-gcc     |   14 -
 config/defconfig_x86_64-native-freebsd-clang  |    1 -
 config/defconfig_x86_64-native-freebsd-gcc    |    1 -
 config/defconfig_x86_64-native-linux-clang    |    1 -
 config/defconfig_x86_64-native-linux-gcc      |    1 -
 config/defconfig_x86_64-native-linux-icc      |    1 -
 config/defconfig_x86_64-native-linuxapp-clang |   14 -
 config/defconfig_x86_64-native-linuxapp-gcc   |   14 -
 config/defconfig_x86_64-native-linuxapp-icc   |   29 -
 config/defconfig_x86_x32-native-linux-gcc     |    1 -
 config/defconfig_x86_x32-native-linuxapp-gcc  |   46 -
 48 files changed, 1850 deletions(-)
 delete mode 100644 config/common_armv8a_linux
 delete mode 100644 config/common_base
 delete mode 100644 config/common_freebsd
 delete mode 100644 config/common_linux
 delete mode 120000 config/defconfig_arm-armv7a-linux-gcc
 delete mode 100644 config/defconfig_arm-armv7a-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-armada-linux-gcc
 delete mode 100644 config/defconfig_arm64-armada-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-armv8a-linux-clang
 delete mode 120000 config/defconfig_arm64-armv8a-linux-gcc
 delete mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang
 delete mode 100644 config/defconfig_arm64-armv8a-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-bluefield-linux-gcc
 delete mode 100644 config/defconfig_arm64-bluefield-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-dpaa-linux-gcc
 delete mode 100644 config/defconfig_arm64-dpaa-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-emag-linux-gcc
 delete mode 100644 config/defconfig_arm64-emag-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-n1sdp-linux-gcc
 delete mode 100644 config/defconfig_arm64-n1sdp-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-octeontx2-linux-gcc
 delete mode 100644 config/defconfig_arm64-octeontx2-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-stingray-linux-gcc
 delete mode 100644 config/defconfig_arm64-stingray-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-thunderx-linux-gcc
 delete mode 100644 config/defconfig_arm64-thunderx-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-thunderx2-linux-gcc
 delete mode 100644 config/defconfig_arm64-thunderx2-linuxapp-gcc
 delete mode 120000 config/defconfig_arm64-xgene1-linux-gcc
 delete mode 100644 config/defconfig_arm64-xgene1-linuxapp-gcc
 delete mode 120000 config/defconfig_i686-native-linux-gcc
 delete mode 120000 config/defconfig_i686-native-linux-icc
 delete mode 100644 config/defconfig_i686-native-linuxapp-gcc
 delete mode 100644 config/defconfig_i686-native-linuxapp-icc
 delete mode 120000 config/defconfig_ppc_64-power8-linux-gcc
 delete mode 100644 config/defconfig_ppc_64-power8-linuxapp-gcc
 delete mode 100644 config/defconfig_x86_64-native-bsdapp-clang
 delete mode 100644 config/defconfig_x86_64-native-bsdapp-gcc
 delete mode 120000 config/defconfig_x86_64-native-freebsd-clang
 delete mode 120000 config/defconfig_x86_64-native-freebsd-gcc
 delete mode 120000 config/defconfig_x86_64-native-linux-clang
 delete mode 120000 config/defconfig_x86_64-native-linux-gcc
 delete mode 120000 config/defconfig_x86_64-native-linux-icc
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-clang
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-gcc
 delete mode 100644 config/defconfig_x86_64-native-linuxapp-icc
 delete mode 120000 config/defconfig_x86_x32-native-linux-gcc
 delete mode 100644 config/defconfig_x86_x32-native-linuxapp-gcc
config/common_armv8a_linux deleted +0 -43
deleted file mode 100644
index e942657a0f..0000000000
@@ -1,43 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Cavium, Inc
-#
-
-#include "common_linux"
-
-CONFIG_RTE_MACHINE="armv8a"
-
-CONFIG_RTE_ARCH="arm64"
-CONFIG_RTE_ARCH_ARM64=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_FORCE_INTRINSICS=y
-
-# Maximum available cache line size in arm64 implementations.
-# Setting to maximum available cache line size in generic config
-# to address minimum DMA alignment across all arm64 implementations.
-CONFIG_RTE_CACHE_LINE_SIZE=128
-
-CONFIG_RTE_USE_C11_MEM_MODEL=y
-
-# Accelarate 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.
-CONFIG_RTE_ARCH_ARM64_MEMCPY=n
-#CONFIG_RTE_ARM64_MEMCPY_ALIGNED_THRESHOLD=2048
-#CONFIG_RTE_ARM64_MEMCPY_UNALIGNED_THRESHOLD=512
-# Leave below RTE_ARM64_MEMCPY_xxx options commented out, unless there're
-# strong reasons.
-#CONFIG_RTE_ARM64_MEMCPY_SKIP_GCC_VER_CHECK=n
-#CONFIG_RTE_ARM64_MEMCPY_ALIGN_MASK=0xF
-#CONFIG_RTE_ARM64_MEMCPY_STRICT_ALIGN=n
-
-CONFIG_RTE_LIBRTE_IONIC_PMD=n
-CONFIG_RTE_LIBRTE_FM10K_PMD=n
-CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
-CONFIG_RTE_LIBRTE_AVP_PMD=n
-CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=n
-
-#
-# NXP PFE PMD Driver
-#
-CONFIG_RTE_LIBRTE_PFE_PMD=y
config/common_base deleted +0 -1154

1,154 lines not on this page · raw message

config/common_freebsd deleted +0 -15
deleted file mode 100644
index 456b394c4d..0000000000
@@ -1,15 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2016 Intel Corporation
-
-#include "common_base"
-
-CONFIG_RTE_EXEC_ENV="bsdapp"
-CONFIG_RTE_EXEC_ENV_BSDAPP=y
-CONFIG_RTE_EXEC_ENV_FREEBSD=y
-
-#
-# FreeBSD contiguous memory driver settings
-#
-CONFIG_RTE_CONTIGMEM_MAX_NUM_BUFS=64
-CONFIG_RTE_CONTIGMEM_DEFAULT_NUM_BUFS=2
-CONFIG_RTE_CONTIGMEM_DEFAULT_BUF_SIZE=1024*1024*1024
config/common_linux deleted +0 -68

68 lines not on this page · raw message

config/defconfig_arm-armv7a-linux-gcc deleted +0 -1
deleted file mode 120000
index 84619de43a..0000000000
@@ -1 +0,0 @@
-defconfig_arm-armv7a-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm-armv7a-linuxapp-gcc deleted +0 -49

49 lines not on this page · raw message

config/defconfig_arm64-armada-linux-gcc deleted +0 -1
deleted file mode 120000
index 64ce2a5687..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-armada-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-armada-linuxapp-gcc deleted +0 -41

41 lines not on this page · raw message

config/defconfig_arm64-armv8a-linux-clang deleted +0 -1
deleted file mode 120000
index 196808b982..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-armv8a-linuxapp-clang
\ No newline at end of file
config/defconfig_arm64-armv8a-linux-gcc deleted +0 -1
deleted file mode 120000
index 0949519562..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-armv8a-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-armv8a-linuxapp-clang deleted +0 -8
deleted file mode 100644
index d3b4dad532..0000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2017 Cavium, Inc
-#
-
-#include "common_armv8a_linux"
-
-CONFIG_RTE_TOOLCHAIN="clang"
-CONFIG_RTE_TOOLCHAIN_CLANG=y
config/defconfig_arm64-armv8a-linuxapp-gcc deleted +0 -9
deleted file mode 100644
index 58c4a4029a..0000000000
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2015 Cavium, Inc
-#
-
-#include "common_armv8a_linux"
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
-CONFIG_RTE_MAX_LCORE=256
config/defconfig_arm64-bluefield-linux-gcc deleted +0 -1
deleted file mode 120000
index dad37d5e79..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-bluefield-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-bluefield-linuxapp-gcc deleted +0 -18
deleted file mode 100644
index b496538819..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2019 Mellanox Technologies, Ltd
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-# Mellanox BlueField
-CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72"
-
-CONFIG_RTE_MAX_NUMA_NODES=1
-CONFIG_RTE_CACHE_LINE_SIZE=64
-
-# UMA architecture
-CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-CONFIG_RTE_LIBRTE_VHOST_NUMA=n
-
-# PMD for ConnectX-5
-CONFIG_RTE_LIBRTE_MLX5_PMD=y
config/defconfig_arm64-dpaa-linux-gcc deleted +0 -1
deleted file mode 120000
index dc05caacf3..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-dpaa-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-dpaa-linuxapp-gcc deleted +0 -31
deleted file mode 100644
index 4ae4cd8502..0000000000
@@ -1,31 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2016 Freescale Semiconductor, Inc.
-# Copyright 2017-2019 NXP
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-# NXP (Freescale) - Soc Architecture for DPAA or DPAA2 support
-# DPAA - FMAN, QMAN & BMAN support (e.g. LS1043, LS1046)
-# DPAA2 - WRIOP and QBMAN (e.g. LS1088, LS2088, LX2160 etc)
-#
-CONFIG_RTE_MACHINE="dpaa"
-CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72"
-
-#
-# Compile Environment Abstraction Layer
-#
-CONFIG_RTE_MAX_LCORE=16
-CONFIG_RTE_MAX_NUMA_NODES=1
-CONFIG_RTE_CACHE_LINE_SIZE=64
-CONFIG_RTE_PKTMBUF_HEADROOM=128
-
-# Doesn't support NUMA
-CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-CONFIG_RTE_LIBRTE_VHOST_NUMA=n
-
-# Enable PHY mode when using VM-VFIO target
-CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=n
-
-# NXP DPAA Bus
-CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n
-CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
config/defconfig_arm64-emag-linux-gcc deleted +0 -1
deleted file mode 120000
index 21894a31a8..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-emag-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-emag-linuxapp-gcc deleted +0 -11
deleted file mode 100644
index 1db654c899..0000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Ampere Computing
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="emag"
-
-CONFIG_RTE_CACHE_LINE_SIZE=64
-CONFIG_RTE_MAX_NUMA_NODES=1
-CONFIG_RTE_MAX_LCORE=32
config/defconfig_arm64-n1sdp-linux-gcc deleted +0 -1
deleted file mode 120000
index 103bbea90f..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-n1sdp-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-n1sdp-linuxapp-gcc deleted +0 -14
deleted file mode 100644
index f9138093b5..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Arm Ltd.
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="n1sdp"
-CONFIG_RTE_MAX_LCORE=4
-CONFIG_RTE_MAX_NUMA_NODES=1
-CONFIG_RTE_CACHE_LINE_SIZE=64
-
-# Doesn't support NUMA
-CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-CONFIG_RTE_LIBRTE_VHOST_NUMA=n
config/defconfig_arm64-octeontx2-linux-gcc deleted +0 -1
deleted file mode 120000
index e251505311..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-octeontx2-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-octeontx2-linuxapp-gcc deleted +0 -18
deleted file mode 100644
index 0d83becf54..0000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Marvell International Ltd
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="octeontx2"
-
-CONFIG_RTE_MAX_NUMA_NODES=1
-CONFIG_RTE_MAX_LCORE=36
-CONFIG_RTE_ARM_FEATURE_ATOMICS=y
-
-# Doesn't support NUMA
-CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-CONFIG_RTE_LIBRTE_VHOST_NUMA=n
-
-# Max supported NIX LFs
-CONFIG_RTE_MAX_VFIO_GROUPS=128
config/defconfig_arm64-stingray-linux-gcc deleted +0 -1
deleted file mode 120000
index 829dd65f05..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-stingray-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-stingray-linuxapp-gcc deleted +0 -14
deleted file mode 100644
index 2a6f6cee28..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright (C) Broadcom 2017-2018. All rights reserved.
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-# Broadcom - Stingray
-CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72"
-
-# Doesn't support NUMA
-CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-CONFIG_RTE_LIBRTE_VHOST_NUMA=n
-
-CONFIG_RTE_EAL_IGB_UIO=y
config/defconfig_arm64-thunderx-linux-gcc deleted +0 -1
deleted file mode 120000
index 1b9c4ad211..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-thunderx-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-thunderx-linuxapp-gcc deleted +0 -17
deleted file mode 100644
index 946906b67a..0000000000
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2015 Cavium, Inc
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="thunderx"
-
-CONFIG_RTE_USE_C11_MEM_MODEL=n
-CONFIG_RTE_MAX_NUMA_NODES=2
-CONFIG_RTE_MAX_LCORE=96
-CONFIG_RTE_MAX_VFIO_GROUPS=128
-
-#
-# Compile PMD for octeontx sso event device
-#
-CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
config/defconfig_arm64-thunderx2-linux-gcc deleted +0 -1
deleted file mode 120000
index b40a760b1d..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-thunderx2-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-thunderx2-linuxapp-gcc deleted +0 -12
deleted file mode 100644
index af4a89c480..0000000000
@@ -1,12 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Marvell International Ltd
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="thunderx2"
-
-CONFIG_RTE_CACHE_LINE_SIZE=64
-CONFIG_RTE_MAX_NUMA_NODES=2
-CONFIG_RTE_MAX_LCORE=256
-CONFIG_RTE_ARM_FEATURE_ATOMICS=y
config/defconfig_arm64-xgene1-linux-gcc deleted +0 -1
deleted file mode 120000
index d5e8b5e550..0000000000
@@ -1 +0,0 @@
-defconfig_arm64-xgene1-linuxapp-gcc
\ No newline at end of file
config/defconfig_arm64-xgene1-linuxapp-gcc deleted +0 -8
deleted file mode 100644
index fbf576c4aa..0000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2015 Cavium, Inc
-#
-
-#include "defconfig_arm64-armv8a-linux-gcc"
-
-CONFIG_RTE_MACHINE="xgene1"
-CONFIG_RTE_CACHE_LINE_SIZE=64
config/defconfig_i686-native-linux-gcc deleted +0 -1
deleted file mode 120000
index 927141d5dd..0000000000
@@ -1 +0,0 @@
-defconfig_i686-native-linuxapp-gcc
\ No newline at end of file
config/defconfig_i686-native-linux-icc deleted +0 -1
deleted file mode 120000
index e6a466b3e3..0000000000
@@ -1 +0,0 @@
-defconfig_i686-native-linuxapp-icc
\ No newline at end of file
config/defconfig_i686-native-linuxapp-gcc deleted +0 -66

66 lines not on this page · raw message

config/defconfig_i686-native-linuxapp-icc deleted +0 -66

66 lines not on this page · raw message

config/defconfig_ppc_64-power8-linux-gcc deleted +0 -1
deleted file mode 120000
index 580c92e12e..0000000000
@@ -1 +0,0 @@
-defconfig_ppc_64-power8-linuxapp-gcc
\ No newline at end of file
config/defconfig_ppc_64-power8-linuxapp-gcc deleted +0 -35
deleted file mode 100644
index c917c47746..0000000000
@@ -1,35 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright (C) IBM Corporation 2014.
-
-#include "common_linux"
-
-CONFIG_RTE_MACHINE="power8"
-
-CONFIG_RTE_ARCH="ppc_64"
-CONFIG_RTE_ARCH_PPC_64=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_MAX_LCORE=1536
-CONFIG_RTE_MAX_NUMA_NODES=32
-CONFIG_RTE_CACHE_LINE_SIZE=128
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
-
-# Note: Power doesn't have this support
-CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=n
-
-# Note: Initially, all of the PMD drivers compilation are turned off on Power
-# Will turn on them only after the successful testing on Power
-CONFIG_RTE_LIBRTE_ATLANTIC_PMD=n
-CONFIG_RTE_LIBRTE_IXGBE_PMD=n
-CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
-CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
-CONFIG_RTE_LIBRTE_ENIC_PMD=n
-CONFIG_RTE_LIBRTE_FM10K_PMD=n
-CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
-CONFIG_RTE_LIBRTE_AVP_PMD=n
-CONFIG_RTE_LIBRTE_HINIC_PMD=n
-CONFIG_RTE_LIBRTE_HNS3_PMD=n
-CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=n
-CONFIG_RTE_LIBRTE_IONIC_PMD=n
config/defconfig_x86_64-native-bsdapp-clang deleted +0 -14
deleted file mode 100644
index 7204738e14..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-#include "common_freebsd"
-
-CONFIG_RTE_MACHINE="native"
-
-CONFIG_RTE_ARCH="x86_64"
-CONFIG_RTE_ARCH_X86_64=y
-CONFIG_RTE_ARCH_X86=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_TOOLCHAIN="clang"
-CONFIG_RTE_TOOLCHAIN_CLANG=y
config/defconfig_x86_64-native-bsdapp-gcc deleted +0 -14
deleted file mode 100644
index b24e2e6d5a..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-#include "common_freebsd"
-
-CONFIG_RTE_MACHINE="native"
-
-CONFIG_RTE_ARCH="x86_64"
-CONFIG_RTE_ARCH_X86_64=y
-CONFIG_RTE_ARCH_X86=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
config/defconfig_x86_64-native-freebsd-clang deleted +0 -1
deleted file mode 120000
index 76115fd5a6..0000000000
@@ -1 +0,0 @@
-defconfig_x86_64-native-bsdapp-clang
\ No newline at end of file
config/defconfig_x86_64-native-freebsd-gcc deleted +0 -1
deleted file mode 120000
index 72dd4b44be..0000000000
@@ -1 +0,0 @@
-defconfig_x86_64-native-bsdapp-gcc
\ No newline at end of file
config/defconfig_x86_64-native-linux-clang deleted +0 -1
deleted file mode 120000
index 3bcf89d6a4..0000000000
@@ -1 +0,0 @@
-defconfig_x86_64-native-linuxapp-clang
\ No newline at end of file
config/defconfig_x86_64-native-linux-gcc deleted +0 -1
deleted file mode 120000
index d707965941..0000000000
@@ -1 +0,0 @@
-defconfig_x86_64-native-linuxapp-gcc
\ No newline at end of file
config/defconfig_x86_64-native-linux-icc deleted +0 -1
deleted file mode 120000
index a36b47131a..0000000000
@@ -1 +0,0 @@
-defconfig_x86_64-native-linuxapp-icc
\ No newline at end of file
config/defconfig_x86_64-native-linuxapp-clang deleted +0 -14
deleted file mode 100644
index 7508c0f2da..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-#include "common_linux"
-
-CONFIG_RTE_MACHINE="native"
-
-CONFIG_RTE_ARCH="x86_64"
-CONFIG_RTE_ARCH_X86_64=y
-CONFIG_RTE_ARCH_X86=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_TOOLCHAIN="clang"
-CONFIG_RTE_TOOLCHAIN_CLANG=y
config/defconfig_x86_64-native-linuxapp-gcc deleted +0 -14
deleted file mode 100644
index db67066a57..0000000000
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-#include "common_linux"
-
-CONFIG_RTE_MACHINE="native"
-
-CONFIG_RTE_ARCH="x86_64"
-CONFIG_RTE_ARCH_X86_64=y
-CONFIG_RTE_ARCH_X86=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
config/defconfig_x86_64-native-linuxapp-icc deleted +0 -29
deleted file mode 100644
index 8aa7af7e20..0000000000
@@ -1,29 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-#include "common_linux"
-
-CONFIG_RTE_MACHINE="native"
-
-CONFIG_RTE_ARCH="x86_64"
-CONFIG_RTE_ARCH_X86_64=y
-CONFIG_RTE_ARCH_X86=y
-CONFIG_RTE_ARCH_64=y
-
-CONFIG_RTE_TOOLCHAIN="icc"
-CONFIG_RTE_TOOLCHAIN_ICC=y
-
-#
-# Solarflare PMD build is not supported using icc toolchain
-#
-CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
-
-#
-# HINIC PMD build is not supported using icc toolchain
-#
-CONFIG_RTE_LIBRTE_HINIC_PMD=n
-
-#
-# HNS3 PMD build is not supported using icc toolchain
-#
-CONFIG_RTE_LIBRTE_HNS3_PMD=n
config/defconfig_x86_x32-native-linux-gcc deleted +0 -1
deleted file mode 120000
index 7ea00cecb3..0000000000
@@ -1 +0,0 @@
-defconfig_x86_x32-native-linuxapp-gcc
\ No newline at end of file
config/defconfig_x86_x32-native-linuxapp-gcc deleted +0 -46

46 lines not on this page · raw message

Signature · 1 line
2.17.1
#72 lore raw

PATCH v2 12/37 examples: remove old build system references

In reply to Ciara Power

Remove the references to RTE_SDK and RTE_TARGET environment variables from the build instructions in the comments of the various BPF files, and in the ipsec-secgw common definition script.

---

Ask for maintainer to review changes and suggest alternatives to the values added in replacement of environment variables.

---
 examples/bpf/t2.c                        |  6 ++++--
 examples/bpf/t3.c                        | 10 ++++++----
 examples/ipsec-secgw/test/common_defs.sh |  4 ++--
 3 files changed, 12 insertions(+), 8 deletions(-)
examples/bpf/t2.c +4 -2
index 9878eaf7bd..b9bce746c0 100644
@@ -9,8 +9,10 @@
  * (PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED).
  * Doesn't touch contents of packet data.
  * To compile:
- * clang -O2 -I${RTE_SDK}/${RTE_TARGET}/include \
- * -target bpf -Wno-int-to-void-pointer-cast -c t2.c
+ * clang -O2 -target bpf -Wno-int-to-void-pointer-cast -c t2.c
+ *
+ * NOTE: if DPDK is not installed system-wide, add compiler flag with path
+ * to DPDK rte_mbuf.h file, e.g. "clang -I/path/to/dpdk/headers -O2 ..."
  */
 
 #include <stdint.h>
examples/bpf/t3.c +6 -4
index f58ff64b3b..66faf80cc5 100644
@@ -8,13 +8,15 @@
  * Dump the mbuf into stdout if it is an ARP packet (aka tcpdump 'arp').
  *
  * To compile on x86:
- * clang -O2 -U __GNUC__ -I${RTE_SDK}/${RTE_TARGET}/include \
- * -target bpf -Wno-int-to-void-pointer-cast -c t3.c
+ * clang -O2 -U __GNUC__ -target bpf -Wno-int-to-void-pointer-cast -c t3.c
  *
  * To compile on ARM:
- * clang -O2 -I/usr/include/aarch64-linux-gnu \
- * -I${RTE_SDK}/${RTE_TARGET}/include -target bpf \
+ * clang -O2 -I/usr/include/aarch64-linux-gnu -target bpf \
  * -Wno-int-to-void-pointer-cast -c t3.c
+ *
+ * NOTE: if DPDK is not installed system-wide, add compiler flag with path
+ * to DPDK rte_mbuf.h file to above commands,
+ * e.g. "clang -I/path/to/dpdk/headers -O2 ..."
  */
 
 #include <stdint.h>
examples/ipsec-secgw/test/common_defs.sh +2 -2
index df680805b8..f22eb3ab12 100644
@@ -34,8 +34,8 @@ LOCAL_IPV4=192.168.31.92
 REMOTE_IPV6=fd12:3456:789a:0031:0000:0000:0000:0014
 LOCAL_IPV6=fd12:3456:789a:0031:0000:0000:0000:0092
 
-DPDK_PATH=${RTE_SDK:-${PWD}}
-DPDK_BUILD=${RTE_TARGET:-x86_64-native-linux-gcc}
+DPDK_PATH=${PWD}
+DPDK_BUILD="build"
 DPDK_VARS=""
 
 # by default ipsec-secgw can't deal with multi-segment packets
Signature · 1 line
2.17.1
#73 lore raw

PATCH v2 13/37 buildtools: remove all scripts for use with make

In reply to Ciara Power

Make is no longer supported for compiling DPDK, scripts used with make are no longer needed.

---
 MAINTAINERS                 |   4 --
 buildtools/auto-config-h.sh | 108 ------------------------------------
 buildtools/gen-build-mk.sh  |  23 --------
 buildtools/gen-config-h.sh  |  15 -----
 buildtools/relpath.sh       |  76 -------------------------
 5 files changed, 226 deletions(-)
 delete mode 100755 buildtools/auto-config-h.sh
 delete mode 100755 buildtools/gen-build-mk.sh
 delete mode 100755 buildtools/gen-config-h.sh
 delete mode 100755 buildtools/relpath.sh
MAINTAINERS +0 -4
index ccaecabea0..392150fc3b 100644
@@ -102,10 +102,6 @@ Build System
 M: Thomas Monjalon <[email protected]>
 F: Makefile
 F: config/
-F: buildtools/auto-config-h.sh
-F: buildtools/gen-build-mk.sh
-F: buildtools/gen-config-h.sh
-F: buildtools/relpath.sh
 F: doc/build-sdk-quick.txt
 F: doc/guides/prog_guide/build_app.rst
 F: doc/guides/prog_guide/dev_kit_*
buildtools/auto-config-h.sh deleted +0 -108

108 lines not on this page · raw message

buildtools/gen-build-mk.sh deleted +0 -23
deleted file mode 100755
index 636920b638..0000000000
@@ -1,23 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-# Auto-generate a Makefile in build directory
-# Args:
-#   $1: path of project src root
-
-echo "# Automatically generated by gen-build-mk.sh"
-echo
-echo "ifdef O"
-echo "ifeq (\"\$(origin O)\", \"command line\")"
-echo "\$(error \"Cannot specify O= as you are already in a build directory\")"
-echo "endif"
-echo "endif"
-echo
-echo "MAKEFLAGS += --no-print-directory"
-echo
-echo "all:"
-echo "	@\$(MAKE) -C $1 O=\$(CURDIR)"
-echo
-echo "%::"
-echo "	@\$(MAKE) -C $1 O=\$(CURDIR) \$@"
buildtools/gen-config-h.sh deleted +0 -15
deleted file mode 100755
index a8c2006339..0000000000
@@ -1,15 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2010-2014 Intel Corporation
-
-echo "#ifndef __RTE_CONFIG_H"
-echo "#define __RTE_CONFIG_H"
-grep CONFIG_ $1 |
-grep -v '^[ \t]*#' |
-sed 's,CONFIG_\(.*\)=y.*$,#undef \1\
-#define \1 1,' |
-sed 's,CONFIG_\(.*\)=n.*$,#undef \1,' |
-sed 's,CONFIG_\(.*\)=\(.*\)$,#undef \1\
-#define \1 \2,' |
-sed 's,\# CONFIG_\(.*\) is not set$,#undef \1,'
-echo "#endif /* __RTE_CONFIG_H */"
buildtools/relpath.sh deleted +0 -76

76 lines not on this page · raw message

Signature · 1 line
2.17.1
#74 lore raw

PATCH v2 14/37 devtools: remove use of make in scripts

In reply to Ciara Power

Make is no longer supported, the test script for make builds is no longer required. Uses of make in other tool scripts are replaced.

---
 MAINTAINERS                |   1 -
 devtools/build-tags.sh     |  14 +-
 devtools/check-includes.sh |   3 +-
 devtools/git-log-fixes.sh  |   2 +-
 devtools/test-build.sh     | 315 -------------------------------------
 5 files changed, 4 insertions(+), 331 deletions(-)
 delete mode 100755 devtools/test-build.sh
MAINTAINERS +0 -1
index 392150fc3b..0fec96558e 100644
@@ -90,7 +90,6 @@ F: devtools/checkpatches.sh
 F: devtools/get-maintainer.sh
 F: devtools/git-log-fixes.sh
 F: devtools/load-devel-config
-F: devtools/test-build.sh
 F: devtools/test-meson-builds.sh
 F: devtools/words-case.txt
 F: license/
devtools/build-tags.sh +2 -12
index 276fff647b..614ce4c3a4 100755
@@ -19,8 +19,8 @@ arm_64=true
 print_usage()
 {
 	echo "Usage: $(basename $0) [-h] [-v] tags|cscope|gtags|etags [config]"
-	echo "Valid configs are:"
-	make showconfigs | sed 's,^,\t,'
+	echo "Examples of valid configs are: "
+	echo "x86_64-native-linux-gcc, arm64-armv8a-linux-gcc, ppc_64-power8-linux-gcc"
 }
 
 # Move to the root of the git tree
@@ -125,17 +125,7 @@ ppc_64_sources()
 	find_sources "$source_dirs" '*altivec*.[chS]'
 }
 
-check_valid_target()
-{
-	if [ ! -f "config/defconfig_$1" ] ; then
-		echo "Invalid config: $1"
-		print_usage
-		exit 0
-	fi
-}
-
 if [ -n "$2" ]; then
-	check_valid_target $2
 
 	echo $2 | grep -q "linux" || linux=false
 	echo $2 | grep -q "bsd" || bsd=false
devtools/check-includes.sh +1 -2
index 749b9b26d2..15594f08a3 100755
@@ -17,8 +17,7 @@
 #
 # SUMMARY=1 is the same as -s.
 #
-# CC, CPPFLAGS, CFLAGS, EXTRA_CPPFLAGS, EXTRA_CFLAGS, CXX, CXXFLAGS and
-# EXTRA_CXXFLAGS are taken into account.
+# CC, CPPFLAGS, CFLAGS, CXX, CXXFLAGS are taken into account.
 #
 # PEDANTIC_CFLAGS, PEDANTIC_CXXFLAGS and PEDANTIC_CPPFLAGS provide strict
 # C/C++ compilation flags.
devtools/git-log-fixes.sh +1 -1
index 6d468d6731..210c8dcf25 100755
@@ -50,7 +50,7 @@ commit_version () # <hash>
 		head -n1)
 	if [ -z "$tag" ] ; then
 		# before -rc1 tag of release in progress
-		make showversion | cut -d'.' -f-2
+		cat VERSION | cut -d'.' -f-2
 	else
 		echo $tag | sed 's,^v,,' | sed 's,-rc.*,,'
 	fi
devtools/test-build.sh deleted +0 -315

315 lines not on this page · raw message

Signature · 1 line
2.17.1
#75 lore raw

PATCH v2 15/37 app/test: remove references to make

In reply to Ciara Power

Make is no longer supported, RTE_SDK, RTE_TARGET and CONFIG options are no longer in use.

---

Ask for maintainer to review changes and suggest alternatives to the values added in replacement of environment variables.

---
 app/test-bbdev/test-bbdev.py   | 11 +----
 app/test/test_cryptodev.c      | 89 +++++++++-------------------------
 app/test/test_cryptodev_asym.c | 18 ++-----
 3 files changed, 28 insertions(+), 90 deletions(-)
app/test-bbdev/test-bbdev.py +2 -9
index 5ae2dc6c49..bfd8a4dcc8 100755
@@ -20,15 +20,8 @@ def kill(process):
     print("WARNING: Python 2 is deprecated for use in DPDK, and will not work in future releases.", file=sys.stderr)
     print("Please use Python 3 instead", file=sys.stderr)
 
-if "RTE_SDK" in os.environ:
-    dpdk_path = os.environ["RTE_SDK"]
-else:
-    dpdk_path = "../.."
-
-if "RTE_TARGET" in os.environ:
-    dpdk_target = os.environ["RTE_TARGET"]
-else:
-    dpdk_target = "x86_64-native-linux-gcc"
+dpdk_path = "../.."
+dpdk_target = "build"
 
 parser = argparse.ArgumentParser(
                     description='BBdev Unit Test Application',
app/test/test_cryptodev.c +22 -67

220 lines not on this page · raw message

app/test/test_cryptodev_asym.c +4 -14
index dc62ed7bf3..85cd076059 100644
@@ -2336,9 +2336,7 @@ test_cryptodev_openssl_asym(void)
 			RTE_STR(CRYPTODEV_NAME_OPENSSL_PMD));
 
 	if (gbl_driver_id == -1) {
-		RTE_LOG(ERR, USER1, "OPENSSL PMD must be loaded. Check if "
-				"CONFIG_RTE_LIBRTE_PMD_OPENSSL is enabled "
-				"in config file to run this testsuite.\n");
+		RTE_LOG(ERR, USER1, "OPENSSL PMD must be loaded.\n");
 		return TEST_FAILED;
 	}
 
@@ -2352,9 +2350,7 @@ test_cryptodev_qat_asym(void)
 			RTE_STR(CRYPTODEV_NAME_QAT_ASYM_PMD));
 
 	if (gbl_driver_id == -1) {
-		RTE_LOG(ERR, USER1, "QAT PMD must be loaded. Check if "
-				    "CONFIG_RTE_LIBRTE_PMD_QAT_ASYM is enabled "
-				    "in config file to run this testsuite.\n");
+		RTE_LOG(ERR, USER1, "QAT PMD must be loaded.\n");
 		return TEST_FAILED;
 	}
 
@@ -2367,10 +2363,7 @@ test_cryptodev_octeontx_asym(void)
 	gbl_driver_id = rte_cryptodev_driver_id_get(
 			RTE_STR(CRYPTODEV_NAME_OCTEONTX_SYM_PMD));
 	if (gbl_driver_id == -1) {
-		RTE_LOG(ERR, USER1, "OCTEONTX PMD must be loaded. Check if "
-				"CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO is "
-				"enabled in config file to run this "
-				"testsuite.\n");
+		RTE_LOG(ERR, USER1, "OCTEONTX PMD must be loaded.\n");
 		return TEST_FAILED;
 	}
 	return unit_test_suite_runner(&cryptodev_octeontx_asym_testsuite);
@@ -2382,10 +2375,7 @@ test_cryptodev_octeontx2_asym(void)
 	gbl_driver_id = rte_cryptodev_driver_id_get(
 			RTE_STR(CRYPTODEV_NAME_OCTEONTX2_PMD));
 	if (gbl_driver_id == -1) {
-		RTE_LOG(ERR, USER1, "OCTEONTX2 PMD must be loaded. Check if "
-				"CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO is "
-				"enabled in config file to run this "
-				"testsuite.\n");
+		RTE_LOG(ERR, USER1, "OCTEONTX2 PMD must be loaded.\n");
 		return TEST_FAILED;
 	}
 
Signature · 1 line
2.17.1
#76 lore raw

PATCH v2 16/37 drivers: remove references to make config options

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in code comments.

---
 drivers/bus/pci/linux/pci_vfio.c | 1 -
 drivers/net/i40e/i40e_rxtx.c     | 1 -
 2 files changed, 2 deletions(-)
drivers/bus/pci/linux/pci_vfio.c +0 -1
index 07e072e13f..c15ed3bade 100644
@@ -34,7 +34,6 @@
  * This code tries to determine if the PCI device is bound to VFIO driver,
  * and initialize it (map BARs, set up interrupts) if that's the case.
  *
- * This file is only compiled if CONFIG_RTE_EAL_VFIO is set to "y".
  */
 
 #ifdef VFIO_PRESENT
drivers/net/i40e/i40e_rxtx.c +0 -1
index fe7f9200c1..60b33d20a1 100644
@@ -3438,7 +3438,6 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
 }
 
 #ifndef RTE_LIBRTE_I40E_INC_VECTOR
-/* Stubs needed for linkage when CONFIG_RTE_LIBRTE_I40E_INC_VECTOR is set to 'n' */
 int
 i40e_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
 {
Signature · 1 line
2.17.1
#77 lore raw

PATCH v2 17/37 lib: remove references to make config options

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in code comments.

---
 lib/librte_mempool/rte_mempool.h | 2 +-
 lib/librte_ring/rte_ring_elem.h  | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
lib/librte_mempool/rte_mempool.h +1 -1
index 9e0ee052b3..6ad7e31170 100644
@@ -970,7 +970,7 @@ typedef void (rte_mempool_ctor_t)(struct rte_mempool *, void *);
  *   If cache_size is non-zero, the rte_mempool library will try to
  *   limit the accesses to the common lockless pool, by maintaining a
  *   per-lcore object cache. This argument must be lower or equal to
- *   CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and n / 1.5. It is advised to choose
+ *   RTE_MEMPOOL_CACHE_MAX_SIZE and n / 1.5. It is advised to choose
  *   cache_size to have "n modulo cache_size == 0": if this is
  *   not the case, some elements will always stay in the pool and will
  *   never be used. The access to the per-lcore table is of course
lib/librte_ring/rte_ring_elem.h +1 -2
index 69dc51746c..938b398fc0 100644
@@ -373,8 +373,7 @@ __rte_ring_dequeue_elems(struct rte_ring *r, uint32_t cons_head,
  * (powerpc/arm).
  * There are 2 choices for the users
  * 1.use rmb() memory barrier
- * 2.use one-direction load_acquire/store_release barrier,defined by
- * CONFIG_RTE_USE_C11_MEM_MODEL=y
+ * 2.use one-direction load_acquire/store_release barrier
  * It depends on performance test results.
  * By default, move common functions to rte_ring_generic.h
  */
Signature · 1 line
2.17.1
#78 lore raw

PATCH v2 18/37 doc/guides: remove use of DPDK make build system

In reply to Ciara Power

From: Bruce Richardson <[email protected]>

When building the DPDK guide documents, the DPDK version information was pulled using "make showversion", which meant there was a dependency on the DPDK make-based build system. Change this to have the version info passed in from meson itself.

---
 buildtools/call-sphinx-build.py | 5 ++++-
 doc/guides/conf.py              | 7 +------
 doc/guides/meson.build          | 3 ++-
 3 files changed, 7 insertions(+), 8 deletions(-)
buildtools/call-sphinx-build.py +4 -1
index 85c9e01563..fa6f26b376 100755
@@ -9,7 +9,10 @@
 from subprocess import run, PIPE, STDOUT
 from distutils.version import StrictVersion
 
-(sphinx, src, dst) = sys.argv[1:]  # assign parameters to variables
+(sphinx, version, src, dst) = sys.argv[1:]  # assign parameters to variables
+
+# set the version in environment for sphinx to pick up
+os.environ['DPDK_VERSION'] = version
 
 # for sphinx version >= 1.7 add parallelism using "-j auto"
 ver = run([sphinx, '--version'], stdout=PIPE,
doc/guides/conf.py +1 -6
index d8fe5cccd7..9ebc26ed3f 100644
@@ -2,7 +2,6 @@
 # Copyright(c) 2010-2015 Intel Corporation
 
 from __future__ import print_function
-import subprocess
 from docutils import nodes
 from distutils.version import LooseVersion
 from sphinx import __version__ as sphinx_version
@@ -38,11 +37,7 @@
 html_show_copyright = False
 highlight_language = 'none'
 
-# If MAKEFLAGS is exported by the user, garbage text might end up in version
-version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion'],
-                                  env=dict(environ, MAKEFLAGS=""))
-version = version.decode('utf-8').rstrip()
-release = version
+release = environ['DPDK_VERSION']
 
 master_doc = 'index'
 
doc/guides/meson.build +2 -1
index 732e7ad3a9..daab139c4e 100644
@@ -11,7 +11,8 @@ 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.current_source_dir(), meson.current_build_dir()],
+	command: [sphinx_wrapper, sphinx, meson.project_version(),
+		meson.current_source_dir(), meson.current_build_dir()],
 	depfile: '.html.d',
 	build_by_default: get_option('enable_docs'),
 	install: get_option('enable_docs'),
Signature · 1 line
2.17.1
#79 lore raw

PATCH v2 19/37 doc: remove deprecation notice for make

In reply to Ciara Power

The deprecation notice for make can now be removed as this patchset removes the make build system.

---
 doc/guides/rel_notes/deprecation.rst | 7 -------
 1 file changed, 7 deletions(-)
doc/guides/rel_notes/deprecation.rst +0 -7
index 345c38d5b6..279eccb04a 100644
@@ -11,13 +11,6 @@ here.
 Deprecation Notices
 -------------------
 
-* make: Support for building DPDK with "make" has been deprecated and
-  support will be removed in the 20.11 release. From 20.11 onwards, DPDK
-  should be built using meson and ninja. For basic instructions see the
-  `Quick-start Guide <https://core.dpdk.org/doc/quick-start/>`_ on the
-  website or the `Getting Started Guide
-  <https://doc.dpdk.org/guides/linux_gsg/build_dpdk.html>`_ document.
-
 * meson: The minimum supported version of meson for configuring and building
   DPDK will be increased to v0.47.1 (from 0.41) from DPDK 19.05 onwards. For
   those users with a version earlier than 0.47.1, an updated copy of meson
Signature · 1 line
2.17.1
#80 lore raw

PATCH v2 20/37 doc: remove references to make in bbdev guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
 doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)
doc/guides/bbdevs/fpga_5gnr_fec.rst +2 -5
index 6760391e8c..8e00c4ef22 100644
@@ -51,10 +51,7 @@ FPGA 5GNR FEC does not support the following:
 Installation
 ------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. The
-default set of bbdev compile flags may be found in config/common_base, where for example
-the flag to build the FPGA 5GNR FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC``,
-is already set.
+Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.
 
 DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual.
 The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The
@@ -94,7 +91,7 @@ the UIO driver by repeating this command for every function.
 .. code-block:: console
 
   cd <dpdk-top-level-directory>
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "8086 0d8f" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd8086:0d8f
 
doc/guides/bbdevs/fpga_lte_fec.rst +2 -5
index fdc8a76981..14ffa0ee14 100644
@@ -50,10 +50,7 @@ FPGA LTE FEC does not support the following:
 Installation
 --------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. The
-default set of bbdev compile flags may be found in config/common_base, where for example
-the flag to build the FPGA LTE FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC``, is already
-set.
+Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.
 
 DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual.
 The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The
@@ -93,7 +90,7 @@ the UIO driver by repeating this command for every function.
 .. code-block:: console
 
   cd <dpdk-top-level-directory>
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "1172 5052" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd1172:
 
doc/guides/bbdevs/turbo_sw.rst +0 -15
index 20620c2e20..3b93157890 100644
@@ -12,14 +12,6 @@ Note that the driver can also be built without any dependency with reduced
 functionality for maintenance purpose.
 
 To enable linking to the SDK libraries see detailed installation section below.
-Two flags can be enabled depending on whether the target machine can support
-AVX2 and AVX512 instructions sets and the related SDK libraries for vectorized
-signal processing functions are installed :
-- CONFIG_RTE_BBDEV_SDK_AVX2
-- CONFIG_RTE_BBDEV_SDK_AVX512
-By default these 2 flags are disabled by default. For AVX2 machine and SDK
-library installed then the first flag can be enabled. For AVX512 machine and
-SDK library installed then both flags can be enabled for full real time capability.
 
 This PMD supports the functions: FEC, Rate Matching and CRC functions detailed
 in the Features section.
@@ -151,13 +143,6 @@ Example:
     export FLEXRAN_SDK=<path-to-workspace>/FlexRAN-FEC-SDK-19-04/sdk/build-avx2-icc/install
     export DIR_WIRELESS_SDK=<path-to-workspace>/FlexRAN-FEC-SDK-19-04/sdk/build-avx2-icc/
 
-* Set ``CONFIG_RTE_BBDEV_SDK_AVX2=y`` and ``CONFIG_RTE_BBDEV_SDK_AVX512=y``
-  in DPDK common configuration file ``config/common_base`` to be able to use
-  the SDK libraries as mentioned above.
-  For AVX2 machine it is possible to only enable CONFIG_RTE_BBDEV_SDK_AVX2
-  for limited 4G functionality.
-  If no flag are set the PMD driver will still build but its capabilities
-  will be limited accordingly.
 
 To use the PMD in an application, user must:
 
Signature · 1 line
2.17.1
#81 lore raw

Re: [dpdk-dev] [PATCH v2 20/37] doc: remove references to make in bbdev guides

Quoted 37 lines

From: Power, Ciara <[email protected]>
Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)
doc/guides/bbdevs/fpga_5gnr_fec.rst +0 -1
index 6760391e8c..8e00c4ef22 100644
@@ -51,10 +51,7 @@ FPGA 5GNR FEC does not support the following:
 Installation
 ------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK. The -default set of bbdev compile flags may be found in config/common_base, where for example -the flag to build the FPGA 5GNR FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC``,

doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-is already set.
+Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK.

DPDK requires hugepages to be configured as detailed in section 2 of the DPDK
manual.
The bbdev test application has been tested with a configuration 40 x 1GB
hugepages. The @@ -94,7 +91,7 @@ the UIO driver by repeating this command for every function.
.. code-block:: console

cd <dpdk-top-level-directory>

doc/guides/bbdevs/fpga_5gnr_fec.rst

Quoted 2 lines
doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko

Hi,
Should this more specific? What do you mean by <build_dir> here? Is this defined somewhere else explicitly in doc?
In other commit (with the python script) the assumption is that meson will install under <dpdk-top-level-directory>/build directory with hard coded path, ie. not forcing to other location. Can you clarify so that we are comprehensive and avoid confusion?
Thanks
Nic

#82 lore raw

Re: [dpdk-dev] [PATCH v2 20/37] doc: remove references to make in bbdev guides

Hi Nicolas,

Quoted 20 lines

-----Original Message-----
From: Chautru, Nicolas <[email protected]>
Sent: Friday 21 August 2020 03:13
To: Power, Ciara <[email protected]>; [email protected]
Cc: Mcnamara, John <[email protected]>; Kovacevic, Marko <[email protected]>
Subject: RE: [PATCH v2 20/37] doc: remove references to make in bbdev guides

Quoted 11 lines

From: Power, Ciara <[email protected]> Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)

<snip>

Quoted 4 lines

Review

Quoted 3 lines

cd <dpdk-top-level-directory>

(quoted diff) +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
Quoted 12 lines

Hi,
Should this more specific? What do you mean by <build_dir> here? Is this defined somewhere else explicitly in doc?
In other commit (with the python script) the assumption is that meson will install under <dpdk-top-level-directory>/build directory with hard coded path, ie. not forcing to other location.
Can you clarify so that we are comprehensive and avoid confusion? Thanks
Nic

The "<build_dir>" here represents the meson build folder, which is named by the user so can vary.
In the python script, I added "build" as the hardcoded path for the build folder, based on the example in the prog_guide/build-sdk-meson guide, which chooses to name the folder "build".

Thanks,
Ciara

#83 lore raw

Re: [dpdk-dev] [PATCH v2 20/37] doc: remove references to make in bbdev guides

Quoted 43 lines

From: Power, Ciara <[email protected]>
Hi Nicolas,

Quoted 11 lines

-----Original Message-----
From: Chautru, Nicolas <[email protected]>
Sent: Friday 21 August 2020 03:13
To: Power, Ciara <[email protected]>; [email protected]
Cc: Mcnamara, John <[email protected]>; Kovacevic, Marko <[email protected]>
Subject: RE: [PATCH v2 20/37] doc: remove references to make in bbdev guides

Quoted 2 lines

From: Power, Ciara <[email protected]> Make is no longer supported for compiling DPDK, references are now removed in the

documentation.

Quoted 9 lines
Quoted 9 lines
---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)

<snip>

Quoted 4 lines

Review

Quoted 3 lines

cd <dpdk-top-level-directory>

(quoted diff) +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
Quoted 12 lines

Hi,
Should this more specific? What do you mean by <build_dir> here? Is this defined somewhere else explicitly in doc?
In other commit (with the python script) the assumption is that meson will install under <dpdk-top-level-directory>/build directory with hard coded path, ie. not forcing to other location.
Can you clarify so that we are comprehensive and avoid confusion? Thanks
Nic

Quoted 5 lines

The "<build_dir>" here represents the meson build folder, which is named by the user so can vary.
In the python script, I added "build" as the hardcoded path for the build folder, based on the example in the prog_guide/build-sdk-meson guide, which chooses to name the folder "build".

Yes and I find this discrepancy as a source of confusion really. Either build location is flexible or not and in any case this needs to be deterministic and solid. I am not an expert on meson, unsure what is the best way to handle this but I certainly see room for errors we did not have with make. Any thought?

Quoted 3 lines

Thanks,
Ciara

#84 lore raw

Re: [dpdk-dev] [PATCH v2 20/37] doc: remove references to make in bbdev guides

In reply to Ciara Power

From: Power, Ciara <[email protected]>

Quoted 85 lines

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)
doc/guides/bbdevs/fpga_5gnr_fec.rst +0 -1
index 6760391e8c..8e00c4ef22 100644
@@ -51,10 +51,7 @@ FPGA 5GNR FEC does not support the following:
 Installation
 ------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK. The -default set of bbdev compile flags may be found in config/common_base, where for example -the flag to build the FPGA 5GNR FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC``,

doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-is already set.
+Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK.

DPDK requires hugepages to be configured as detailed in section 2 of the DPDK
manual.
The bbdev test application has been tested with a configuration 40 x 1GB
hugepages. The @@ -94,7 +91,7 @@ the UIO driver by repeating this command for every function.
.. code-block:: console

cd <dpdk-top-level-directory>

doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "8086 0d8f" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd8086:0d8f
doc/guides/bbdevs/fpga_lte_fec.rst +0 -1
index fdc8a76981..14ffa0ee14 100644
@@ -50,10 +50,7 @@ FPGA LTE FEC does not support the following:
 Installation
 --------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK. The -default set of bbdev compile flags may be found in config/common_base, where for example -the flag to build the FPGA LTE FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC``, is already -set. +Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.

DPDK requires hugepages to be configured as detailed in section 2 of the DPDK
manual.
The bbdev test application has been tested with a configuration 40 x 1GB
hugepages. The @@ -93,7 +90,7 @@ the UIO driver by repeating this command for every function.
.. code-block:: console

cd <dpdk-top-level-directory>

doc/guides/bbdevs/fpga_lte_fec.rst +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "1172 5052" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd1172:
doc/guides/bbdevs/turbo_sw.rst +0 -0
index 20620c2e20..3b93157890 100644
@@ -12,14 +12,6 @@ Note that the driver can also be built without any

dependency with reduced functionality for maintenance purpose.

To enable linking to the SDK libraries see detailed installation section below.
-Two flags can be enabled depending on whether the target machine can support

doc/guides/bbdevs/turbo_sw.rst +0 -5
-AVX2 and AVX512 instructions sets and the related SDK libraries for vectorized
-signal processing functions are installed :
-- CONFIG_RTE_BBDEV_SDK_AVX2
-- CONFIG_RTE_BBDEV_SDK_AVX512
-By default these 2 flags are disabled by default. For AVX2 machine and SDK -
Quoted 2 lines

library installed then the first flag can be enabled. For AVX512 machine and - SDK library installed then both flags can be enabled for full real time capability.

Hi,
We are losing information here. Even if the configuration options should not be documented based on an explicit reference make and config_base assumptions (agreed that they are no longer there), the steps should still capture the conf to be passed to meson so that the PMD can still be built with the avx2/avx512 intel libraries (ie. not the case by default due to additional dependency to retrieve the related libraries). Thanks
Nic

#85 lore raw

Re: [dpdk-dev] [PATCH v2 20/37] doc: remove references to make in bbdev guides

Quoted 78 lines · Nicolas

From: Power, Ciara <[email protected]>

Quoted 77 lines

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/bbdevs/fpga_5gnr_fec.rst |  7 ++-----
doc/guides/bbdevs/fpga_lte_fec.rst  |  7 ++-----
 doc/guides/bbdevs/turbo_sw.rst      | 15 ---------------
 3 files changed, 4 insertions(+), 25 deletions(-)
doc/guides/bbdevs/fpga_5gnr_fec.rst +0 -1
index 6760391e8c..8e00c4ef22 100644
@@ -51,10 +51,7 @@ FPGA 5GNR FEC does not support the following:
 Installation
 ------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK. The -default set of bbdev compile flags may be found in config/common_base, where for example -the flag to build the FPGA 5GNR FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC``,

doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-is already set.
+Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK.

DPDK requires hugepages to be configured as detailed in section 2 of the DPDK
manual.
The bbdev test application has been tested with a configuration 40 x 1GB
hugepages. The @@ -94,7 +91,7 @@ the UIO driver by repeating this command for every function.
.. code-block:: console

cd <dpdk-top-level-directory>

doc/guides/bbdevs/fpga_5gnr_fec.rst +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "8086 0d8f" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd8086:0d8f
doc/guides/bbdevs/fpga_lte_fec.rst +0 -1
index fdc8a76981..14ffa0ee14 100644
@@ -50,10 +50,7 @@ FPGA LTE FEC does not support the following:
 Installation
 --------------
 
-Section 3 of the DPDK manual provides instructions on installing and compiling

DPDK. The -default set of bbdev compile flags may be found in config/common_base, where for example -the flag to build the FPGA LTE FEC device, ``CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC``, is already -set. +Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.

DPDK requires hugepages to be configured as detailed in section 2 of the DPDK
manual.
The bbdev test application has been tested with a configuration 40 x 1GB
hugepages. The @@ -93,7 +90,7 @@ the UIO driver by repeating this command for every function.
.. code-block:: console

cd <dpdk-top-level-directory>

doc/guides/bbdevs/fpga_lte_fec.rst +1 -1
-  insmod ./build/kmod/igb_uio.ko
+  insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
   echo "1172 5052" > /sys/bus/pci/drivers/igb_uio/new_id
   lspci -vd1172:
doc/guides/bbdevs/turbo_sw.rst +0 -0
index 20620c2e20..3b93157890 100644
@@ -12,14 +12,6 @@ Note that the driver can also be built without any

dependency with reduced functionality for maintenance purpose.

Quoted 15 lines
Quoted 10 lines

To enable linking to the SDK libraries see detailed installation section below.
-Two flags can be enabled depending on whether the target machine can support

doc/guides/bbdevs/turbo_sw.rst +0 -5
-AVX2 and AVX512 instructions sets and the related SDK libraries for vectorized
-signal processing functions are installed :
-- CONFIG_RTE_BBDEV_SDK_AVX2
-- CONFIG_RTE_BBDEV_SDK_AVX512
-By default these 2 flags are disabled by default. For AVX2 machine and SDK -

library installed then the first flag can be enabled. For AVX512 machine and - SDK library installed then both flags can be enabled for full real time capability.

Hi,
We are losing information here. Even if the configuration options should not be documented based on an explicit reference make and config_base assumptions (agreed that they are no longer there), the steps should still capture the conf to be passed to meson so that the PMD can still be built with the avx2/avx512 intel libraries (ie. not the case by default due to additional dependency to retrieve the related libraries). Thanks
Nic

Hi Nic,

Can you perhaps suggest the appropriate wording to use? Given the size of the patchset, I think we need individual maintainers to help provide the appropriate doc adjustments.

Thanks,
/Bruce

#86 lore raw

PATCH v2 21/37 doc: remove references to make in compressdev guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/compressdevs/isal.rst     |  4 ----
 doc/guides/compressdevs/octeontx.rst | 24 ++----------------------
 doc/guides/compressdevs/zlib.rst     |  4 ----
 3 files changed, 2 insertions(+), 30 deletions(-)
doc/guides/compressdevs/isal.rst +0 -4
index af1f41f240..1d146fb4a6 100644
@@ -133,10 +133,6 @@ Installation
 Initialization
 --------------
 
-In order to enable this virtual compression PMD, user must:
-
-* Set ``CONFIG_RTE_LIBRTE_PMD_ISAL=y`` in config/common_base.
-
 To use the PMD in an application, user must:
 
 * Call ``rte_vdev_init("compress_isal")`` within the application.
doc/guides/compressdevs/octeontx.rst +2 -22
index 5924ad1fa3..8c658721b9 100644
@@ -56,21 +56,6 @@ Steps To Setup Platform
 
    SDK and related information can be obtained from: `Cavium support site <https://support.cavium.com/>`_.
 
-Installation
-------------
-
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the OCTEON TX ZIP PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-   .. code-block:: console
-
-      cd <DPDK-source-directory>
-      make config T=arm64-thunderx-linux-gcc install
-
-
 Initialization
 --------------
 
@@ -96,10 +81,5 @@ probed. To use the PMD in an application, user must:
    .. code-block:: console
 
       reserve enough huge pages
-      cd to the top-level DPDK directory
-      export RTE_TARGET=arm64-thunderx-linux-gcc
-      export RTE_SDK=`pwd`
-      cd to app/test
-      type the command "make" to compile
-      run the tests with "./test"
-      type the command "compressdev_autotest" to test
+      cd to <build_dir>
+      meson test compressdev_autotest
doc/guides/compressdevs/zlib.rst +0 -4
index 986c59d43b..6e397ecd7e 100644
@@ -53,10 +53,6 @@ Installation
 Initialization
 --------------
 
-In order to enable this virtual compression PMD, user must:
-
-* Set ``CONFIG_RTE_LIBRTE_PMD_ZLIB=y`` in config/common_base.
-
 To use the PMD in an application, user must:
 
 * Call ``rte_vdev_init("compress_zlib")`` within the application.
Signature · 1 line
2.17.1
#87 lore raw

PATCH v2 22/37 doc: remove references to make in contributing guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/contributing/coding_style.rst  |  46 +-------
 doc/guides/contributing/design.rst        | 127 ++--------------------
 doc/guides/contributing/documentation.rst |  31 +-----
 doc/guides/contributing/patches.rst       |  45 --------
 4 files changed, 18 insertions(+), 231 deletions(-)
doc/guides/contributing/coding_style.rst +5 -41
index b55075eaa2..dc352d03ca 100644
@@ -773,52 +773,16 @@ The ``pep8`` tool can be used for testing compliance with the guidelines.
 Integrating with the Build System
 ---------------------------------
 
-DPDK supports being built in two different ways:
-
-* using ``make`` - or more specifically "GNU make", i.e. ``gmake`` on FreeBSD
-* using the tools ``meson`` and ``ninja``
+DPDK supports being built by using the tools ``meson`` and ``ninja``
 
 Any new library or driver to be integrated into DPDK should support being
-built with both systems. While building using ``make`` is a legacy approach, and
-most build-system enhancements are being done using ``meson`` and ``ninja``
-there are no plans at this time to deprecate the legacy ``make`` build system.
+built with this system.
 
-Therefore all new component additions should include both a ``Makefile`` and a
-``meson.build`` file, and should be added to the component lists in both the
-``Makefile`` and ``meson.build`` files in the relevant top-level directory:
+Therefore all new component additions should include a ``meson.build`` file,
+and should be added to the component lists in the ``meson.build`` files in the
+relevant top-level directory:
 either ``lib`` directory or a ``driver`` subdirectory.
 
-Makefile Contents
-~~~~~~~~~~~~~~~~~
-
-The ``Makefile`` for the component should be of the following format, where
-``<name>`` corresponds to the name of the library in question, e.g. hash,
-lpm, etc. For drivers, the same format of Makefile is used.
-
-.. code-block:: none
-
-	# pull in basic DPDK definitions, including whether library is to be
-	# built or not
-	include $(RTE_SDK)/mk/rte.vars.mk
-
-	# library name
-	LIB = librte_<name>.a
-
-	# any library cflags needed. Generally add "-O3 $(WERROR_FLAGS)"
-	CFLAGS += -O3
-	CFLAGS += $(WERROR_FLAGS)
-
-	# the symbol version information for the library
-	EXPORT_MAP := rte_<name>_version.map
-
-	# all source filenames are stored in SRCS-y
-	SRCS-$(CONFIG_RTE_LIBRTE_<NAME>) += rte_<name>.c
-
-	# install includes
-	SYMLINK-$(CONFIG_RTE_LIBRTE_<NAME>)-include += rte_<name>.h
-
-	# pull in rules to build the library
-	include $(RTE_SDK)/mk/rte.lib.mk
 
 Meson Build File Contents - Libraries
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/contributing/design.rst +7 -120

155 lines not on this page · raw message

doc/guides/contributing/documentation.rst +6 -25
index 375ea64ba8..768453126f 100644
@@ -222,25 +222,14 @@ Build commands
 ~~~~~~~~~~~~~~
 
 The documentation is built using the standard DPDK build system.
-Some examples are shown below:
 
-* Generate all the documentation targets::
+To enable doc building::
 
-     make doc
+   meson configure -Denable_docs=true
 
-* Generate the Doxygen API documentation in Html::
+See :doc:`../linux_gsg/build_dpdk` for more detail on compiling DPDK with meson.
 
-     make doc-api-html
-
-* Generate the guides documentation in Html::
-
-     make doc-guides-html
-
-* Generate the guides documentation in Pdf::
-
-     make doc-guides-pdf
-
-The output of these commands is generated in the ``build`` directory::
+The output is generated in the ``build`` directory::
 
    build/doc
          |-- html
@@ -255,10 +244,6 @@ The output of these commands is generated in the ``build`` directory::
 
    Make sure to fix any Sphinx or Doxygen warnings when adding or updating documentation.
 
-The documentation output files can be removed as follows::
-
-   make doc-clean
-
 
 Document Guidelines
 -------------------
@@ -308,7 +293,7 @@ Line Length
   Long literal command lines can be shown wrapped with backslashes. For
   example::
 
-     testpmd -l 2-3 -n 4 \
+     dpdk-testpmd -l 2-3 -n 4 \
              --vdev=virtio_user0,path=/dev/vhost-net,queues=2,queue_size=1024 \
              -- -i --tx-offloads=0x0000002c --enable-lro --txq=2 --rxq=2 \
              --txd=1024 --rxd=1024
@@ -460,7 +445,7 @@ Code and Literal block sections
   For long literal lines that exceed that limit try to wrap the text at sensible locations.
   For example a long command line could be documented like this and still work if copied directly from the docs::
 
-     build/app/testpmd -l 0-2 -n3 --vdev=net_pcap0,iface=eth0     \
+     ./<build_dir>/app/dpdk-testpmd -l 0-2 -n3 --vdev=net_pcap0,iface=eth0    \
                                --vdev=net_pcap1,iface=eth1     \
                                -- -i --nb-cores=2 --nb-ports=2 \
                                   --total-num-mbufs=2048
@@ -743,9 +728,5 @@ The following are some guidelines for use of Doxygen in the DPDK API documentati
      /** Array of physical page addresses for the mempool buffer. */
      phys_addr_t elt_pa[MEMPOOL_PG_NUM_DEFAULT];
 
-* Check for Doxygen warnings in new code by checking the API documentation build::
-
-     make doc-api-html >/dev/null
-
 * Read the rendered section of the documentation that you have added for correctness, clarity and consistency
   with the surrounding text.
doc/guides/contributing/patches.rst +0 -45

51 lines not on this page · raw message

Signature · 1 line
2.17.1
#88 lore raw

PATCH v2 23/37 doc: remove references to make in cryptodev guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/cryptodevs/aesni_gcm.rst |  4 +-
 doc/guides/cryptodevs/aesni_mb.rst  |  4 +-
 doc/guides/cryptodevs/armv8.rst     |  3 --
 doc/guides/cryptodevs/caam_jr.rst   | 30 -------------
 doc/guides/cryptodevs/ccp.rst       | 14 +++---
 doc/guides/cryptodevs/dpaa2_sec.rst | 25 -----------
 doc/guides/cryptodevs/dpaa_sec.rst  | 25 -----------
 doc/guides/cryptodevs/kasumi.rst    | 11 +----
 doc/guides/cryptodevs/mvsam.rst     | 10 +----
 doc/guides/cryptodevs/nitrox.rst    |  7 ---
 doc/guides/cryptodevs/null.rst      |  2 +-
 doc/guides/cryptodevs/octeontx.rst  | 12 +-----
 doc/guides/cryptodevs/octeontx2.rst |  8 +---
 doc/guides/cryptodevs/openssl.rst   |  6 +--
 doc/guides/cryptodevs/qat.rst       | 67 +++++++----------------------
 doc/guides/cryptodevs/scheduler.rst |  8 ----
 doc/guides/cryptodevs/snow3g.rst    | 10 +----
 doc/guides/cryptodevs/virtio.rst    | 20 +++------
 doc/guides/cryptodevs/zuc.rst       | 10 +----
 19 files changed, 40 insertions(+), 236 deletions(-)
doc/guides/cryptodevs/aesni_gcm.rst +1 -3
index 74e0de63ad..013615e2d0 100644
@@ -96,8 +96,6 @@ In order to enable this virtual crypto PMD, user must:
 
 * Build the multi buffer library (explained in Installation section).
 
-* Set CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y in config/common_base.
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_aesni_gcm") within the application.
@@ -117,5 +115,5 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_aesni_gcm,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_aesni_gcm,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain AEAD --aead_algo "aes-gcm"
doc/guides/cryptodevs/aesni_mb.rst +1 -3
index 15388d20ab..fd533ca65b 100644
@@ -131,8 +131,6 @@ In order to enable this virtual crypto PMD, user must:
 
 * Build the multi buffer library (explained in Installation section).
 
-* Set CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y in config/common_base.
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_aesni_mb") within the application.
@@ -152,7 +150,7 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_aesni_mb,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_aesni_mb,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain CIPHER_HASH --cipher_algo "aes-cbc" --auth_algo "sha1-hmac"
 
 Extra notes
doc/guides/cryptodevs/armv8.rst +0 -3
index fee85354ba..d30ef6168e 100644
@@ -40,9 +40,6 @@ In order to enable this virtual crypto PMD, user must:
 
 	make -C $ARMV8_CRYPTO_LIB_PATH/
 
-* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=y in
-  config/defconfig_arm64-armv8a-linux-gcc
-
 The corresponding device can be created only if the following features
 are supported by the CPU:
 
doc/guides/cryptodevs/caam_jr.rst +0 -30
index 6d9daf7364..5ef33ae78e 100644
@@ -109,36 +109,6 @@ Currently supported by DPDK:
 
 * Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file
-to enable caam_jr PMD.
-
-Please note that enabling debugging options may affect system performance.
-
-* ``CONFIG_RTE_LIBRTE_PMD_CAAM_JR`` (default ``n``)
-  By default it is only enabled in common_linux config.
-  Toggle compilation of the ``librte_pmd_caam_jr`` driver.
-
-* ``CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE`` (default ``n``)
-  By default it is disabled.
-  It can be used when the underlying hardware supports the CAAM in BE mode.
-  LS1043A, LS1046A and LS1012A support CAAM in BE mode.
-  LS1028A supports CAAM in LE mode.
-
-Installations
--------------
-To compile the caam_jr PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-armv8a-linux-gcc install
 
 Enabling logs
 -------------
doc/guides/cryptodevs/ccp.rst +5 -9
index a43fe92de9..9ca1979994 100644
@@ -56,10 +56,8 @@ AEAD algorithms:
 Installation
 ------------
 
-To compile ccp PMD, it has to be enabled in the config/common_base file and openssl
-packages have to be installed in the build environment.
-
-* ``CONFIG_RTE_LIBRTE_PMD_CCP=y``
+To compile ccp PMD, openssl packages have to be installed in the build
+environment.
 
 For Ubuntu 16.04 LTS use below to install openssl in the build system:
 
@@ -77,7 +75,7 @@ e.g. for the 0x1456 device::
 
 	cd to the top-level DPDK directory
 	modprobe uio
-	insmod ./build/kmod/igb_uio.ko
+	insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
 	echo "1022 1456" > /sys/bus/pci/drivers/igb_uio/new_id
 
 Another way to bind the CCP devices to DPDK UIO driver is by using the ``dpdk-devbind.py`` script.
@@ -86,8 +84,6 @@ The following command assumes ``BFD`` as ``0000:09:00.2``::
 	cd to the top-level DPDK directory
 	./usertools/dpdk-devbind.py -b igb_uio 0000:09:00.2
 
-In order to enable the ccp crypto PMD, user must set CONFIG_RTE_LIBRTE_PMD_CCP=y in config/common_base.
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_ccp") within the application.
@@ -109,7 +105,7 @@ To validate ccp pmd, l2fwd-crypto example can be used with following command:
 
 .. code-block:: console
 
-        sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x1
+        sudo ./<build_dir>/examples/dpdk-l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x1
         --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
         --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
         --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
@@ -124,7 +120,7 @@ following:
 
 .. code-block:: console
 
-        sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=1" -- -p 0x1
+        sudo ./<build_dir>/examples/dpdk-l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=1" -- -p 0x1
         --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
         --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
         --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
doc/guides/cryptodevs/dpaa2_sec.rst +0 -25
index 3053636b82..080768a2e7 100644
@@ -167,31 +167,6 @@ Currently supported by DPDK:
 
 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-Basic DPAA2 config file options are described in :ref:`dpaa2_overview`.
-In addition to those, the following options can be modified in the ``config`` file
-to enable DPAA2_SEC PMD.
-
-Please note that enabling debugging options may affect system performance.
-
-* ``CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC`` (default ``n``)
-  By default it is only enabled in defconfig_arm64-dpaa-* config.
-  Toggle compilation of the ``librte_pmd_dpaa2_sec`` driver.
-
-Installations
--------------
-To compile the DPAA2_SEC PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Enabling logs
 -------------
doc/guides/cryptodevs/dpaa_sec.rst +0 -25
index db3c8e9189..da14a68d9c 100644
@@ -111,31 +111,6 @@ See :doc:`../platform/dpaa` for setup information
 
 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-Basic DPAA config file options are described in :ref:`dpaa_overview`.
-In addition to those, the following options can be modified in the ``config`` file
-to enable DPAA_SEC PMD.
-
-Please note that enabling debugging options may affect system performance.
-
-* ``CONFIG_RTE_LIBRTE_PMD_DPAA_SEC`` (default ``n``)
-  By default it is only enabled in defconfig_arm64-dpaa-* config.
-  Toggle compilation of the ``librte_pmd_dpaa_sec`` driver.
-
-Installations
--------------
-To compile the DPAA_SEC PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Enabling logs
 -------------
doc/guides/cryptodevs/kasumi.rst +1 -10
index 09a538f816..5770a60cb2 100644
@@ -89,15 +89,6 @@ In order to enable this virtual crypto PMD, user must:
 
 * Build the multi buffer library (explained in Installation section).
 
-* Build DPDK as follows:
-
-.. code-block:: console
-
-	make config T=x86_64-native-linux-gcc
-	sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_KASUMI\)=n,\1=y,' build/.config
-	make
-
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_kasumi") within the application.
@@ -117,7 +108,7 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_kasumi,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_kasumi,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "kasumi-f8"
 
 Extra notes on KASUMI F9
doc/guides/cryptodevs/mvsam.rst +1 -9
index 399fe37a67..6188c1248c 100644
@@ -64,14 +64,6 @@ Limitations
 Installation
 ------------
 
-MVSAM CRYPTO PMD driver compilation is disabled by default due to external dependencies.
-Currently there are two driver specific compilation options in
-``config/common_base`` available:
-
-- ``CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO`` (default: ``n``)
-
-    Toggle compilation of the librte_pmd_mvsam driver.
-
 MVSAM CRYPTO PMD requires MUSDK built with EIP197 support thus following
 extra option must be passed to the library configuration script:
 
@@ -105,7 +97,7 @@ operation:
 
 .. code-block:: console
 
-   ./l2fwd-crypto --vdev=eth_mvpp2,iface=eth0 --vdev=crypto_mvsam -- \
+   ./dpdk-l2fwd-crypto --vdev=eth_mvpp2,iface=eth0 --vdev=crypto_mvsam -- \
      --cipher_op ENCRYPT --cipher_algo aes-cbc \
      --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f  \
      --auth_op GENERATE --auth_algo sha1-hmac \
doc/guides/cryptodevs/nitrox.rst +0 -7
index 85f5212b64..2f0565b49e 100644
@@ -33,13 +33,6 @@ Limitations
 * 3DES Cipher Only combination is not supported.
 * Session-less APIs are not supported.
 
-Installation
-------------
-
-For compiling the Nitrox crypto PMD, please check if the
-CONFIG_RTE_LIBRTE_PMD_NITROX setting is set to `y` in config/common_base file.
-
-* ``CONFIG_RTE_LIBRTE_PMD_NITROX=y``
 
 Initialization
 --------------
doc/guides/cryptodevs/null.rst +1 -1
index c980e0ac84..aac5904b1d 100644
@@ -67,5 +67,5 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_null,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_null,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "null"
doc/guides/cryptodevs/octeontx.rst +2 -10
index 4fa199e3c4..d813cb2974 100644
@@ -59,14 +59,6 @@ Supported Asymmetric Crypto Algorithms
 * ``RTE_CRYPTO_ASYM_XFORM_RSA``
 * ``RTE_CRYPTO_ASYM_XFORM_MODEX``
 
-Config flags
-------------
-
-For compiling the OCTEON TX crypto poll mode driver, please check if the
-CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO setting is set to `y` in
-config/common_base file.
-
-* ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO=y``
 
 Compilation
 -----------
@@ -135,7 +127,7 @@ application:
 
 .. code-block:: console
 
-        ./test
+        ./dpdk-test
         RTE>>cryptodev_octeontx_autotest
 
 The asymmetric crypto operations on OCTEON TX crypto PMD may be verified by running the test
@@ -143,5 +135,5 @@ application:
 
 .. code-block:: console
 
-        ./test
+        ./dpdk-test
         RTE>>cryptodev_octeontx_asym_autotest
doc/guides/cryptodevs/octeontx2.rst +2 -6
index 432146db04..bb4af3a04d 100644
@@ -70,10 +70,6 @@ Installation
 The OCTEON TX2 crypto PMD may be compiled natively on an OCTEON TX2 platform or
 cross-compiled on an x86 platform.
 
-Enable OCTEON TX2 crypto PMD in your config file:
-
-* ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO=y``
-
 Refer to :doc:`../platform/octeontx2` for instructions to build your DPDK
 application.
 
@@ -148,7 +144,7 @@ application:
 
 .. code-block:: console
 
-    ./test
+    ./dpdk-test
     RTE>>cryptodev_octeontx2_autotest
 
 The asymmetric crypto operations on OCTEON TX2 crypto PMD may be verified by running the test
@@ -156,7 +152,7 @@ application:
 
 .. code-block:: console
 
-    ./test
+    ./dpdk-test
     RTE>>cryptodev_octeontx2_asym_autotest
 
 
doc/guides/cryptodevs/openssl.rst +3 -3
index 7407294813..ca0f0b43f3 100644
@@ -58,8 +58,8 @@ Supported Asymmetric Crypto algorithms:
 Installation
 ------------
 
-To compile openssl PMD, it has to be enabled in the config/common_base file
-and appropriate openssl packages have to be installed in the build environment.
+To compile openssl PMD, appropriate openssl packages have to be installed
+in the build environment.
 
 The newest openssl library version is supported:
 
@@ -93,7 +93,7 @@ To verify real traffic l2fwd-crypto example can be used with this command:
 
 .. code-block:: console
 
-	sudo ./build/l2fwd-crypto -l 0-1 -n 4 --vdev "crypto_openssl"
+	sudo ./<build_dir>/examples/dpdk-l2fwd-crypto -l 0-1 -n 4 --vdev "crypto_openssl"
 	--vdev "crypto_openssl"-- -p 0x3 --chain CIPHER_HASH
 	--cipher_op ENCRYPT --cipher_algo AES_CBC
 	--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
doc/guides/cryptodevs/qat.rst +16 -51

129 lines not on this page · raw message

doc/guides/cryptodevs/scheduler.rst +0 -8
index 7004ca431a..ee23b25b73 100644
@@ -32,14 +32,6 @@ Limitations
   is enabled.
 
 
-Installation
-------------
-
-To build DPDK with CRYTPO_SCHEDULER_PMD the user is required to set
-CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y in config/common_base, and
-recompile DPDK
-
-
 Initialization
 --------------
 
doc/guides/cryptodevs/snow3g.rst +1 -9
index e0cddc2d77..13341c39c4 100644
@@ -88,14 +88,6 @@ In order to enable this virtual crypto PMD, user must:
 
 * Build the multi buffer library (explained in Installation section).
 
-* Build DPDK as follows:
-
-.. code-block:: console
-
-	make config T=x86_64-native-linux-gcc
-	sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_SNOW3G\)=n,\1=y,' build/.config
-	make
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_snow3g") within the application.
@@ -115,5 +107,5 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_snow3g,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_snow3g,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "snow3g-uea2"
doc/guides/cryptodevs/virtio.rst +5 -15
index 2c46bda866..83d8e32397 100644
@@ -83,27 +83,17 @@ The unit test cases can be tested as below:
 .. code-block:: console
 
     reserve enough huge pages
-    cd to the top-level DPDK directory
-    export RTE_TARGET=x86_64-native-linux-gcc
-    export RTE_SDK=`pwd`
-    cd to app/test
-    type the command "make" to compile
-    run the tests with "./test"
-    type the command "cryptodev_virtio_autotest" to test
+    cd to <build_dir>
+    meson test cryptodev_virtio_autotest
 
 The performance can be tested as below:
 
 .. code-block:: console
 
     reserve enough huge pages
-    cd to the top-level DPDK directory
-    export RTE_TARGET=x86_64-native-linux-gcc
-    export RTE_SDK=`pwd`
-    cd to app/test-crypto-perf
-    type the command "make" to compile
-    run the tests with the following command:
-
-    ./dpdk-test-crypto-perf -l 0,1 -- --devtype crypto_virtio \
+    cd to <build_dir>
+
+    ./app/dpdk-test-crypto-perf -l 0,1 -- --devtype crypto_virtio \
         --ptest throughput --optype cipher-then-auth --cipher-algo aes-cbc \
         --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac \
         --auth-op generate --auth-key-sz 64 --digest-sz 12 \
doc/guides/cryptodevs/zuc.rst +1 -9
index 9b51ba141d..907840ef05 100644
@@ -88,14 +88,6 @@ In order to enable this virtual crypto PMD, user must:
 
 * Build the multi buffer library (explained in Installation section).
 
-* Build DPDK as follows:
-
-.. code-block:: console
-
-	make config T=x86_64-native-linux-gcc
-	sed -i 's,\(CONFIG_RTE_LIBRTE_PMD_ZUC\)=n,\1=y,' build/.config
-	make
-
 To use the PMD in an application, user must:
 
 * Call rte_vdev_init("crypto_zuc") within the application.
@@ -115,5 +107,5 @@ Example:
 
 .. code-block:: console
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_zuc,socket_id=0,max_nb_sessions=128" \
+    ./dpdk-l2fwd-crypto -l 1 -n 4 --vdev="crypto_zuc,socket_id=0,max_nb_sessions=128" \
     -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "zuc-eea3"
Signature · 1 line
2.17.1
Reviewed-by on v2 23/37
#89 lore raw

Re: [dpdk-dev] [PATCH v2 23/37] doc: remove references to make in cryptodev guides

Quoted 17 lines · Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
  doc/guides/cryptodevs/aesni_gcm.rst |  4 +-
  doc/guides/cryptodevs/aesni_mb.rst  |  4 +-
  doc/guides/cryptodevs/armv8.rst     |  3 --
  doc/guides/cryptodevs/caam_jr.rst   | 30 -------------
  doc/guides/cryptodevs/ccp.rst       | 14 +++---
  doc/guides/cryptodevs/dpaa2_sec.rst | 25 -----------
  doc/guides/cryptodevs/dpaa_sec.rst  | 25 -----------
  doc/guides/cryptodevs/kasumi.rst    | 11 +----
  doc/guides/cryptodevs/mvsam.rst     | 10 +----
  doc/guides/cryptodevs/nitrox.rst    |  7 ---
  doc/guides/cryptodevs/null.rst      |  2 +-
  doc/guides/cryptodevs/octeontx.rst  | 12 +-----
Quoted 9 lines
  doc/guides/cryptodevs/octeontx2.rst |  8 +---
  doc/guides/cryptodevs/openssl.rst   |  6 +--
  doc/guides/cryptodevs/qat.rst       | 67 +++++++----------------------
  doc/guides/cryptodevs/scheduler.rst |  8 ----
  doc/guides/cryptodevs/snow3g.rst    | 10 +----
  doc/guides/cryptodevs/virtio.rst    | 20 +++------
  doc/guides/cryptodevs/zuc.rst       | 10 +----
  19 files changed, 40 insertions(+), 236 deletions(-)
#90 lore raw

PATCH v2 24/37 doc: remove references to make in eventdev guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/eventdevs/dpaa.rst      | 20 --------------------
 doc/guides/eventdevs/dpaa2.rst     | 20 --------------------
 doc/guides/eventdevs/octeontx.rst  | 24 ------------------------
 doc/guides/eventdevs/octeontx2.rst |  8 --------
 4 files changed, 72 deletions(-)
doc/guides/eventdevs/dpaa.rst +0 -20
index be68c6da6f..6fbee91d9e 100644
@@ -43,26 +43,6 @@ Currently supported by DPDK:
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_dpaa_event`` driver.
-
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the DPAA EVENTDEV PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Initialization
 --------------
doc/guides/eventdevs/dpaa2.rst +0 -20
index 835767f98d..b992ae649e 100644
@@ -52,26 +52,6 @@ Currently supported by DPDK:
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV`` (default ``y``)
-
-  Toggle compilation of the ``lrte_pmd_dpaa2_event`` driver.
-
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the DPAA2 EVENTDEV PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Initialization
 --------------
doc/guides/eventdevs/octeontx.rst +0 -24
index 9a3646db0d..f7a4cdd586 100644
@@ -41,30 +41,6 @@ Prerequisites
 
 See :doc:`../platform/octeontx` for setup information.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_octeontx_ssovf`` driver.
-
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the OCTEON TX SSOVF PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-thunderx-linux-gcc install
-
 
 Initialization
 --------------
doc/guides/eventdevs/octeontx2.rst +0 -8
index 6502f6415f..7f9eceb01f 100644
@@ -47,14 +47,6 @@ Prerequisites and Compilation procedure
 Pre-Installation Configuration
 ------------------------------
 
-Compile time Config Options
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-The following option can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_octeontx2_event`` driver.
 
 Runtime Config Options
 ~~~~~~~~~~~~~~~~~~~~~~
Signature · 1 line
2.17.1
#91 lore raw

PATCH v2 25/37 doc: remove references to make in FreeBSD gsg guide

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 2 +-
 doc/guides/freebsd_gsg/intro.rst      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
index e31c966b98..1e5a8cfe9e 100644
@@ -122,7 +122,7 @@ up time.  This can be achieved by placing lines similar to the following into
 
 An error such as::
 
-    kldload: can't load ./x86_64-native-freebsd-gcc/kmod/contigmem.ko:
+    kldload: can't load ./<build_dir>/kernel/freebsd/contigmem.ko:
              Exec format error
 
 is generally attributed to not having enough contiguous memory
doc/guides/freebsd_gsg/intro.rst +2 -2
index 63160ce64f..b2e57909ee 100644
@@ -39,8 +39,8 @@ The following is a list of DPDK documents in the suggested reading order:
         specifically in a Linux* application (linux) environment
 
     *   The content of the DPDK, the build system (including the commands
-        that can be used in the root DPDK Makefile to build the development
-        kit and an application) and guidelines for porting an application
+        that can be used to build the development kit and an application)
+        and guidelines for porting an application
 
     *   Optimizations used in the software and those that should be considered
         for new development
Signature · 1 line
2.17.1
#92 lore raw

PATCH v2 26/37 doc: remove references to make in howto guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/howto/lm_bond_virtio_sriov.rst     |  4 +--
 doc/guides/howto/lm_virtio_vhost_user.rst     |  4 +--
 doc/guides/howto/packet_capture_framework.rst | 21 +++------------
 doc/guides/howto/pvp_reference_benchmark.rst  | 27 +++++--------------
 doc/guides/howto/vfd.rst                      |  4 +--
 .../virtio_user_for_container_networking.rst  |  2 +-
 6 files changed, 16 insertions(+), 46 deletions(-)
doc/guides/howto/lm_bond_virtio_sriov.rst +2 -2
index 07563b3e24..02ba1cdf5d 100644
@@ -591,7 +591,7 @@ Set up DPDK in the Virtual Machine
    rmmod virtio-pci ixgbevf
 
    modprobe uio
-   insmod /root/dpdk/x86_64-default-linux-gcc/kmod/igb_uio.ko
+   insmod /root/dpdk/<build_dir>/kernel/linux/igb_uio/igb_uio.ko
 
    /root/dpdk/usertools/dpdk-devbind.py -b igb_uio 0000:00:03.0
    /root/dpdk/usertools/dpdk-devbind.py -b igb_uio 0000:00:04.0
@@ -613,7 +613,7 @@ Run testpmd in the Virtual Machine.
 
    # use for bonding of virtio and vf tests in VM
 
-   /root/dpdk/x86_64-default-linux-gcc/app/testpmd \
+   /root/dpdk/<build_dir>/app/dpdk-testpmd \
    -l 0-3 -n 4 --socket-mem 350 --  --i --port-topology=chained
 
 .. _lm_bond_virtio_sriov_switch_conf:
doc/guides/howto/lm_virtio_vhost_user.rst +2 -2
index ecb7832906..330ff5a9c8 100644
@@ -421,7 +421,7 @@ setup_dpdk_virtio_in_vm.sh
    rmmod virtio-pci
 
    modprobe uio
-   insmod /root/dpdk/x86_64-default-linux-gcc/kmod/igb_uio.ko
+   insmod /root/dpdk/<build_dir>/kernel/linux/igb_uio/igb_uio.ko
 
    /root/dpdk/usertools/dpdk-devbind.py -b igb_uio 0000:00:03.0
    /root/dpdk/usertools/dpdk-devbind.py -b igb_uio 0000:00:04.0
@@ -437,5 +437,5 @@ run_testpmd_in_vm.sh
    # Run testpmd for use with vhost_user sample app.
    # test system has 8 cpus (0-7), use cpus 2-7 for VM
 
-   /root/dpdk/x86_64-default-linux-gcc/app/testpmd \
+   /root/dpdk/<build_dir>/app/dpdk-testpmd \
    -l 0-5 -n 4 --socket-mem 350 -- --burst=64 --i
doc/guides/howto/packet_capture_framework.rst +3 -18
index 946a21c8ed..d457989607 100644
@@ -52,11 +52,7 @@ Some things to note:
   initialization code. Refer to the ``app/test-pmd/testpmd.c`` code and look
   for ``pdump`` keyword to see how this is done.
 
-* The ``dpdk-pdump`` tool depends on the libpcap based PMD which is disabled
-  by default in the build configuration files, owing to an external dependency
-  on the libpcap development files. Once the libpcap development files are
-  installed, the libpcap based PMD can be enabled by setting
-  ``CONFIG_RTE_LIBRTE_PMD_PCAP=y`` and recompiling the DPDK.
+* The ``dpdk-pdump`` tool depends on the libpcap based PMD.
 
 
 Test Environment
@@ -73,17 +69,6 @@ for packet capturing on the DPDK port in
    Packet capturing on a DPDK port using the dpdk-pdump tool.
 
 
-Configuration
--------------
-
-Modify the DPDK primary application to initialize the packet capture framework
-as mentioned in the above notes and enable the following config options and
-build DPDK::
-
-     CONFIG_RTE_LIBRTE_PMD_PCAP=y
-     CONFIG_RTE_LIBRTE_PDUMP=y
-
-
 Running the Application
 -----------------------
 
@@ -93,11 +78,11 @@ inspect them using ``tcpdump``.
 
 #. Launch testpmd as the primary application::
 
-     sudo ./app/testpmd -c 0xf0 -n 4 -- -i --port-topology=chained
+     sudo ./<build_dir>/app/dpdk-testpmd -c 0xf0 -n 4 -- -i --port-topology=chained
 
 #. Launch the pdump tool as follows::
 
-     sudo ./build/app/dpdk-pdump -- \
+     sudo ./<build_dir>/app/dpdk-pdump -- \
           --pdump 'port=0,queue=*,rx-dev=/tmp/capture.pcap'
 
 #. Send traffic to dpdk_port0 from traffic generator.
doc/guides/howto/pvp_reference_benchmark.rst +6 -21
index 64b1f4d8ec..1d4a4b0232 100644
@@ -99,14 +99,7 @@ Build Qemu:
 DPDK build
 ~~~~~~~~~~
 
-Build DPDK:
-
-   .. code-block:: console
-
-      git clone git://dpdk.org/dpdk
-      cd dpdk
-      export RTE_SDK=$PWD
-      make install T=x86_64-native-linux-gcc DESTDIR=install
+See :doc:`../linux_gsg/build_dpdk` for details.
 
 
 Testpmd launch
@@ -117,7 +110,7 @@ Testpmd launch
    .. code-block:: console
 
       modprobe vfio-pci
-      $RTE_SDK/install/sbin/dpdk-devbind -b vfio-pci 0000:11:00.0 0000:11:00.1
+      ./dpdk/usertools/dpdk-devbind -b vfio-pci 0000:11:00.0 0000:11:00.1
 
    .. Note::
 
@@ -129,7 +122,7 @@ Testpmd launch
 
    .. code-block:: console
 
-      $RTE_SDK/install/bin/testpmd -l 0,2,3,4,5 --socket-mem=1024 -n 4 \
+      ./dpdk/<build_dir>/app/dpdk-testpmd -l 0,2,3,4,5 --socket-mem=1024 -n 4 \
           --vdev 'net_vhost0,iface=/tmp/vhost-user1' \
           --vdev 'net_vhost1,iface=/tmp/vhost-user2' -- \
           --portmask=f -i --rxq=1 --txq=1 \
@@ -309,18 +302,10 @@ Guest tuning
         echo "obase=16;$(( 0x$(cat $i) & ~$clear_mask ))" | bc > $i
       done
 
-
 DPDK build
 ~~~~~~~~~~
 
-Build DPDK:
-
-   .. code-block:: console
-
-      git clone git://dpdk.org/dpdk
-      cd dpdk
-      export RTE_SDK=$PWD
-      make install T=x86_64-native-linux-gcc DESTDIR=install
+See :doc:`../linux_gsg/build_dpdk` for details.
 
 
 Testpmd launch
@@ -340,13 +325,13 @@ Bind the virtio-net devices to DPDK:
 
    .. code-block:: console
 
-      $RTE_SDK/usertools/dpdk-devbind.py -b vfio-pci 0000:00:10.0 0000:00:11.0
+      ./dpdk/usertools/dpdk-devbind.py -b vfio-pci 0000:00:10.0 0000:00:11.0
 
 Start testpmd:
 
    .. code-block:: console
 
-      $RTE_SDK/install/bin/testpmd -l 0,1,2 --socket-mem 1024 -n 4 \
+      ./dpdk/<build_dir>/app/dpdk-testpmd -l 0,1,2 --socket-mem 1024 -n 4 \
           --proc-type auto --file-prefix pg -- \
           --portmask=3 --forward-mode=macswap --port-topology=chained \
           --disable-rss -i --rxq=1 --txq=1 \
doc/guides/howto/vfd.rst +2 -2
index 0ec0a0478d..5a62e6ff5a 100644
@@ -83,7 +83,7 @@ The typical procedure to achieve this is as follows:
 
 #. Run a DPDK application on the PF in the host::
 
-      testpmd -l 0-7 -n 4 -- -i --txqflags=0
+      dpdk-testpmd -l 0-7 -n 4 -- -i --txqflags=0
 
 #. Bind the VF port to ``igb_uio`` in the VM::
 
@@ -91,7 +91,7 @@ The typical procedure to achieve this is as follows:
 
 #. Run a DPDK application on the VF in the VM::
 
-      testpmd -l 0-7 -n 4 -- -i --txqflags=0
+      dpdk-testpmd -l 0-7 -n 4 -- -i --txqflags=0
 
 
 Common functions of IXGBE and I40E
doc/guides/howto/virtio_user_for_container_networking.rst +1 -1
index 412b29664b..5eab360a1c 100644
@@ -64,7 +64,7 @@ some minor changes.
 	FROM ubuntu:latest
 	WORKDIR /usr/src/dpdk
 	COPY . /usr/src/dpdk
-	ENV PATH "$PATH:/usr/src/dpdk/x86_64-native-linux-gcc/app/"
+	ENV PATH "$PATH:/usr/src/dpdk/<build_dir>/app/"
 	EOT
 
 #. Build a Docker image.
Signature · 1 line
2.17.1
#93 lore raw

PATCH v2 27/37 doc: remove references to make in Linux gsg guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/linux_gsg/build_dpdk.rst           | 84 +++----------------
 doc/guides/linux_gsg/build_sample_apps.rst    | 69 +--------------
 .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 48 +----------
 doc/guides/linux_gsg/enable_func.rst          | 13 ++-
 doc/guides/linux_gsg/intro.rst                |  2 +-
 doc/guides/linux_gsg/linux_drivers.rst        | 18 ++--
 doc/guides/linux_gsg/sys_reqs.rst             | 16 +---
 7 files changed, 40 insertions(+), 210 deletions(-)
doc/guides/linux_gsg/build_dpdk.rst +12 -72
index c536e354ef..85d04520bf 100644
@@ -31,7 +31,7 @@ The DPDK is composed of several directories:
 
 *   examples: Source code of DPDK application examples
 
-*   config, buildtools, mk: Framework-related makefiles, scripts and configuration
+*   config, buildtools: Framework-related scripts and configuration
 
 Compiling and Installing DPDK System-wide
 -----------------------------------------
@@ -39,11 +39,6 @@ Compiling and Installing DPDK System-wide
 DPDK can be configured, built and installed on your system using the tools
 ``meson`` and ``ninja``.
 
-.. note::
-
-  The older makefile-based build system used in older DPDK releases is
-  still present and its use is described in section
-  `Installation of DPDK Target Environment using Make`_.
 
 DPDK Configuration
 ~~~~~~~~~~~~~~~~~~
@@ -81,6 +76,8 @@ and the last step causing the dynamic loader `ld.so` to update its cache to take
    distributions, `/usr/local/lib` and `/usr/local/lib64` should be added
    to a file in `/etc/ld.so.conf.d/` before running `ldconfig`.
 
+.. _adjusting_build_options:
+
 
 Adjusting Build Options
 ~~~~~~~~~~~~~~~~~~~~~~~
@@ -117,6 +114,9 @@ dependencies are met on the current system are built.
 When `-Dexamples=all` is set as a meson option, meson will check each example application to see if it can be built,
 and add all which can be built to the list of tasks in the ninja build configuration file.
 
+.. _building_app_using_installed_dpdk:
+
+
 Building Applications Using Installed DPDK
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -140,11 +140,12 @@ and the sources for that build are stored in ``$(SRCS-y)``.
 
 .. note::
 
-   Unlike with the older make build system, the meson system is not
-   designed to be used directly from a build directory. Instead it is
-   recommended that it be installed either system-wide or to a known
-   location in the user's home directory. The install location can be set
-   using the `--prefix` meson option (default: `/usr/local`).
+   Unlike with the make build system present used in older DPDK releases,
+   the meson system is not designed to be used directly from a build
+   directory. Instead it is recommended that it be installed either
+   system-wide or to a known location in the user's home directory.
+   The install location can be set using the `--prefix` meson option
+   (default: `/usr/local`).
 
 an equivalent build recipe for a simple DPDK application using meson as a
 build system is shown below:
@@ -156,64 +157,3 @@ build system is shown below:
    dpdk = dependency('libdpdk')
    sources = files('main.c')
    executable('dpdk-app', sources, dependencies: dpdk)
-
-
-Installation of DPDK Target Environment using Make
---------------------------------------------------
-
-.. note::
-
-   The building of DPDK using make will be deprecated in a future release. It
-   is therefore recommended that DPDK installation is done using meson and
-   ninja as described above.
-
-Get a native target environment automatically::
-
-   make defconfig O=mybuild
-
-.. note::
-
-    Within the configuration files, the ``RTE_MACHINE`` configuration value is set to native,
-    which means that the compiled software is tuned for the platform on which it is built.
-
-Or get a specific target environment::
-
-   make config T=x86_64-native-linux-gcc O=mybuild
-
-The format of a DPDK target is "ARCH-MACHINE-EXECENV-TOOLCHAIN".
-Available targets can be found with::
-
-   make help
-
-Customize the target configuration in the generated ``.config`` file.
-Example for enabling the pcap PMD::
-
-   sed -ri 's,(PMD_PCAP=).*,\1y,' mybuild/.config
-
-Compile the target::
-
-   make -j4 O=mybuild
-
-.. warning::
-
-    Any kernel modules to be used, e.g. ``igb_uio``, ``kni``, must be compiled with the
-    same kernel as the one running on the target.
-    If the DPDK is not being built on the target machine,
-    the ``RTE_KERNELDIR`` environment variable should be used to point the compilation at a copy of the kernel version to be used on the target machine.
-
-Install the target in a separate directory::
-
-   make install O=mybuild DESTDIR=myinstall prefix=
-
-The environment is ready to build a DPDK application::
-
-   RTE_SDK=$(pwd)/myinstall/share/dpdk RTE_TARGET=x86_64-native-linux-gcc make -C myapp
-
-In addition, the make clean command can be used to remove any existing compiled files for a subsequent full, clean rebuild of the code.
-
-Browsing the Installed DPDK Environment Target
-----------------------------------------------
-
-Once a target is created it contains all libraries, including poll-mode drivers, and header files for the DPDK environment that are required to build customer applications.
-In addition, the test applications are built under the app directory, which may be used for testing.
-A kmod  directory is also present that contains kernel modules which may be loaded if needed.
doc/guides/linux_gsg/build_sample_apps.rst +4 -65

93 lines not on this page · raw message

doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +3 -45

63 lines not on this page · raw message

doc/guides/linux_gsg/enable_func.rst +5 -8
index b2bda80bb7..08f55d8543 100644
@@ -41,7 +41,9 @@ Enabling HPET in the DPDK
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 By default, HPET support is disabled in the DPDK build configuration files.
-To use HPET, the ``CONFIG_RTE_LIBEAL_USE_HPET`` setting should be changed to ``y``, which will enable the HPET settings at compile time.
+To use HPET, use the following meson build option which will enable the HPET settings at compile time::
+
+   meson configure -Duse_hpet=true
 
 For an application to use the ``rte_get_hpet_cycles()`` and ``rte_get_hpet_hz()`` API calls,
 and optionally to make the HPET the default time source for the rte_timer library,
@@ -128,13 +130,8 @@ Loading the DPDK KNI Kernel Module
 ----------------------------------
 
 To run the DPDK Kernel NIC Interface (KNI) sample application, an extra kernel module (the kni module) must be loaded into the running kernel.
-The module is found in the kmod sub-directory of the DPDK target directory.
-Similar to the loading of the ``igb_uio`` module, this module should be loaded using the insmod command as shown below
-(assuming that the current directory is the DPDK target directory):
-
-.. code-block:: console
-
-   insmod kmod/rte_kni.ko
+The module is found in the kernel/linux sub-directory of the DPDK build directory.
+This can be enabled in the same way as the ``igb_uio`` module, please see :ref:`load_uio` for details.
 
 .. note::
 
doc/guides/linux_gsg/intro.rst +1 -1
index 94877f4ae2..890169e97f 100644
@@ -23,7 +23,7 @@ The following is a list of DPDK documents in the suggested reading order:
 
     *   The software architecture and how to use it (through examples), specifically in a Linux application (linux) environment
 
-    *   The content of the DPDK, the build system (including the commands that can be used in the root DPDK Makefile to build the development kit and
+    *   The content of the DPDK, the build system (including the commands that can be used to build the development kit and
         an application) and guidelines for porting an application
 
     *   Optimizations used in the software and those that should be considered for new development
doc/guides/linux_gsg/linux_drivers.rst +11 -7
index 185074013a..349be1c906 100644
@@ -12,6 +12,9 @@ Different PMDs may require different kernel drivers in order to work properly.
 Depends on the PMD being used, a corresponding kernel driver should be load
 and bind to the network ports.
 
+.. _load_uio:
+
+
 UIO
 ---
 
@@ -28,19 +31,20 @@ can provide the uio capability. This module can be loaded using the command:
     ``uio_pci_generic`` module doesn't support the creation of virtual functions.
 
 As an alternative to the ``uio_pci_generic``, the DPDK also includes the igb_uio
-module which can be found in the kmod subdirectory referred to above. It can
+module which can be found in the kernel/linux subdirectory referred to above. It can
 be loaded as shown below:
 
 .. code-block:: console
 
     sudo modprobe uio
-    sudo insmod kmod/igb_uio.ko
+    sudo insmod <build_dir>/kernel/linux/igb_uio/igb_uio.ko
 
 .. note::
 
-   ``igb_uio`` module is disabled by default starting from ``DPDK v20.02``.
-   To build it, the config option ``CONFIG_RTE_EAL_IGB_UIO`` should be enabled.
-   It is planned to move ``igb_uio`` module to a different git repository.
+   Building DPDK Linux kernel modules is disabled by default starting from DPDK v20.02.
+   To enable them again, the config option "enable_kmods" needs to be set in the meson
+   build configuration. See :ref:`adjusting_build_options` for details on how to set/clear
+   build options. It is planned to move ``igb_uio`` module to a different git repository.
 
 .. note::
 
@@ -104,11 +108,11 @@ parameter ``--vfio-vf-token``.
     3. echo 2 > /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs
 
     4. Start the PF:
-        ./x86_64-native-linux-gcc/app/testpmd -l 22-25 -n 4 -w 86:00.0 \
+        ./<build_dir>/app/dpdk-testpmd -l 22-25 -n 4 -w 86:00.0 \
          --vfio-vf-token=14d63f20-8445-11ea-8900-1f9ce7d5650d --file-prefix=pf -- -i
 
     5. Start the VF:
-        ./x86_64-native-linux-gcc/app/testpmd -l 26-29 -n 4 -w 86:02.0 \
+        ./<build_dir>/app/dpdk-testpmd -l 26-29 -n 4 -w 86:02.0 \
          --vfio-vf-token=14d63f20-8445-11ea-8900-1f9ce7d5650d --file-prefix=vf0 -- -i
 
 Also, to use VFIO, both kernel and BIOS must support and be configured to use IO virtualization (such as Intel® VT-d).
doc/guides/linux_gsg/sys_reqs.rst +4 -12
index a124656bcb..625fb58066 100644
@@ -37,17 +37,13 @@ Compilation of the DPDK
     The setup commands and installed packages needed on various systems may be different.
     For details on Linux distributions and the versions tested, please consult the DPDK Release Notes.
 
-*   General development tools including ``make``, and a supported C compiler such as ``gcc`` (version 4.9+) or ``clang`` (version 3.4+).
+*   General development tools including a supported C compiler such as gcc (version 4.9+) or clang (version 3.4+).
 
     * For RHEL/Fedora systems these can be installed using ``dnf groupinstall "Development Tools"``
 
     * For Ubuntu/Debian systems these can be installed using ``apt install build-essential``
 
-*   Python, recommended version 3.5+.
-
-    * Python v3.5+ is needed to build DPDK using meson and ninja
-
-    * Python 2.7+ or 3.2+, to use various helper scripts included in the DPDK package.
+*   Python, v3.5 or later.
 
 *   Meson (version 0.47.1+) and ninja
 
@@ -82,12 +78,8 @@ Compilation of the DPDK
 **Additional Libraries**
 
 A number of DPDK components, such as libraries and poll-mode drivers (PMDs) have additional dependencies.
-For DPDK builds using meson, the presence or absence of these dependencies will be
-automatically detected enabling or disabling the relevant components appropriately.
-
-For builds using make, these components are disabled in the default configuration and
-need to be enabled manually by changing the relevant setting to "y" in the build configuration file
-i.e. the ``.config`` file in the build folder.
+For DPDK builds, the presence or absence of these dependencies will be automatically detected
+enabling or disabling the relevant components appropriately.
 
 In each case, the relevant library development package (``-devel`` or ``-dev``) is needed to build the DPDK components.
 
Signature · 1 line
2.17.1
#94 lore raw

PATCH v2 28/37 doc: remove references to make in mempool guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/mempool/octeontx.rst  | 28 +++-------------------------
 doc/guides/mempool/octeontx2.rst | 10 +---------
 2 files changed, 4 insertions(+), 34 deletions(-)
doc/guides/mempool/octeontx.rst +3 -25
index dfa1993e19..33c40d5b17 100644
@@ -30,33 +30,11 @@ Prerequisites
 
 See :doc: `../platform/octeontx.rst` for setup information.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS`` ( set to ``octeontx_fpavf``)
-
-  Set default mempool ops to octeontx_fpavf.
-
-- ``CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL`` (default ``y``)
-
-  Toggle compilation of the ``librte_mempool_octeontx`` driver.
 
 Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the OCTEON TX FPAVF MEMPOOL PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
+------------------
 
-   cd <DPDK-source-directory>
-   make config T=arm64-thunderx-linux-gcc
+See :doc:`../linux_gsg/build_dpdk` for more information on compiling DPDK.
 
 
 Initialization
@@ -70,5 +48,5 @@ Example:
 
 .. code-block:: console
 
-    ./build/app/test -c 0xf --base-virtaddr=0x100000000000 \
+    ./<build_dir>/app/test/dpdk-test -c 0xf --base-virtaddr=0x100000000000 \
                         --mbuf-pool-ops-name="octeontx_fpavf"
doc/guides/mempool/octeontx2.rst +1 -9
index 49b45a04e8..53f09a52db 100644
@@ -29,14 +29,6 @@ Prerequisites and Compilation procedure
 Pre-Installation Configuration
 ------------------------------
 
-Compile time Config Options
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-The following option can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL`` (default ``y``)
-
-  Toggle compilation of the ``librte_mempool_octeontx2`` driver.
 
 Runtime Config Options
 ~~~~~~~~~~~~~~~~~~~~~~
@@ -97,4 +89,4 @@ Standalone mempool device
 
    Example command to run ``mempool_autotest`` test with standalone OCTEONTX2 NPA device::
 
-     echo "mempool_autotest" | build/app/test -c 0xf0 --mbuf-pool-ops-name="octeontx2_npa"
+     echo "mempool_autotest" | <build_dir>/app/test/dpdk-test -c 0xf0 --mbuf-pool-ops-name="octeontx2_npa"
Signature · 1 line
2.17.1
#95 lore raw

PATCH v2 29/37 doc: remove references to make in NIC guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/nics/ark.rst            | 26 -------------
 doc/guides/nics/atlantic.rst       |  4 --
 doc/guides/nics/axgbe.rst          | 15 --------
 doc/guides/nics/bnx2x.rst          | 27 -------------
 doc/guides/nics/bnxt.rst           |  5 +--
 doc/guides/nics/build_and_test.rst |  8 +++-
 doc/guides/nics/cxgbe.rst          | 36 +++++------------
 doc/guides/nics/dpaa.rst           | 27 +------------
 doc/guides/nics/dpaa2.rst          | 26 +------------
 doc/guides/nics/ena.rst            | 16 --------
 doc/guides/nics/enetc.rst          |  2 -
 doc/guides/nics/enic.rst           |  9 -----
 doc/guides/nics/fail_safe.rst      | 20 ++--------
 doc/guides/nics/features.rst       |  9 -----
 doc/guides/nics/fm10k.rst          |  4 --
 doc/guides/nics/hinic.rst          |  9 -----
 doc/guides/nics/hns3.rst           | 10 -----
 doc/guides/nics/i40e.rst           | 44 ++++++---------------
 doc/guides/nics/ice.rst            | 25 ++----------
 doc/guides/nics/igc.rst            | 18 +--------
 doc/guides/nics/intel_vf.rst       | 13 +------
 doc/guides/nics/ionic.rst          |  8 ----
 doc/guides/nics/ipn3ke.rst         | 12 +-----
 doc/guides/nics/kni.rst            |  4 +-
 doc/guides/nics/liquidio.rst       | 27 -------------
 doc/guides/nics/memif.rst          | 10 ++---
 doc/guides/nics/mlx4.rst           | 55 ++------------------------
 doc/guides/nics/mlx5.rst           | 62 ++----------------------------
 doc/guides/nics/mvneta.rst         | 36 ++++-------------
 doc/guides/nics/mvpp2.rst          | 43 ++++-----------------
 doc/guides/nics/nfb.rst            | 19 +--------
 doc/guides/nics/nfp.rst            |  4 --
 doc/guides/nics/null.rst           |  6 +--
 doc/guides/nics/octeontx.rst       | 19 +--------
 doc/guides/nics/octeontx2.rst      | 13 +------
 doc/guides/nics/pcap_ring.rst      | 24 ++++++------
 doc/guides/nics/qede.rst           | 17 +-------
 doc/guides/nics/sfc_efx.rst        | 15 --------
 doc/guides/nics/softnic.rst        | 13 +------
 doc/guides/nics/szedata2.rst       | 18 +--------
 doc/guides/nics/thunderx.rst       | 25 +-----------
 doc/guides/nics/vdev_netvsc.rst    |  6 ---
 doc/guides/nics/vhost.rst          |  2 +-
 doc/guides/nics/virtio.rst         |  4 +-
 44 files changed, 102 insertions(+), 693 deletions(-)
doc/guides/nics/ark.rst +0 -26
index 06e8c33746..d7d679b452 100644
@@ -119,32 +119,6 @@ Data Path Interface
 Ingress RX and Egress TX operation is by the nominal DPDK API .
 The driver supports single-port, multi-queue for both RX and TX.
 
-Configuration Information
--------------------------
-
-**DPDK Configuration Parameters**
-
-  The following configuration options are available for the ARK PMD:
-
-   * **CONFIG_RTE_LIBRTE_ARK_PMD** (default y): Enables or disables inclusion
-     of the ARK PMD driver in the DPDK compilation.
-
-   * **CONFIG_RTE_LIBRTE_ARK_PAD_TX** (default y):  When enabled TX
-     packets are padded to 60 bytes to support downstream MACS.
-
-   * **CONFIG_RTE_LIBRTE_ARK_DEBUG_RX** (default n): Enables or disables debug
-     logging and internal checking of RX ingress logic within the ARK PMD driver.
-
-   * **CONFIG_RTE_LIBRTE_ARK_DEBUG_TX** (default n): Enables or disables debug
-     logging and internal checking of TX egress logic within the ARK PMD driver.
-
-   * **CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS** (default n): Enables or disables debug
-     logging of detailed packet and performance statistics gathered in
-     the PMD and FPGA.
-
-   * **CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE** (default n): Enables or disables debug
-     logging of detailed PMD events and status.
-
 
 Building DPDK
 -------------
doc/guides/nics/atlantic.rst +0 -4
index 3f3f2949f3..605f6dc3ab 100644
@@ -26,10 +26,6 @@ Experimental API features
 
 - MACSEC PMD API is considered as experimental and is subject to change/removal in next DPDK releases.
 
-Configuration Information
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-- ``CONFIG_RTE_LIBRTE_ATLANTIC_PMD`` (default ``y``)
 
 Application Programming Interface
 ---------------------------------
doc/guides/nics/axgbe.rst +0 -15
index 9b270a4226..10bf86fa54 100644
@@ -27,21 +27,6 @@ AXGBE PMD has support for:
 - Jumbo Frame up to 9K
 
 
-Configuration Information
--------------------------
-
-The following options can be modified in the ``.config`` file. Please note that
-enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_AXGBE_PMD`` (default **y**)
-
-  Toggle compilation of axgbe PMD.
-
-- ``CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG`` (default **n**)
-
-  Toggle display for PMD debug related messages.
-
-
 Building DPDK
 -------------
 
doc/guides/nics/bnx2x.rst +0 -27
index ab90d8ae5e..3c163df7a8 100644
@@ -72,33 +72,6 @@ Prerequisites
   `linux-firmware git repository <https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/bnx2x/bnx2x-e2-7.13.11.0.fw>`_
   to get the required firmware.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``.config`` file. Please note that
-enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_BNX2X_PMD`` (default **n**)
-
-  Toggle compilation of bnx2x driver. To use bnx2x PMD set this config parameter
-  to 'y'. Also, in order for firmware binary to load user will need zlib devel
-  package installed.
-
-- ``CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX`` (default **n**)
-
-  Toggle display of transmit fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX`` (default **n**)
-
-  Toggle display of receive fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC`` (default **n**)
-
-  Toggle display of register reads and writes.
-
 
 .. _bnx2x_driver-compilation:
 
doc/guides/nics/bnxt.rst +1 -4
index 129a16cfc7..4b172fdaac 100644
@@ -565,9 +565,6 @@ The BNXT PMD supports a PTP client application to communicate with a PTP master
 clock using DPDK IEEE1588 APIs. Note that the PTP client application needs to
 run on PF and vector mode needs to be disabled.
 
-For the PTP time synchronization support, the BNXT PMD must be compiled with
-``CONFIG_RTE_LIBRTE_IEEE1588=y`` (this compilation flag is currently pending).
-
 .. code-block:: console
 
     testpmd> set fwd ieee1588 // enable IEEE 1588 mode
@@ -612,7 +609,7 @@ Basic stats include:
 * oerrors
 
 By default, per-queue stats for 16 queues are supported. For more than 16
-queues, BNXT PMD should be compiled with ``CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS``
+queues, BNXT PMD should be compiled with ``RTE_ETHDEV_QUEUE_STAT_CNTRS``
 set to the desired number of queues.
 
 Extended Stats
doc/guides/nics/build_and_test.rst +6 -2
index 3138c0f880..03ce358553 100644
@@ -66,10 +66,14 @@ This section demonstrates how to setup and run ``testpmd`` in Linux.
 
 #. Load ``igb_uio`` or ``vfio-pci`` driver:
 
+   Before compiling, make sure to enable kmods for the meson build::
+
+      meson configure -Denable_kmods=true
+
    .. code-block:: console
 
       modprobe uio
-      insmod ./x86_64-native-linux-gcc/kmod/igb_uio.ko
+      insmod ./<build_dir>/kernel/linux/igb_uio/igb_uio.ko
 
    or
 
@@ -106,7 +110,7 @@ This section demonstrates how to setup and run ``testpmd`` in Linux.
 
    .. code-block:: console
 
-      ./x86_64-native-linux-gcc/app/testpmd -l 0-3 -n 4 -- -i
+      ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -- -i
 
    Successful execution will show initialization messages from EAL, PMD and
    testpmd application. A prompt will be displayed at the end for user commands
doc/guides/nics/cxgbe.rst +10 -26
index 54a4c13899..442ab1511c 100644
@@ -87,35 +87,19 @@ Prerequisites
   :ref:`linux-installation` for Linux and section :ref:`freebsd-installation`
   for FreeBSD.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``.config`` file. Please note that
-enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_CXGBE_PMD`` (default **y**)
-
-  Toggle compilation of librte_pmd_cxgbe driver.
-
-  .. note::
-
-     This controls compilation of both CXGBE and CXGBEVF PMD.
 
 Runtime Options
-~~~~~~~~~~~~~~~
+---------------
 
 The following ``devargs`` options can be enabled at runtime. They must
 be passed as part of EAL arguments. For example,
 
 .. code-block:: console
 
-   testpmd -w 02:00.4,keep_ovlan=1 -- -i
+   dpdk-testpmd -w 02:00.4,keep_ovlan=1 -- -i
 
 Common Runtime Options
-^^^^^^^^^^^^^^^^^^^^^^
+~~~~~~~~~~~~~~~~~~~~~~
 
 - ``keep_ovlan`` (default **0**)
 
@@ -133,7 +117,7 @@ Common Runtime Options
   coalesce limit has been reached.
 
 CXGBE VF Only Runtime Options
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 - ``force_link_up`` (default **0**)
 
@@ -142,7 +126,7 @@ CXGBE VF Only Runtime Options
   to send traffic to each other even when the physical link is down.
 
 CXGBE PF Only Runtime Options
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 - ``filtermode`` (default **0**)
 
@@ -317,7 +301,7 @@ CXGBE PF Only Runtime Options
 
   .. code-block:: console
 
-     testpmd -w 02:00.4,filtermode=0x88 -- -i
+     dpdk-testpmd -w 02:00.4,filtermode=0x88 -- -i
 
 - ``filtermask`` (default **0**)
 
@@ -344,7 +328,7 @@ CXGBE PF Only Runtime Options
 
   .. code-block:: console
 
-     testpmd -w 02:00.4,filtermode=0x88,filtermask=0x80 -- -i
+     dpdk-testpmd -w 02:00.4,filtermode=0x88,filtermask=0x80 -- -i
 
 .. _driver-compilation:
 
@@ -689,7 +673,7 @@ devices managed by librte_pmd_cxgbe in FreeBSD operating system.
 
    .. code-block:: console
 
-      cp x86_64-native-freebsd-clang/kmod/contigmem.ko /boot/kernel/
+      cp <build_dir>/kernel/freebsd/contigmem.ko /boot/kernel/
 
 #. Add the following lines to /boot/loader.conf:
 
@@ -770,13 +754,13 @@ devices managed by librte_pmd_cxgbe in FreeBSD operating system.
 
    .. code-block:: console
 
-      kldload ./x86_64-native-freebsd-clang/kmod/nic_uio.ko
+      kldload <build_dir>/kernel/freebsd/nic_uio.ko
 
 #. Start testpmd with basic parameters:
 
    .. code-block:: console
 
-      ./x86_64-native-freebsd-clang/app/testpmd -l 0-3 -n 4 -w 0000:02:00.4 -- -i
+      ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -w 0000:02:00.4 -- -i
 
    Example output:
 
doc/guides/nics/dpaa.rst +1 -26
index 17839a920e..eba8bfe600 100644
@@ -195,31 +195,6 @@ See :doc:`../platform/dpaa` for setup information
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_DPAA_BUS`` (default ``y``)
-
-  Toggle compilation of the ``librte_bus_dpaa`` driver.
-
-- ``CONFIG_RTE_LIBRTE_DPAA_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_dpaa`` driver.
-
-- ``CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER`` (default ``n``)
-
-  Toggles display of bus configurations and enables a debugging queue
-  to fetch error (Rx/Tx) packets to driver. By default, packets with errors
-  (like wrong checksum) are dropped by the hardware.
-
-- ``CONFIG_RTE_LIBRTE_DPAA_HWDEBUG`` (default ``n``)
-
-  Enables debugging of the Queue and Buffer Manager layer which interacts
-  with the DPAA hardware.
-
 
 Environment Variables
 ~~~~~~~~~~~~~~~~~~~~~
@@ -264,7 +239,7 @@ for details.
 
    .. code-block:: console
 
-      ./arm64-dpaa-linux-gcc/testpmd -c 0xff -n 1 \
+      ./<build_dir>/app/dpdk-testpmd -c 0xff -n 1 \
         -- -i --portmask=0x3 --nb-cores=1 --no-flush-rx
 
       .....
doc/guides/nics/dpaa2.rst +1 -25
index fdfa6fdd5a..b64bc6311b 100644
@@ -432,30 +432,6 @@ Currently supported by DPDK:
    Some part of fslmc bus code (mc flib - object library) routines are
    dual licensed (BSD & GPLv2), however they are used as BSD in DPDK in userspace.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_FSLMC_BUS`` (default ``y``)
-
-  Toggle compilation of the ``librte_bus_fslmc`` driver.
-
-- ``CONFIG_RTE_LIBRTE_DPAA2_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_dpaa2`` driver.
-
-- ``CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER`` (default ``n``)
-
-  Toggle display of debugging messages/logic
-
-- ``CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA`` (default ``n``)
-
-  Toggle to use physical address vs virtual address for hardware accelerators.
 
 Driver compilation and testing
 ------------------------------
@@ -473,7 +449,7 @@ for details.
 
    .. code-block:: console
 
-      ./testpmd -c 0xff -n 1 -- -i --portmask=0x3 --nb-cores=1 --no-flush-rx
+      ./dpdk-testpmd -c 0xff -n 1 -- -i --portmask=0x3 --nb-cores=1 --no-flush-rx
 
       .....
       EAL: Registered [pci] bus.
doc/guides/nics/ena.rst +0 -16
index bec97c3326..4bdc3182fc 100644
@@ -79,22 +79,6 @@ The driver supports multi-queue for both Tx and Rx.
 Configuration information
 -------------------------
 
-**DPDK Configuration Parameters**
-
-  The following configuration options are available for the ENA PMD:
-
-   * **CONFIG_RTE_LIBRTE_ENA_PMD** (default y): Enables or disables inclusion
-     of the ENA PMD driver in the DPDK compilation.
-
-   * **CONFIG_RTE_LIBRTE_ENA_DEBUG_RX** (default n): Enables or disables debug
-     logging of RX logic within the ENA PMD driver.
-
-   * **CONFIG_RTE_LIBRTE_ENA_DEBUG_TX** (default n): Enables or disables debug
-     logging of TX logic within the ENA PMD driver.
-
-   * **CONFIG_RTE_LIBRTE_ENA_COM_DEBUG** (default n): Enables or disables debug
-     logging of low level tx/rx logic in ena_com(base) within the ENA PMD driver.
-
 **Runtime Configuration Parameters**
 
    * **large_llq_hdr** (default 0)
doc/guides/nics/enetc.rst +0 -2
index 3c896eeffa..6203f4d799 100644
@@ -113,5 +113,3 @@ Driver compilation and testing
 Follow instructions available in the document
 :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
 to launch **testpmd**
-
-To compile in performance mode, please set ``CONFIG_RTE_CACHE_LINE_SIZE=64``
doc/guides/nics/enic.rst +0 -9
index a28a7f4e47..be6a034279 100644
@@ -20,13 +20,6 @@ should be downloaded from https://core.dpdk.org/download/
 Configuration information
 -------------------------
 
-- **DPDK Configuration Parameters**
-
-  The following configuration options are available for the ENIC PMD:
-
-  - **CONFIG_RTE_LIBRTE_ENIC_PMD** (default y): Enables or disables inclusion
-    of the ENIC PMD driver in the DPDK compilation.
-
 - **vNIC Configuration Parameters**
 
   - **Number of Queues**
@@ -583,8 +576,6 @@ The value depends on the memory configuration of the application, DPDK and
 PMD.  Typically, the limit has to be raised to higher than 2GB.
 e.g., 2621440
 
-The compilation of any unused drivers can be disabled using the
-configuration file in config/ directory (e.g., config/common_linux).
 This would help in bringing down the time taken for building the
 libraries and the initialization time of the application.
 
doc/guides/nics/fail_safe.rst +4 -16
index b4a92f663b..b7bc5a566b 100644
@@ -14,10 +14,6 @@ Additionally to the Seamless Hotplug feature, the Fail-safe PMD offers the
 ability to redirect operations to a secondary device when the primary has been
 removed from the system.
 
-.. note::
-
-   The library is enabled by default. You can enable it or disable it manually
-   by setting the ``CONFIG_RTE_LIBRTE_PMD_FAILSAFE`` configuration option.
 
 Features
 --------
@@ -33,14 +29,6 @@ automatically by detecting capable devices and registering the relevant handler.
 
 Check the feature matrix for the complete set of supported features.
 
-Compilation option
-------------------
-
-Available options within the ``$RTE_TARGET/build/.config`` file:
-
-- ``CONFIG_RTE_LIBRTE_PMD_FAILSAFE`` (default **y**)
-
-  This option enables or disables compiling librte_pmd_failsafe.
 
 Using the Fail-safe PMD from the EAL command line
 -------------------------------------------------
@@ -128,7 +116,7 @@ This section shows some example of using **testpmd** with a fail-safe PMD.
 
    .. code-block:: console
 
-      $RTE_TARGET/build/app/testpmd -c 0xff -n 4 \
+      ./<build_dir>/app/dpdk-testpmd -c 0xff -n 4 \
          --vdev 'net_failsafe0,mac=de:ad:be:ef:01:02,dev(84:00.0),dev(net_ring0)' \
          -b 84:00.0 -b 00:04.0 -- -i
 
@@ -142,7 +130,7 @@ This section shows some example of using **testpmd** with a fail-safe PMD.
 
    .. code-block:: console
 
-      $RTE_TARGET/build/app/testpmd -c 0xff -n 4 \
+      ./<build_dir>/app/dpdk-testpmd -c 0xff -n 4 \
          --vdev 'net_failsafe0,mac=de:ad:be:ef:01:02,dev(84:00.0),dev(net_ring0)' \
          -w 81:00.0 -- -i
 
@@ -150,7 +138,7 @@ This section shows some example of using **testpmd** with a fail-safe PMD.
 
    .. code-block:: console
 
-      $RTE_TARGET/build/app/testpmd -c 0xff -n 4 -w ff:ff.f \
+      ./<build_dir>/app/dpdk-testpmd -c 0xff -n 4 -w ff:ff.f \
          --vdev='net_failsafe0,exec(echo 84:00.0)' -- -i
 
 #. Start testpmd, automatically probing the device 84:00.0 and using it with
@@ -158,7 +146,7 @@ This section shows some example of using **testpmd** with a fail-safe PMD.
  
    .. code-block:: console
  
-      $RTE_TARGET/build/app/testpmd -c 0xff -n 4 \
+      ./<build_dir>/app/dpdk-testpmd -c 0xff -n 4 \
          --vdev 'net_failsafe0,dev(0000:84:00.0),dev(net_ring0)' -- -i
 
 
doc/guides/nics/features.rst +0 -9
index edd21c4d8e..6172a0fa4b 100644
@@ -812,8 +812,6 @@ ARMv7
 
 Support armv7 architecture.
 
-Use ``defconfig_arm-armv7a-*-*``.
-
 
 .. _nic_features_armv8:
 
@@ -822,8 +820,6 @@ ARMv8
 
 Support armv8a (64bit) architecture.
 
-Use ``defconfig_arm64-armv8a-*-*``
-
 
 .. _nic_features_power8:
 
@@ -832,7 +828,6 @@ Power8
 
 Support PowerPC architecture.
 
-Use ``defconfig_ppc_64-power8-*-*``
 
 .. _nic_features_x86-32:
 
@@ -841,8 +836,6 @@ x86-32
 
 Support 32bits x86 architecture.
 
-Use ``defconfig_x86_x32-native-*-*`` and ``defconfig_i686-native-*-*``.
-
 
 .. _nic_features_x86-64:
 
@@ -851,8 +844,6 @@ x86-64
 
 Support 64bits x86 architecture.
 
-Use ``defconfig_x86_64-native-*-*``.
-
 
 .. _nic_features_usage_doc:
 
doc/guides/nics/fm10k.rst +0 -4
index 4e178c2cc6..0f7c91bbd1 100644
@@ -35,10 +35,6 @@ There is no change to the PMD API. The RX/TX handlers are the only two entries f
 vPMD packet I/O. They are transparently registered at runtime RX/TX execution
 if all required conditions are met.
 
-1.  To date, only an SSE version of FM10K vPMD is available.
-    To ensure that vPMD is in the binary code, set
-    ``CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y`` in the configure file.
-
 Some constraints apply as pre-conditions for specific optimizations on bulk
 packet transfers. The following sections explain RX and TX constraints in the
 vPMD.
doc/guides/nics/hinic.rst +0 -9
index f765060641..fe13c582e7 100644
@@ -46,15 +46,6 @@ Prerequisites
 
 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_HINIC_PMD`` (default ``y``)
 
 Driver compilation and testing
 ------------------------------
doc/guides/nics/hns3.rst +0 -10
index a62fcfdede..d96ad5d445 100644
@@ -44,16 +44,6 @@ Prerequisites
 
 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_HNS3_PMD`` (default ``y``)
 
 Driver compilation and testing
 ------------------------------
doc/guides/nics/i40e.rst +12 -32

84 lines not on this page · raw message

doc/guides/nics/ice.rst +4 -21
index 9a9f4a6bb0..9d3fcd1c9c 100644
@@ -23,23 +23,6 @@ Prerequisites
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_ICE_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_ice`` driver.
-
-- ``CONFIG_RTE_LIBRTE_ICE_DEBUG_*`` (default ``n``)
-
-  Toggle display of generic debugging messages.
-
-- ``CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC`` (default ``n``)
-
-  Toggle to use a 16-byte RX descriptor, by default the RX descriptor is 32 byte.
 
 Runtime Config Options
 ~~~~~~~~~~~~~~~~~~~~~~
@@ -106,14 +89,14 @@ Runtime Config Options
 
   .. code-block:: console
 
-    testpmd -w 18:00.0,proto_xtr='[(1,2-3,8-9):tcp,10-13:vlan]'
+    dpdk-testpmd -w 18:00.0,proto_xtr='[(1,2-3,8-9):tcp,10-13:vlan]'
 
   This setting means queues 1, 2-3, 8-9 are TCP extraction, queues 10-13 are
   VLAN extraction, other queues run with no protocol extraction.
 
   .. code-block:: console
 
-    testpmd -w 18:00.0,proto_xtr=vlan,proto_xtr='[(1,2-3,8-9):tcp,10-23:ipv6]'
+    dpdk-testpmd -w 18:00.0,proto_xtr=vlan,proto_xtr='[(1,2-3,8-9):tcp,10-23:ipv6]'
 
   This setting means queues 1, 2-3, 8-9 are TCP extraction, queues 10-23 are
   IPv6 extraction, other queues use the default VLAN extraction.
@@ -253,7 +236,7 @@ responses for the same from PF.
 
 #. Bind the VF0,  and run testpmd with 'cap=dcf' devarg::
 
-      testpmd -l 22-25 -n 4 -w 18:01.0,cap=dcf -- -i
+      dpdk-testpmd -l 22-25 -n 4 -w 18:01.0,cap=dcf -- -i
 
 #. Monitor the VF2 interface network traffic::
 
@@ -282,7 +265,7 @@ To start ``testpmd``, and add vlan 10 to port 0:
 
 .. code-block:: console
 
-    ./app/testpmd -l 0-15 -n 4 -- -i
+    ./app/dpdk-testpmd -l 0-15 -n 4 -- -i
     ...
 
     testpmd> rx_vlan add 10 0
doc/guides/nics/igc.rst +2 -16
index 4c5e626759..3b096236bf 100644
@@ -11,20 +11,6 @@ I225 Series Network Adapters.
   `https://ark.intel.com/content/www/us/en/ark/products/series/184686/
   intel-ethernet-controller-i225-series.html`
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_IGC_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_igc`` driver.
-
-- ``CONFIG_RTE_LIBRTE_IGC_DEBUG_*`` (default ``n``)
-
-  Toggle display of generic debugging messages.
-
 
 Driver compilation and testing
 ------------------------------
@@ -67,7 +53,7 @@ outer VLAN to 0x9100:
 
 .. code-block:: console
 
-   ./app/testpmd -l 4-8 -- -i
+   ./app/dpdk-testpmd -l 4-8 -- -i
    ...
 
    testpmd> vlan set filter on 0
@@ -94,7 +80,7 @@ Start ``testpmd``:
 
 .. code-block:: console
 
-   ./testpmd -l 4-8 -- i --rxq=4 --txq=4 --pkt-filter-mode=perfect --disable-rss
+   ./dpdk-testpmd -l 4-8 -- i --rxq=4 --txq=4 --pkt-filter-mode=perfect --disable-rss
 
 Add a rule to direct packet whose ``ether-type=0x801`` to queue 1:
 
doc/guides/nics/intel_vf.rst +2 -11
index ade5152595..723a9c0fa2 100644
@@ -124,7 +124,6 @@ Intel® X710/XL710 Gigabit Ethernet Controller VF Infrastructure
 
 In a virtualized environment, the programmer can enable a maximum of *128 Virtual Functions (VF)*
 globally per Intel® X710/XL710 Gigabit Ethernet Controller NIC device.
-The number of queue pairs of each VF can be configured by ``CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF`` in ``config`` file.
 The Physical Function in host could be either configured by the Linux* i40e driver
 (in the case of the Linux Kernel-based Virtual Machine [KVM]) or by DPDK PMD PF driver.
 When using both DPDK PMD PF/VF drivers, the whole NIC will be taken over by DPDK based application.
@@ -521,20 +520,12 @@ The setup procedure is as follows:
 
     .. code-block:: console
 
-        make install T=x86_64-native-linux-gcc
-        ./x86_64-native-linux-gcc/app/testpmd -l 0-3 -n 4 -- -i
+        ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -- -i
 
 #.  Finally, access the Guest OS using vncviewer with the localhost:5900 port and check the lspci command output in the Guest OS.
     The virtual functions will be listed as available for use.
 
-#.  Configure and install the DPDK with an x86_64-native-linux-gcc configuration on the Guest OS as normal,
-    that is, there is no change to the normal installation procedure.
-
-    .. code-block:: console
-
-        make config T=x86_64-native-linux-gcc O=x86_64-native-linux-gcc
-        cd x86_64-native-linux-gcc
-        make
+#.  Configure and install the DPDK on the Guest OS as normal, that is, there is no change to the normal installation procedure.
 
 .. note::
 
doc/guides/nics/ionic.rst +0 -8
index 787123df5d..fd32926bf4 100644
@@ -24,14 +24,6 @@ on the host, check for the PCI devices:
       b5:00.0 Ethernet controller: Device 1dd8:1002
       b6:00.0 Ethernet controller: Device 1dd8:1002
 
-Pre-Installation Configuration
-------------------------------
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_IONIC_PMD`` (default ``y``)
-
-  Toggle compilation of ionic PMD.
 
 Building DPDK
 -------------
doc/guides/nics/ipn3ke.rst +2 -10
index c6c1552f66..5d4534e4da 100644
@@ -31,14 +31,6 @@ Prerequisites
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_IPN3KE_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_ipn3ke`` driver.
 
 Runtime Config Options
 ~~~~~~~~~~~~~~~~~~~~~~
@@ -85,7 +77,7 @@ To start ``testpmd``, and add I40e PF to FPGA network port:
 
 .. code-block:: console
 
-    ./app/testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00.2|0000:b1:00.3|0000:b5:00.0|0000:b5:00.1|0000:b5:00.2|0000:b5:00.3}' -- -i --no-numa --port-topology=loop
+    ./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00.2|0000:b1:00.3|0000:b5:00.0|0000:b5:00.1|0000:b5:00.2|0000:b5:00.3}' -- -i --no-numa --port-topology=loop
 
 HQoS and flow acceleration
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -96,7 +88,7 @@ To start ``testpmd``, and add I40e PF to FPGA network port, enable FPGA HQoS and
 
 .. code-block:: console
 
-    ./app/testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow},i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00.2|0000:b1:00.3|0000:b5:00.0|0000:b5:00.1|0000:b5:00.2|0000:b5:00.3}' -- -i --no-numa --forward-mode=macswap
+    ./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow},i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00.2|0000:b1:00.3|0000:b5:00.0|0000:b5:00.1|0000:b5:00.2|0000:b5:00.3}' -- -i --no-numa --forward-mode=macswap
 
 Limitations or Known issues
 ---------------------------
doc/guides/nics/kni.rst +2 -2
index 90d3040cf5..80ba459d49 100644
@@ -97,13 +97,13 @@ It is possible to test PMD quickly using KNI kernel module loopback feature:
 
     .. code-block:: console
 
-        insmod build/kmod/rte_kni.ko lo_mode=lo_mode_fifo_skb
+        insmod <build_dir>/kernel/linux/kni/rte_kni.ko lo_mode=lo_mode_fifo_skb
 
 * Start testpmd with no physical device but two KNI virtual devices:
 
     .. code-block:: console
 
-        ./testpmd --vdev net_kni0 --vdev net_kni1 -- -i
+        ./dpdk-testpmd --vdev net_kni0 --vdev net_kni1 -- -i
 
     .. code-block:: console
 
doc/guides/nics/liquidio.rst +0 -27
index 0534146720..65c7d2d0b0 100644
@@ -20,33 +20,6 @@ Supported LiquidIO Adapters
 - LiquidIO II CN2360 210SVPT
 
 
-Pre-Installation Configuration
-------------------------------
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_LIO_PMD`` (default ``y``)
-
-  Toggle compilation of LiquidIO PMD.
-
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_RX`` (default ``n``)
-
-  Toggle display of receive fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_TX`` (default ``n``)
-
-  Toggle display of transmit fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX`` (default ``n``)
-
-  Toggle display of mailbox messages.
-
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS`` (default ``n``)
-
-  Toggle display of register reads and writes.
-
-
 SR-IOV: Prerequisites and Sample Application Notes
 --------------------------------------------------
 
doc/guides/nics/memif.rst +5 -5
index ddeebed25c..6c6227f979 100644
@@ -213,15 +213,15 @@ In this example we run two instances of testpmd application and transmit packets
 
 First create ``master`` interface::
 
-    #./build/app/testpmd -l 0-1 --proc-type=primary --file-prefix=pmd1 --vdev=net_memif,role=master -- -i
+    #./<build_dir>/app/dpdk-testpmd -l 0-1 --proc-type=primary --file-prefix=pmd1 --vdev=net_memif,role=master -- -i
 
 Now create ``slave`` interface (master must be already running so the slave will connect)::
 
-    #./build/app/testpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif -- -i
+    #./<build_dir>/app/dpdk-testpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif -- -i
 
 You can also enable ``zero-copy`` on ``slave`` interface::
 
-    #./build/app/testpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif,zero-copy=yes --single-file-segments -- -i
+    #./<build_dir>/app/dpdk-testpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif,zero-copy=yes --single-file-segments -- -i
 
 Start forwarding packets::
 
@@ -257,7 +257,7 @@ To see socket filename use show memif command::
 
 Now create memif interface by running testpmd with these command line options::
 
-    #./testpmd --vdev=net_memif,socket=/run/vpp/memif.sock -- -i
+    #./dpdk-testpmd --vdev=net_memif,socket=/run/vpp/memif.sock -- -i
 
 Testpmd should now create memif slave interface and try to connect to master.
 In testpmd set forward option to icmpecho and start forwarding::
@@ -280,7 +280,7 @@ The situation is analogous to cross connecting 2 ports of the NIC by cable.
 
 To set the loopback, just use the same socket and id with different roles::
 
-    #./testpmd --vdev=net_memif0,role=master,id=0 --vdev=net_memif1,role=slave,id=0 -- -i
+    #./dpdk-testpmd --vdev=net_memif0,role=master,id=0 --vdev=net_memif1,role=slave,id=0 -- -i
 
 Then start the communication::
 
doc/guides/nics/mlx4.rst +3 -52

79 lines not on this page · raw message

doc/guides/nics/mlx5.rst +3 -59

86 lines not on this page · raw message

doc/guides/nics/mvneta.rst +8 -28
index c8b00ddf22..e8abde42da 100644
@@ -13,12 +13,6 @@ Detailed information about SoCs that use PPv2 can be obtained here:
 
 * https://www.marvell.com/embedded-processors/armada-3700/
 
-.. Note::
-
-   Due to external dependencies, this driver is disabled by default. It must
-   be enabled manually by setting relevant configuration option manually.
-   Please refer to `Config File Options`_ section for further details.
-
 
 Features
 --------
@@ -81,20 +75,9 @@ Prerequisites
   Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup
   DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_MVNETA_PMD`` (default ``n``)
-
-    Toggle compilation of the librte_pmd_mvneta driver.
 
 Runtime options
-~~~~~~~~~~~~~~~
+---------------
 
 The following ``devargs`` options can be enabled at runtime. They must
 be passed as part of EAL arguments.
@@ -107,7 +90,7 @@ be passed as part of EAL arguments.
 
 .. code-block:: console
 
-   ./testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 \
+   ./dpdk-testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 \
     -c 3 -- -i --p 3 -a
 
 
@@ -126,16 +109,13 @@ Driver needs precompiled MUSDK library during compilation.
 MUSDK will be installed to `usr/local` under current directory.
 For the detailed build instructions please consult ``doc/musdk_get_started.txt``.
 
-Before the DPDK build process the environmental variable ``LIBMUSDK_PATH`` with
-the path to the MUSDK installation directory needs to be exported.
+The path to the MUSDK installation directory needs to set in meson, shown in the
+following command:
 
 .. code-block:: console
 
-   export LIBMUSDK_PATH=<musdk>/usr/local
-   export CROSS=aarch64-linux-gnu-
-   make config T=arm64-armv8a-linux-gcc
-   sed -ri 's,(MVNETA_PMD=)n,\1y,' build/.config
-   make
+   meson -Dlib_musdk_dir=/path/to/musdk build ninja -C build
+
 
 Usage Example
 -------------
@@ -160,7 +140,7 @@ In order to run testpmd example application following command can be used:
 
 .. code-block:: console
 
-   ./testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- \
+   ./dpdk-testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- \
      -i --p 3 -a --txd 256 --rxd 128 --rxq=1 --txq=1  --nb-cores=1
 
 
@@ -168,4 +148,4 @@ In order to run l2fwd example application following command can be used:
 
 .. code-block:: console
 
-   ./l2fwd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- -T 1 -p 3
+   ./dpdk-l2fwd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- -T 1 -p 3
doc/guides/nics/mvpp2.rst +8 -35

97 lines not on this page · raw message

doc/guides/nics/nfb.rst +2 -17
index 10f33a025e..ecea3ecff0 100644
@@ -16,13 +16,6 @@ and used technology
 (`Netcope Development Kit <http://www.netcope.com/en/products/fpga-development-kit>`_)
 can be found on the `Netcope Technologies website <http://www.netcope.com/>`_.
 
-.. note::
-
-   This driver has external dependencies.
-   Therefore it is disabled in default configuration files.
-   It can be enabled by setting ``CONFIG_RTE_LIBRTE_NFB_PMD=y``
-   and recompiling.
-
 .. note::
 
    Currently the driver is supported only on x86_64 architectures.
@@ -62,14 +55,6 @@ The minimum version of the provided packages:
 Configuration
 -------------
 
-These configuration options can be modified before compilation in the
-``.config`` file:
-
-*  ``CONFIG_RTE_LIBRTE_NFB_PMD`` default value: **n**
-
-   Value **y** enables compilation of nfb PMD.
-
-
 Timestamps
 
 The PMD supports hardware timestamps of frame receipt on physical network interface. In order to use
@@ -78,7 +63,7 @@ products) and the device argument `timestamp=1` must be used.
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -w b3:00.0,timestamp=1 <other EAL params> -- <testpmd params>
+    ./<build_dir>/app/dpdk-testpmd -w b3:00.0,timestamp=1 <other EAL params> -- <testpmd params>
 
 When the timestamps are enabled with the *devarg*, a timestamp validity flag is set in the MBUFs
 containing received frames and timestamp is inserted into the `rte_mbuf` struct.
@@ -133,7 +118,7 @@ transmit queue:
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 2 \
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 2 \
    -- --port-topology=chained --rxq=2 --txq=2 --nb-cores=2 -i -a
 
 Example output:
doc/guides/nics/nfp.rst +0 -4
index 5f2a0698f6..6aa58f4358 100644
@@ -49,10 +49,6 @@ compile it along with other DPDK PMDs even if no BSP was installed previously.
 Of course, a DPDK app will require such a BSP installed for using the
 NFP PMD, along with a specific NFP firmware application.
 
-Default PMD configuration is at the **common_linux configuration** file:
-
-- **CONFIG_RTE_LIBRTE_NFP_PMD=y**
-
 Once the DPDK is built all the DPDK apps and examples include support for
 the NFP PMD.
 
doc/guides/nics/null.rst +3 -3
index c68d0d6051..e75abd96d2 100644
@@ -14,7 +14,7 @@ Usage
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i
 
 
 Runtime Config Options
@@ -26,7 +26,7 @@ Runtime Config Options
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
 
 - ``size`` [optional, default=64 bytes]
 
@@ -35,7 +35,7 @@ Runtime Config Options
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
 
 - ``no-rx`` [optional, default disabled]
 
doc/guides/nics/octeontx.rst +1 -18
index c8655bf375..c01ae09bb3 100644
@@ -52,15 +52,6 @@ See :doc:`../platform/octeontx` for setup information.
 Pre-Installation Configuration
 ------------------------------
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_OCTEONTX_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_octeontx`` driver.
 
 Driver compilation and testing
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -68,14 +59,6 @@ Driver compilation and testing
 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
 for details.
 
-To compile the OCTEON TX PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-thunderx-linux-gcc install
-
 #. Running testpmd:
 
    Follow instructions available in the document
@@ -86,7 +69,7 @@ following ``make`` command:
 
    .. code-block:: console
 
-      ./arm64-thunderx-linux-gcc/app/testpmd -c 700 \
+      ./<build_dir>/app/dpdk-testpmd -c 700 \
                 --base-virtaddr=0x100000000000 \
                 --mbuf-pool-ops-name="octeontx_fpavf" \
                 --vdev='event_octeontx' \
doc/guides/nics/octeontx2.rst +1 -12
index bb591a8b7e..903b52b802 100644
@@ -46,14 +46,6 @@ Prerequisites
 
 See :doc:`../platform/octeontx2` for setup information.
 
-Compile time Config Options
----------------------------
-
-The following options may be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_OCTEONTX2_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_octeontx2`` driver.
 
 Driver compilation and testing
 ------------------------------
@@ -61,9 +53,6 @@ Driver compilation and testing
 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
 for details.
 
-To compile the OCTEON TX2 PMD for Linux arm64 gcc,
-use arm64-octeontx2-linux-gcc as target.
-
 #. Running testpmd:
 
    Follow instructions available in the document
@@ -74,7 +63,7 @@ use arm64-octeontx2-linux-gcc as target.
 
    .. code-block:: console
 
-      ./build/app/testpmd -c 0x300 -w 0002:02:00.0 -- --portmask=0x1 --nb-cores=1 --port-topology=loop --rxq=1 --txq=1
+      ./<build_dir>/app/dpdk-testpmd -c 0x300 -w 0002:02:00.0 -- --portmask=0x1 --nb-cores=1 --port-topology=loop --rxq=1 --txq=1
       EAL: Detected 24 lcore(s)
       EAL: Detected 1 NUMA nodes
       EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
doc/guides/nics/pcap_ring.rst +11 -13
index cf230ae40a..67bd23ea4a 100644
@@ -15,10 +15,8 @@ the DPDK also includes pure-software PMDs, two of these drivers are:
 
 .. note::
 
-    The libpcap -based PMD is disabled by default in the build configuration files,
-    owing to an external dependency on the libpcap development files which must be installed on the board.
-    Once the libpcap development files are installed,
-    the library can be enabled by setting CONFIG_RTE_LIBRTE_PMD_PCAP=y and recompiling the DPDK.
+    The libpcap -based PMD has an external dependency on the libpcap development files which must
+    be installed on the board.
 
 Using the Drivers from the EAL Command Line
 -------------------------------------------
@@ -42,7 +40,7 @@ Device name and stream options must be separated by commas as shown below:
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
        --vdev 'net_pcap0,stream_opt0=..,stream_opt1=..' \
        --vdev='net_pcap1,stream_opt0=..'
 
@@ -141,7 +139,7 @@ Read packets from one pcap file and write them to another:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_pcap=file_rx.pcap,tx_pcap=file_tx.pcap' \
         -- --port-topology=chained
 
@@ -149,7 +147,7 @@ Read packets from a network interface and write them to a pcap file:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_iface=eth0,tx_pcap=file_tx.pcap' \
         -- --port-topology=chained
 
@@ -157,7 +155,7 @@ Read packets from a pcap file and write them to a network interface:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_pcap=file_rx.pcap,tx_iface=eth1' \
         -- --port-topology=chained
 
@@ -165,14 +163,14 @@ Forward packets through two network interfaces:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,iface=eth0' --vdev='net_pcap1;iface=eth1'
 
 Enable 2 tx queues on a network interface:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_iface=eth1,tx_iface=eth1,tx_iface=eth1' \
         -- --txq 2
 
@@ -180,7 +178,7 @@ Read only incoming packets from a network interface and write them back to the s
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_iface_in=eth1,tx_iface=eth1'
 
 Using libpcap-based PMD with the testpmd Application
@@ -205,7 +203,7 @@ Otherwise, the first 512 packets from the input pcap file will be discarded by t
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 \
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 \
         --vdev 'net_pcap0,rx_pcap=file_rx.pcap,tx_pcap=file_tx.pcap' \
         -- --port-topology=chained --no-flush-rx
 
@@ -225,7 +223,7 @@ Multiple devices may be specified, separated by commas.
 
 .. code-block:: console
 
-    ./testpmd -l 1-3 -n 4 --vdev=net_ring0 --vdev=net_ring1 -- -i
+    ./dpdk-testpmd -l 1-3 -n 4 --vdev=net_ring0 --vdev=net_ring1 -- -i
     EAL: Detected lcore 1 as core 1 on socket 0
     ...
 
doc/guides/nics/qede.rst +2 -15
index 5b2f868952..6df0066dd4 100644
@@ -111,22 +111,9 @@ Performance note
 Config File Options
 ~~~~~~~~~~~~~~~~~~~
 
-The following options can be modified in the ``.config`` file. Please note that
-enabling debugging options may affect system performance.
+The following option can be modified in the ``config/rte_config.h`` file.
 
-- ``CONFIG_RTE_LIBRTE_QEDE_PMD`` (default **y**)
-
-  Toggle compilation of QEDE PMD driver.
-
-- ``CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX`` (default **n**)
-
-  Toggle display of transmit fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX`` (default **n**)
-
-  Toggle display of receive fast path run-time messages.
-
-- ``CONFIG_RTE_LIBRTE_QEDE_FW`` (default **""**)
+- ``RTE_LIBRTE_QEDE_FW`` (default **""**)
 
   Gives absolute path of firmware file.
   ``Eg: "/lib/firmware/qed/qed_init_values-8.40.33.0.bin"``
doc/guides/nics/sfc_efx.rst +0 -15
index be1c2fe1d6..6ee5190f3c 100644
@@ -271,21 +271,6 @@ Pre-Installation Configuration
 ------------------------------
 
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``.config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_SFC_EFX_PMD`` (default **y**)
-
-  Enable compilation of Solarflare libefx-based poll-mode driver.
-
-- ``CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG`` (default **n**)
-
-  Enable compilation of the extra run-time consistency checks.
-
-
 Per-Device Parameters
 ~~~~~~~~~~~~~~~~~~~~~
 
doc/guides/nics/softnic.rst +2 -11
index 8f0dd53eac..695ebed91f 100644
@@ -51,15 +51,6 @@ Any Linux distribution fulfilling the conditions described in ``System Requireme
 section of :ref:`the DPDK documentation <linux_gsg>` or refer to *DPDK
 Release Notes*.
 
-Build options
--------------
-
-The default PMD configuration available in the common_linux configuration file:
-
-CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
-
-Once the DPDK is built, all the DPDK applications include support for the
-Soft NIC PMD.
 
 Soft NIC PMD arguments
 ----------------------
@@ -130,7 +121,7 @@ Soft NIC testing
 
     .. code-block:: console
 
-         ./testpmd -c 0x7 -s 0x4 --vdev 'net_softnic0,firmware=<script path>/firmware.cli,cpu_id=0,conn_port=8086' -- -i
+         ./dpdk-testpmd -c 0x7 -s 0x4 --vdev 'net_softnic0,firmware=<script path>/firmware.cli,cpu_id=0,conn_port=8086' -- -i
               --portmask=0x2
 
     .. code-block:: console
@@ -375,7 +366,7 @@ commands.
 
     .. code-block:: console
 
-        ./x86_64-native-linux-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \
+        ./<build_dir>/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 \
                                     --vdev 'net_softnic0, \
                                     firmware=./drivers/net/softnic/ \
                                         firmware.cli, \
doc/guides/nics/szedata2.rst +1 -17
index 30710a80b8..9cf3f39eb5 100644
@@ -15,13 +15,6 @@ and used technology
 (`Netcope Development Kit <http://www.netcope.com/en/products/fpga-development-kit>`_)
 can be found on the `Netcope Technologies website <http://www.netcope.com/>`_.
 
-.. note::
-
-   This driver has external dependencies.
-   Therefore it is disabled in default configuration files.
-   It can be enabled by setting ``CONFIG_RTE_LIBRTE_PMD_SZEDATA2=y``
-   and recompiling.
-
 .. note::
 
    Currently the driver is supported only on x86_64 architectures.
@@ -63,15 +56,6 @@ The minimum version of the provided packages:
 
 * for DPDK up to 18.02 (including): **3.0.5**
 
-Configuration
--------------
-
-These configuration options can be modified before compilation in the
-``.config`` file:
-
-*  ``CONFIG_RTE_LIBRTE_PMD_SZEDATA2`` default value: **n**
-
-   Value **y** enables compilation of szedata2 PMD.
 
 Using the SZEDATA2 PMD
 ----------------------
@@ -129,7 +113,7 @@ transmit channel:
 
 .. code-block:: console
 
-   $RTE_TARGET/app/testpmd -l 0-3 -n 2 \
+   ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 2 \
    -- --port-topology=chained --rxq=2 --txq=2 --nb-cores=2 -i -a
 
 Example output:
doc/guides/nics/thunderx.rst +2 -23
index b1ef9eba59..a928a790e3 100644
@@ -43,26 +43,6 @@ Prerequisites
 -------------
 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-Please note that enabling debugging options may affect system performance.
-
-- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD`` (default ``y``)
-
-  Toggle compilation of the ``librte_pmd_thunderx_nicvf`` driver.
-
-- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX`` (default ``n``)
-
-  Toggle asserts of receive fast path.
-
-- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX`` (default ``n``)
-
-  Toggle asserts of transmit fast path.
 
 Driver compilation and testing
 ------------------------------
@@ -70,8 +50,7 @@ Driver compilation and testing
 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
 for details.
 
-To compile the ThunderX NICVF PMD for Linux arm64 gcc,
-use arm64-thunderx-linux-gcc as target.
+Use config/arm/arm64-thunderx-linux-gcc as a meson cross-file when cross-compiling.
 
 Linux
 -----
@@ -178,7 +157,7 @@ This section provides instructions to configure SR-IOV with Linux OS.
 
    .. code-block:: console
 
-      ./arm64-thunderx-linux-gcc/app/testpmd -l 0-3 -n 4 -w 0002:01:00.2 \
+      ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 -w 0002:01:00.2 \
         -- -i --no-flush-rx \
         --port-topology=loop
 
doc/guides/nics/vdev_netvsc.rst +0 -6
index d1da071187..d9f6319b9f 100644
@@ -61,12 +61,6 @@ This driver implementation may be temporary and should be improved or removed
 either when hot-plug will be fully supported in EAL and bus drivers or when
 a new NetVSC driver will be integrated.
 
-Build options
--------------
-
-- ``CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD`` (default ``y``)
-
-   Toggle compilation of this driver.
 
 Run-time parameters
 -------------------
doc/guides/nics/vhost.rst +1 -1
index d36f3120b2..ee802ec4a8 100644
@@ -90,7 +90,7 @@ This section demonstrates vhost PMD with testpmd DPDK sample application.
 
     .. code-block:: console
 
-        ./testpmd -l 0-3 -n 4 --vdev 'net_vhost0,iface=/tmp/sock0,queues=1' -- -i
+        ./dpdk-testpmd -l 0-3 -n 4 --vdev 'net_vhost0,iface=/tmp/sock0,queues=1' -- -i
 
     Other basic DPDK preparations like hugepage enabling here.
     Please refer to the *DPDK Getting Started Guide* for detailed instructions.
doc/guides/nics/virtio.rst +2 -2
index 0daf25b22d..a51b389685 100644
@@ -110,7 +110,7 @@ Host2VM communication example
 
     .. code-block:: console
 
-        examples/kni/build/app/kni -l 0-3 -n 4 -- -p 0x1 -P --config="(0,1,3)"
+        <build_dir>/examples/dpdk-kni -l 0-3 -n 4 -- -p 0x1 -P --config="(0,1,3)"
 
     This command generates one network device vEth0 for physical port.
     If specify more physical ports, the generated network device will be vEth1, vEth2, and so on.
@@ -340,7 +340,7 @@ Here we use l3fwd-power as an example to show how to get started.
 
     .. code-block:: console
 
-        $ l3fwd-power -l 0-1 -- -p 1 -P --config="(0,0,1)" \
+        $ dpdk-l3fwd-power -l 0-1 -- -p 1 -P --config="(0,0,1)" \
                                                --no-numa --parse-ptype
 
 
Signature · 1 line
2.17.1
#96 lore raw

PATCH v2 30/37 doc: remove references to make in platform guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/platform/bluefield.rst | 22 ---------------------
 doc/guides/platform/octeontx.rst  | 33 +------------------------------
 doc/guides/platform/octeontx2.rst | 32 ------------------------------
 3 files changed, 1 insertion(+), 86 deletions(-)
doc/guides/platform/bluefield.rst +0 -22
index deda675b75..366f2b23a7 100644
@@ -60,17 +60,6 @@ Native Compilation
 Refer to :doc:`../nics/mlx5` for prerequisites. Either Mellanox OFED/EN or
 rdma-core library with corresponding kernel drivers is required.
 
-make build
-^^^^^^^^^^
-
-.. code-block:: console
-
-        make config T=arm64-bluefield-linux-gcc
-        make -j
-
-meson build
-^^^^^^^^^^^
-
 .. code-block:: console
 
         meson build
@@ -126,17 +115,6 @@ Then, untar the tarball at the cross toolchain directory on the x86 host.
         cd $(dirname $(which aarch64-linux-gnu-gcc))/..
         tar xf aarch64-linux-gnu-mlx.tar
 
-make build
-^^^^^^^^^^
-
-.. code-block:: console
-
-        make config T=arm64-bluefield-linux-gcc
-        make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n
-
-meson build
-^^^^^^^^^^^
-
 .. code-block:: console
 
         meson build --cross-file config/arm/arm64_bluefield_linux_gcc
doc/guides/platform/octeontx.rst +1 -32
index 7d1cb647d3..9c20ce437d 100644
@@ -90,23 +90,8 @@ native architecture, the linux sources need to be compiled once natively.
 
 The above steps would rebuild the modules and the required intermediate binaries.
 Once the target is ready for native compilation, the OCTEON TX platform
-drivers can be compiled with the following steps,
+drivers can be compiled, see :doc:`../linux_gsg/build_dpdk` for details.
 
-.. code-block:: console
-
-        cd <dpdk directory>
-        make config T=arm64-thunderx-linux-gcc
-        make
-
-The example applications can be compiled using the following:
-
-.. code-block:: console
-
-        cd <dpdk directory>
-        export RTE_SDK=$PWD
-        export RTE_TARGET=build
-        cd examples/<application>
-        make
 
 Cross Compilation
 ~~~~~~~~~~~~~~~~~
@@ -139,23 +124,7 @@ SDK 6.2.0 patch 3:
 The above steps will prepare build system with numa additions. Now this build system can be used
 to build applications for **OCTEON TX** :sup:`®` platforms.
 
-.. code-block:: console
-
-        cd <dpdk directory>
-        export RTE_SDK=$PWD
-        export RTE_KERNELDIR=$THUNDER_ROOT/linux/kernel/linux
-        make config T=arm64-thunderx-linux-gcc
-        make -j CROSS=aarch64-thunderx-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n EXTRA_CFLAGS="-isystem <numa_install_dir>/include" EXTRA_LDFLAGS="-L<numa_install_dir>/lib -lnuma"
-
 If NUMA support is not required, it can be disabled as explained in
 :doc:`../linux_gsg/cross_build_dpdk_for_arm64`.
 
-Following steps could be used in that case.
-
-.. code-block:: console
-
-        make config T=arm64-thunderx-linux-gcc
-        make CROSS=aarch64-thunderx-linux-gnu-
-
-
 SDK and related information can be obtained from: `Cavium support site <https://support.cavium.com/>`_.
doc/guides/platform/octeontx2.rst +0 -32
index 13255eec5c..232f628366 100644
@@ -498,27 +498,6 @@ an x86 based platform.
 Native Compilation
 ~~~~~~~~~~~~~~~~~~
 
-make build
-^^^^^^^^^^
-
-.. code-block:: console
-
-        make config T=arm64-octeontx2-linux-gcc
-        make -j
-
-The example applications can be compiled using the following:
-
-.. code-block:: console
-
-        cd <dpdk directory>
-        export RTE_SDK=$PWD
-        export RTE_TARGET=build
-        cd examples/<application>
-        make -j
-
-meson build
-^^^^^^^^^^^
-
 .. code-block:: console
 
         meson build
@@ -529,17 +508,6 @@ Cross Compilation
 
 Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details.
 
-make build
-^^^^^^^^^^
-
-.. code-block:: console
-
-        make config T=arm64-octeontx2-linux-gcc
-        make -j CROSS=aarch64-marvell-linux-gnu- CONFIG_RTE_KNI_KMOD=n
-
-meson build
-^^^^^^^^^^^
-
 .. code-block:: console
 
         meson build --cross-file config/arm/arm64_octeontx2_linux_gcc
Signature · 1 line
2.17.1
#97 lore raw

PATCH v2 31/37 doc: remove references to make in prog guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 MAINTAINERS                                   |   3 +-
 doc/guides/prog_guide/build_app.rst           |  48 +--
 .../prog_guide/dev_kit_build_system.rst       | 331 ------------------
 .../prog_guide/dev_kit_root_make_help.rst     | 188 ----------
 .../prog_guide/env_abstraction_layer.rst      |  17 +-
 ...ib_make_help.rst => ext_app_make_help.rst} |  25 +-
 doc/guides/prog_guide/graph_lib.rst           |   6 +-
 doc/guides/prog_guide/index.rst               |   4 +-
 doc/guides/prog_guide/intro.rst               |   2 +-
 .../prog_guide/ip_fragment_reassembly_lib.rst |   5 -
 .../prog_guide/kernel_nic_interface.rst       |  14 +-
 .../link_bonding_poll_mode_drv_lib.rst        |  15 +-
 doc/guides/prog_guide/lto.rst                 |  12 +-
 doc/guides/prog_guide/mbuf_lib.rst            |   4 +-
 doc/guides/prog_guide/mempool_lib.rst         |   7 +-
 doc/guides/prog_guide/overview.rst            |  12 +-
 doc/guides/prog_guide/profile_app.rst         |  17 +-
 doc/guides/prog_guide/qos_framework.rst       |  10 +-
 doc/guides/prog_guide/rcu_lib.rst             |   7 +-
 doc/guides/prog_guide/source_org.rst          |  23 +-
 doc/guides/prog_guide/trace_lib.rst           |   3 +-
 .../prog_guide/writing_efficient_code.rst     |   3 +-
 22 files changed, 52 insertions(+), 704 deletions(-)
 delete mode 100644 doc/guides/prog_guide/dev_kit_build_system.rst
 delete mode 100644 doc/guides/prog_guide/dev_kit_root_make_help.rst
 rename doc/guides/prog_guide/{ext_app_lib_make_help.rst => ext_app_make_help.rst} (69%)
MAINTAINERS +1 -2
index 0fec96558e..095824ab0d 100644
@@ -103,8 +103,7 @@ F: Makefile
 F: config/
 F: doc/build-sdk-quick.txt
 F: doc/guides/prog_guide/build_app.rst
-F: doc/guides/prog_guide/dev_kit_*
-F: doc/guides/prog_guide/ext_app_lib_make_help.rst
+F: doc/guides/prog_guide/ext_app_make_help.rst
 
 Meson build
 M: Bruce Richardson <[email protected]>
doc/guides/prog_guide/build_app.rst +4 -44

79 lines not on this page · raw message

doc/guides/prog_guide/dev_kit_build_system.rst deleted +0 -331

331 lines not on this page · raw message

doc/guides/prog_guide/dev_kit_root_make_help.rst deleted +0 -188

188 lines not on this page · raw message

doc/guides/prog_guide/env_abstraction_layer.rst +6 -11
index f64ae953d1..936c885081 100644
@@ -201,16 +201,16 @@ each segment is strictly one physical page. It is possible to change the amount
 of virtual memory being preallocated at startup by editing the following config
 variables:
 
-* ``CONFIG_RTE_MAX_MEMSEG_LISTS`` controls how many segment lists can DPDK have
-* ``CONFIG_RTE_MAX_MEM_MB_PER_LIST`` controls how much megabytes of memory each
+* ``RTE_MAX_MEMSEG_LISTS`` controls how many segment lists can DPDK have
+* ``RTE_MAX_MEM_MB_PER_LIST`` controls how much megabytes of memory each
   segment list can address
-* ``CONFIG_RTE_MAX_MEMSEG_PER_LIST`` controls how many segments each segment can
+* ``RTE_MAX_MEMSEG_PER_LIST`` controls how many segments each segment can
   have
-* ``CONFIG_RTE_MAX_MEMSEG_PER_TYPE`` controls how many segments each memory type
+* ``RTE_MAX_MEMSEG_PER_TYPE`` controls how many segments each memory type
   can have (where "type" is defined as "page size + NUMA node" combination)
-* ``CONFIG_RTE_MAX_MEM_MB_PER_TYPE`` controls how much megabytes of memory each
+* ``RTE_MAX_MEM_MB_PER_TYPE`` controls how much megabytes of memory each
   memory type can address
-* ``CONFIG_RTE_MAX_MEM_MB`` places a global maximum on the amount of memory
+* ``RTE_MAX_MEM_MB`` places a global maximum on the amount of memory
   DPDK can reserve
 
 Normally, these options do not need to be changed.
@@ -715,11 +715,6 @@ However, they can be used in configuration code.
 Refer to the rte_malloc() function description in the *DPDK API Reference*
 manual for more information.
 
-Cookies
-~~~~~~~
-
-When CONFIG_RTE_MALLOC_DEBUG is enabled, the allocated memory contains
-overwrite protection fields to help identify buffer overflows.
 
 Alignment and NUMA Constraints
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/prog_guide/ext_app_make_help.rst renamed from doc/guides/prog_guide/ext_app_lib_make_help.rst +3 -22
similarity index 69%
rename from doc/guides/prog_guide/ext_app_lib_make_help.rst
rename to doc/guides/prog_guide/ext_app_make_help.rst
index 4312778dc9..681114239d 100644
@@ -1,28 +1,11 @@
 ..  SPDX-License-Identifier: BSD-3-Clause
     Copyright(c) 2010-2014 Intel Corporation.
 
-.. _External_Application/Library_Makefile_help:
+.. _External_Application_Makefile_help:
 
-External Application/Library Makefile help
+External Application Makefile help
 ==========================================
 
-External applications or libraries should include specific Makefiles from RTE_SDK, located in mk directory.
-These Makefiles are:
-
-*   ${RTE_SDK}/mk/rte.extapp.mk: Build an application
-
-*   ${RTE_SDK}/mk/rte.extlib.mk: Build a static library
-
-*   ${RTE_SDK}/mk/rte.extobj.mk: Build objects (.o)
-
-Prerequisites
--------------
-
-The following variables must be defined:
-
-*   ${RTE_SDK}: Points to the root directory of the DPDK.
-
-*   ${RTE_TARGET}: Reference the target to be used for compilation (for example, x86_64-native-linux-gcc).
 
 Build Targets
 -------------
@@ -32,7 +15,7 @@ This is optional; the default output directory is build.
 
 *   all, "nothing" (meaning just make)
 
-    Build the application or the library in the specified output directory.
+    Build the application in the specified output directory.
 
     Example:
 
@@ -93,6 +76,4 @@ It is possible to run the Makefile from another directory, by specifying the out
 
 .. code-block:: console
 
-    export RTE_SDK=/path/to/DPDK
-    export RTE_TARGET=x86_64-native-linux-icc
     make -f /path/to/my_app/Makefile S=/path/to/my_app O=/path/to/build_dir
doc/guides/prog_guide/graph_lib.rst +2 -4
index 669d77c740..c922d10f3d 100644
@@ -45,13 +45,11 @@ Performance tuning parameters
 -----------------------------
 
 - Test with various burst size values (256, 128, 64, 32) using
-  CONFIG_RTE_GRAPH_BURST_SIZE config option.
+  RTE_GRAPH_BURST_SIZE config option.
   The testing shows, on x86 and arm64 servers, The sweet spot is 256 burst
   size. While on arm64 embedded SoCs, it is either 64 or 128.
-- Disable node statistics (using ``CONFIG_RTE_LIBRTE_GRAPH_STATS`` config option)
+- Disable node statistics (using ``RTE_LIBRTE_GRAPH_STATS`` config option)
   if not needed.
-- Use arm64 optimized memory copy for arm64 architecture by
-  selecting ``CONFIG_RTE_ARCH_ARM64_MEMCPY``.
 
 Programming model
 -----------------
doc/guides/prog_guide/index.rst +1 -3
index 0454768de3..2cf20e0619 100644
@@ -62,12 +62,10 @@ Programmer's Guide
     ipsec_lib
     graph_lib
     source_org
-    dev_kit_build_system
-    dev_kit_root_make_help
     build-sdk-meson
     meson_ut
     build_app
-    ext_app_lib_make_help
+    ext_app_make_help
     perf_opt_guidelines
     writing_efficient_code
     lto
doc/guides/prog_guide/intro.rst +1 -1
index 5b319d36d9..44877bd3e3 100644
@@ -34,7 +34,7 @@ The following is a list of DPDK documents in the suggested reading order:
         specifically in a Linux* application (linux) environment
 
     *   The content of the DPDK, the build system
-        (including the commands that can be used in the root DPDK Makefile to build the development kit and an application)
+        (including the commands that can be used in the root DPDK to build the development kit and an application)
         and guidelines for porting an application
 
     *   Optimizations used in the software and those that should be considered for new development
doc/guides/prog_guide/ip_fragment_reassembly_lib.rst +0 -5
index 6ac1bba649..314d4adbb8 100644
@@ -103,8 +103,3 @@ Debug logging and Statistics Collection
 
 The RTE_LIBRTE_IP_FRAG_TBL_STAT config macro controls statistics collection for the Fragment Table.
 This macro is not enabled by default.
-
-The RTE_LIBRTE_IP_FRAG_DEBUG controls debug logging of IP fragments processing and reassembling.
-This macro is disabled by default.
-Note that while logging contains a lot of detailed information,
-it slows down packet processing and might cause the loss of a lot of packets.
doc/guides/prog_guide/kernel_nic_interface.rst +7 -7
index 32d09ccf82..de5d75bd4c 100644
@@ -65,7 +65,7 @@ disabled, and the default carrier state of KNI interfaces is set to *off*.
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko
 
 .. _kni_loopback_mode:
 
@@ -77,14 +77,14 @@ by specifying the ``lo_mode`` parameter:
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko lo_mode=lo_mode_fifo
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko lo_mode=lo_mode_fifo
 
 The ``lo_mode_fifo`` loopback option will loop back ring enqueue/dequeue
 operations in kernel space.
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko lo_mode=lo_mode_fifo_skb
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko lo_mode=lo_mode_fifo_skb
 
 The ``lo_mode_fifo_skb`` loopback option will loop back ring enqueue/dequeue
 operations and sk buffer copies in kernel space.
@@ -105,7 +105,7 @@ Single kernel thread mode is enabled as follows:
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko kthread_mode=single
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko kthread_mode=single
 
 This mode will create only one kernel thread for all KNI interfaces to
 receive data on the kernel side.  By default, this kernel thread is not
@@ -122,7 +122,7 @@ kernel thread mode is enabled as follows:
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko kthread_mode=multiple
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko kthread_mode=multiple
 
 This mode will create a separate kernel thread for each KNI interface to
 receive data on the kernel side.  The core affinity of each ``kni_thread``
@@ -163,13 +163,13 @@ To set the default carrier state to *on*:
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko carrier=on
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=on
 
 To set the default carrier state to *off*:
 
 .. code-block:: console
 
-    # insmod kmod/rte_kni.ko carrier=off
+    # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=off
 
 If the ``carrier`` parameter is not specified, the default carrier state
 of KNI interfaces will be set to *off*.
doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst +8 -7
index 2459fd243e..244dca56c4 100644
@@ -28,8 +28,9 @@ bonded device and its slave devices.
 .. note::
 
     The Link Bonding PMD Library is enabled by default in the build
-    configuration files, the library can be disabled by setting
-    ``CONFIG_RTE_LIBRTE_PMD_BOND=n`` and recompiling the DPDK.
+    configuration, the library can be disabled using the meson option
+    "-Ddisable_drivers=net/bond".
+
 
 Link Bonding Modes Overview
 ---------------------------
@@ -377,7 +378,7 @@ Device names and bonding options must be separated by commas as shown below:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bonding0,bond_opt0=..,bond opt1=..'--vdev 'net_bonding1,bond _opt0=..,bond_opt1=..'
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev 'net_bonding0,bond_opt0=..,bond opt1=..'--vdev 'net_bonding1,bond _opt0=..,bond_opt1=..'
 
 Link Bonding EAL Options
 ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -477,22 +478,22 @@ Create a bonded device in round robin mode with two slaves specified by their PC
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=0,slave=0000:0a:00.01,slave=0000:04:00.00' -- --port-topology=chained
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=0,slave=0000:0a:00.01,slave=0000:04:00.00' -- --port-topology=chained
 
 Create a bonded device in round robin mode with two slaves specified by their PCI address and an overriding MAC address:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=0,slave=0000:0a:00.01,slave=0000:04:00.00,mac=00:1e:67:1d:fd:1d' -- --port-topology=chained
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=0,slave=0000:0a:00.01,slave=0000:04:00.00,mac=00:1e:67:1d:fd:1d' -- --port-topology=chained
 
 Create a bonded device in active backup mode with two slaves specified, and a primary slave specified by their PCI addresses:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=1,slave=0000:0a:00.01,slave=0000:04:00.00,primary=0000:0a:00.01' -- --port-topology=chained
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=1,slave=0000:0a:00.01,slave=0000:04:00.00,primary=0000:0a:00.01' -- --port-topology=chained
 
 Create a bonded device in balance mode with two slaves specified by their PCI addresses, and a transmission policy of layer 3 + 4 forwarding:
 
 .. code-block:: console
 
-    $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=2,slave=0000:0a:00.01,slave=0000:04:00.00,xmit_policy=l34' -- --port-topology=chained
+    ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev 'net_bonding0,mode=2,slave=0000:0a:00.01,slave=0000:04:00.00,xmit_policy=l34' -- --port-topology=chained
doc/guides/prog_guide/lto.rst +1 -11
index 277a6f1090..f79c449598 100644
@@ -26,17 +26,7 @@ need to explicitly initialize variable in order to silence the compiler.
 Please note that turning LTO on causes considerable extension of
 build time.
 
-When using make based build, link time optimization can be enabled for
-the whole DPDK by setting:
-
-.. code-block:: console
-
-    CONFIG_RTE_ENABLE_LTO=y
-
-in config file.
-
-For the meson based build it can be enabled by setting meson built-in
-'b_lto' option:
+Link time optimization can be enabled by setting meson built-in 'b_lto' option:
 
 .. code-block:: console
 
doc/guides/prog_guide/mbuf_lib.rst +2 -2
index c3dbfb9221..2f190b40e4 100644
@@ -266,8 +266,8 @@ can be found in several of the sample applications, for example, the IPv4 Multic
 Debug
 -----
 
-In debug mode (CONFIG_RTE_MBUF_DEBUG is enabled),
-the functions of the mbuf library perform sanity checks before any operation (such as, buffer corruption, bad type, and so on).
+In debug mode, the functions of the mbuf library perform sanity checks before any operation (such as, buffer corruption,
+bad type, and so on).
 
 Use Cases
 ---------
doc/guides/prog_guide/mempool_lib.rst +3 -4
index e3e1f940be..f0bdcd3be1 100644
@@ -17,14 +17,13 @@ This library is used by the :ref:`Mbuf Library <Mbuf_Library>`.
 Cookies
 -------
 
-In debug mode (CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG is enabled), cookies are added at the beginning and end of allocated blocks.
+In debug mode, cookies are added at the beginning and end of allocated blocks.
 The allocated objects then contain overwrite protection fields to help debugging buffer overflows.
 
 Stats
 -----
 
-In debug mode (CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG is enabled),
-statistics about get from/put in the pool are stored in the mempool structure.
+In debug mode, statistics about get from/put in the pool are stored in the mempool structure.
 Statistics are per-lcore to avoid concurrent access to statistics counters.
 
 Memory Alignment Constraints on x86 architecture
@@ -90,7 +89,7 @@ the speed at which a core can access its own cache for a specific memory pool wi
 The cache is composed of a small, per-core table of pointers and its length (used as a stack).
 This internal cache can be enabled or disabled at creation of the pool.
 
-The maximum size of the cache is static and is defined at compilation time (CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE).
+The maximum size of the cache is static and is defined at compilation time (RTE_MEMPOOL_CACHE_MAX_SIZE).
 
 :numref:`figure_mempool` shows a cache in operation.
 
doc/guides/prog_guide/overview.rst +2 -10
index 986c896908..537a568f1e 100644
@@ -18,7 +18,7 @@ The framework creates a set of libraries for specific environments
 through the creation of an Environment Abstraction Layer (EAL),
 which may be specific to a mode of the Intel® architecture (32-bit or 64-bit),
 Linux* user space compilers or a specific platform.
-These environments are created through the use of make files and configuration files.
+These environments are created through the use of meson files and configuration files.
 Once the EAL library is created, the user may link with the library to create their own applications.
 Other libraries, outside of EAL, including the Hash,
 Longest Prefix Match (LPM) and rings libraries are also provided.
@@ -38,21 +38,13 @@ Development Environment
 -----------------------
 
 The DPDK project installation requires Linux and the associated toolchain,
-such as one or more compilers, assembler, make utility,
+such as one or more compilers, assembler, meson utility,
 editor and various libraries to create the DPDK components and libraries.
 
 Once these libraries are created for the specific environment and architecture,
 they may then be used to create the user's data plane application.
 
 When creating applications for the Linux user space, the glibc library is used.
-For DPDK applications, two environmental variables (RTE_SDK and RTE_TARGET)
-must be configured before compiling the applications.
-The following are examples of how the variables can be set:
-
-.. code-block:: console
-
-    export RTE_SDK=/home/user/DPDK
-    export RTE_TARGET=x86_64-native-linux-gcc
 
 See the *DPDK Getting Started Guide* for information on setting up the development environment.
 
doc/guides/prog_guide/profile_app.rst +3 -14
index e5d0e9079e..7093681983 100644
@@ -33,14 +33,6 @@ Refer to the
 for details about application profiling.
 
 
-Profiling with VTune
-~~~~~~~~~~~~~~~~~~~~
-
-To allow VTune attaching to the DPDK application, reconfigure and recompile
-the DPDK with ``CONFIG_RTE_ETHDEV_RXTX_CALLBACKS`` and
-``CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE`` enabled.
-
-
 Profiling on ARM64
 ------------------
 
@@ -76,8 +68,7 @@ cycle counter for user space access by configuring the PMU from the privileged
 mode (kernel space).
 
 By default the ``rte_rdtsc()`` implementation uses a portable ``cntvct_el0``
-scheme.  Application can choose the PMU based implementation with
-``CONFIG_RTE_ARM_EAL_RDTSC_USE_PMU``.
+scheme.
 
 The example below shows the steps to configure the PMU based cycle counter on
 an ARMv8 machine.
@@ -88,10 +79,8 @@ an ARMv8 machine.
     cd armv8_pmu_cycle_counter_el0
     make
     sudo insmod pmu_el0_cycle_counter.ko
-    cd $DPDK_DIR
-    make config T=arm64-armv8a-linux-gcc
-    echo "CONFIG_RTE_ARM_EAL_RDTSC_USE_PMU=y" >> build/.config
-    make
+
+Please refer to :doc:`../linux_gsg/build_dpdk` for details on compiling DPDK with meson.
 
 .. warning::
 
doc/guides/prog_guide/qos_framework.rst +1 -9
index a159709450..4e4ea33ccb 100644
@@ -1525,15 +1525,7 @@ Integration with the DPDK QoS Scheduler
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 RED functionality in the DPDK QoS scheduler is disabled by default.
-To enable it, use the DPDK configuration parameter:
-
-::
-
-    CONFIG_RTE_SCHED_RED=y
-
-This parameter must be set to y.
-The parameter is found in the build configuration files in the DPDK/config directory,
-for example, DPDK/config/common_linux.
+The parameter is found in the build configuration files in the DPDK/config directory.
 RED configuration parameters are specified in the rte_red_params structure within the rte_sched_port_params structure
 that is passed to the scheduler on initialization.
 RED parameters are specified separately for four traffic classes and three packet colors (green, yellow and red)
doc/guides/prog_guide/rcu_lib.rst +3 -4
index d142d0c79d..d0aef3bc16 100644
@@ -186,10 +186,9 @@ they entered a quiescent state. This API checks if a writer has triggered a
 quiescent state query and update the state accordingly.
 
 The ``rte_rcu_qsbr_lock()`` and ``rte_rcu_qsbr_unlock()`` are empty functions.
-However, when ``CONFIG_RTE_LIBRTE_RCU_DEBUG`` is enabled, these APIs aid
-in debugging issues. One can mark the access to shared data structures on the
-reader side using these APIs. The ``rte_rcu_qsbr_quiescent()`` will check if
-all the locks are unlocked.
+However, these APIs can aid in debugging issues. One can mark the access to
+shared data structures on the reader side using these APIs. The
+``rte_rcu_qsbr_quiescent()`` will check if all the locks are unlocked.
 
 Resource reclamation framework for DPDK
 ---------------------------------------
doc/guides/prog_guide/source_org.rst +2 -21
index 31c153a1b7..8d531bd9ef 100644
@@ -8,29 +8,10 @@ Source Organization
 
 This section describes the organization of sources in the DPDK framework.
 
-Makefiles and Config
---------------------
-
-.. note::
-
-    In the following descriptions,
-    ``RTE_SDK`` is the environment variable that points to the base directory into which the tarball was extracted.
-    See
-    :ref:`Useful_Variables_Provided_by_the_Build_System`
-    for descriptions of other variables.
-
-Makefiles that are provided by the DPDK libraries and applications are located in ``$(RTE_SDK)/mk``.
-
-Config templates are located in ``$(RTE_SDK)/config``. The templates describe the options that are enabled for each target.
-The config file also contains items that can be enabled and disabled for many of the DPDK libraries,
-including debug options.
-The user should look at the config file and become familiar with these options.
-The config file is also used to create a header file, which will be located in the new build directory.
-
 Libraries
 ---------
 
-Libraries are located in subdirectories of ``$(RTE_SDK)/lib``.
+Libraries are located in subdirectories of ``dpdk/lib``.
 By convention a library refers to any code that provides an API to an application.
 Typically, it generates an archive file (``.a``), but a kernel module would also go in the same directory.
 
@@ -55,7 +36,7 @@ Applications
 ------------
 
 Applications are source files that contain a ``main()`` function.
-They are located in the ``$(RTE_SDK)/app`` and ``$(RTE_SDK)/examples`` directories.
+They are located in the ``dpdk/app`` and ``dpdk/examples`` directories.
 
 The app directory contains sample applications that are used to test DPDK (such as autotests)
 or the Poll Mode Drivers (test-pmd).
doc/guides/prog_guide/trace_lib.rst +1 -2
index 9bbfd165d8..fbadf9fde9 100644
@@ -135,8 +135,7 @@ In order to avoid performance impact in fast path code, the library introduced
 the user must use ``RTE_TRACE_POINT_FP`` instead of ``RTE_TRACE_POINT``.
 
 ``RTE_TRACE_POINT_FP`` is compiled out by default and it can be enabled using
-``CONFIG_RTE_ENABLE_TRACE_FP`` configuration parameter.
-The ``enable_trace_fp`` option shall be used for the same for meson build.
+the ``enable_trace_fp`` option for meson build.
 
 Event record mode
 -----------------
doc/guides/prog_guide/writing_efficient_code.rst +1 -2
index 2639ef7bf6..db2f1ddbc2 100644
@@ -258,8 +258,7 @@ For instance:
 Setting the Target CPU Type
 ---------------------------
 
-The DPDK supports CPU microarchitecture-specific optimizations by means of CONFIG_RTE_MACHINE option
-in the DPDK configuration file.
+The DPDK supports CPU microarchitecture-specific optimizations by means of RTE_MACHINE option.
 The degree of optimization depends on the compiler's ability to optimize for a specific microarchitecture,
 therefore it is preferable to use the latest compiler versions whenever possible.
 
Signature · 1 line
2.17.1
Reviewed-by on v2 31/37
#98 lore raw

Re: [dpdk-dev] [PATCH v2 31/37] doc: remove references to make in prog guides

Quoted 28 lines · Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
  MAINTAINERS                                   |   3 +-
  doc/guides/prog_guide/build_app.rst           |  48 +--
  .../prog_guide/dev_kit_build_system.rst       | 331 ------------------
  .../prog_guide/dev_kit_root_make_help.rst     | 188 ----------
  .../prog_guide/env_abstraction_layer.rst      |  17 +-
  ...ib_make_help.rst => ext_app_make_help.rst} |  25 +-
  doc/guides/prog_guide/graph_lib.rst           |   6 +-
  doc/guides/prog_guide/index.rst               |   4 +-
  doc/guides/prog_guide/intro.rst               |   2 +-
  .../prog_guide/ip_fragment_reassembly_lib.rst |   5 -
  .../prog_guide/kernel_nic_interface.rst       |  14 +-
  .../link_bonding_poll_mode_drv_lib.rst        |  15 +-
  doc/guides/prog_guide/lto.rst                 |  12 +-
  doc/guides/prog_guide/mbuf_lib.rst            |   4 +-
  doc/guides/prog_guide/mempool_lib.rst         |   7 +-
  doc/guides/prog_guide/overview.rst            |  12 +-
  doc/guides/prog_guide/profile_app.rst         |  17 +-
  doc/guides/prog_guide/qos_framework.rst       |  10 +-
  doc/guides/prog_guide/rcu_lib.rst             |   7 +-
  doc/guides/prog_guide/source_org.rst          |  23 +-
  doc/guides/prog_guide/trace_lib.rst           |   3 +-
  .../prog_guide/writing_efficient_code.rst     |   3 +-
  22 files changed, 52 insertions(+), 704 deletions(-)
Quoted 4 lines

delete mode 100644 doc/guides/prog_guide/dev_kit_build_system.rst
delete mode 100644 doc/guides/prog_guide/dev_kit_root_make_help.rst rename doc/guides/prog_guide/{ext_app_lib_make_help.rst => ext_app_make_help.rst} (69%)

#99 lore raw

PATCH v2 32/37 doc: remove references to make in rawdev guides

In reply to Ciara Power

Make is no longer supported for compiling DPDK, references are now removed in the documentation.

---
 doc/guides/rawdevs/dpaa2_cmdif.rst   | 21 ---------------------
 doc/guides/rawdevs/dpaa2_qdma.rst    | 21 ---------------------
 doc/guides/rawdevs/ifpga.rst         | 10 ----------
 doc/guides/rawdevs/ioat.rst          |  8 +-------
 doc/guides/rawdevs/ntb.rst           |  6 ------
 doc/guides/rawdevs/octeontx2_dma.rst | 12 ------------
 doc/guides/rawdevs/octeontx2_ep.rst  |  8 --------
 7 files changed, 1 insertion(+), 85 deletions(-)
doc/guides/rawdevs/dpaa2_cmdif.rst +0 -21
index be9805874b..7ac3963938 100644
@@ -44,17 +44,6 @@ Currently supported by DPDK:
    Some part of fslmc bus code (mc flib - object library) routines are
    dual licensed (BSD & GPLv2).
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV`` (default ``y``)
-
-  Toggle compilation of the ``lrte_pmd_dpaa2_cmdif`` driver.
 
 Enabling logs
 -------------
@@ -68,16 +57,6 @@ For enabling logs, use the following EAL parameter:
 Using ``pmd.raw.dpaa2.cmdif`` as log matching criteria, all Event PMD logs can be
 enabled which are lower than logging ``level``.
 
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the DPAA2 CMDIF PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Initialization
 --------------
doc/guides/rawdevs/dpaa2_qdma.rst +0 -21
index 129e83d5ef..92921fafdd 100644
@@ -48,17 +48,6 @@ Currently supported by DPDK:
    Some part of fslmc bus code (mc flib - object library) routines are
    dual licensed (BSD & GPLv2).
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV`` (default ``y``)
-
-  Toggle compilation of the ``lrte_pmd_dpaa2_qdma`` driver.
 
 Enabling logs
 -------------
@@ -72,16 +61,6 @@ For enabling logs, use the following EAL parameter:
 Using ``pmd.raw.dpaa2.qdma`` as log matching criteria, all Event PMD logs can be
 enabled which are lower than logging ``level``.
 
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the DPAA2 QDMA PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
-   cd <DPDK-source-directory>
-   make config T=arm64-dpaa-linux-gcc install
 
 Initialization
 --------------
doc/guides/rawdevs/ifpga.rst +0 -10
index a3d92a62ea..dbd0d6e37d 100644
@@ -76,16 +76,6 @@ summarized by the following block diagram::
      |        vdev_ifpga_cfg driver       |        |  Intel FpgaDev  |
      +------------------------------------+        +-----------------+
 
-Build options
--------------
-
-- ``CONFIG_RTE_LIBRTE_IFPGA_BUS`` (default ``y``)
-
-   Toggle compilation of IFPGA Bus library.
-
-- ``CONFIG_RTE_LIBRTE_IFPGA_RAWDEV`` (default ``y``)
-
-   Toggle compilation of the ``ifpga_rawdev`` driver.
 
 Run-time parameters
 -------------------
doc/guides/rawdevs/ioat.rst +1 -7
index d0eee5e237..c0a08ff852 100644
@@ -54,13 +54,7 @@ shows:
 Compilation
 ------------
 
-For builds done with ``make``, the driver compilation is enabled by the
-``CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV`` build configuration option. This is
-enabled by default in builds for x86 platforms, and disabled in other
-configurations.
-
-For builds using ``meson`` and ``ninja``, the driver will be built when the
-target platform is x86-based.
+The driver will be built when the target platform is x86-based.
 
 Device Setup
 -------------
doc/guides/rawdevs/ntb.rst +0 -6
index aa7d809649..0589b70087 100644
@@ -30,12 +30,6 @@ is https://www.intel.com/content/dam/support/us/en/documents/server-products/Int
 - Disable PCIe PII SSC (Spread Spectrum Clocking) for both hosts. This
   is a hardware requirement.
 
-Build Options
--------------
-
-- ``CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV`` (default ``y``)
-
-   Toggle compilation of the ``ntb`` driver.
 
 Device Setup
 ------------
doc/guides/rawdevs/octeontx2_dma.rst +0 -12
index 1e1dfbe931..f93ec1ffd7 100644
@@ -26,18 +26,6 @@ Prerequisites and Compilation procedure
    See :doc:`../platform/octeontx2` for setup information.
 
 
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV`` (default ``y``)
-
-  Toggle compilation of the ``lrte_pmd_octeontx2_dma`` driver.
-
 Enabling logs
 -------------
 
doc/guides/rawdevs/octeontx2_ep.rst +0 -8
index bbcf530a45..4f91e78ab1 100644
@@ -18,14 +18,6 @@ This OCTEON TX2 End Point mode PMD supports
 
 #. Packet Output - OCTEON TX2 to Host with info pointer mode.
 
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV`` (default ``y``)
-
-  Toggle compilation of the ``lrte_pmd_octeontx2_ep`` driver.
 
 Initialization
 --------------
Signature · 1 line
2.17.1