From patchwork Thu Jun 22 13:48:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128924 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7CF4442D1C; Thu, 22 Jun 2023 16:20:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 365F042B71; Thu, 22 Jun 2023 16:20:18 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 2164F406A2 for ; Thu, 22 Jun 2023 16:20:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443615; x=1718979615; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lu3DAOb+saZuNpGK2akQHGEdoVvHw3lF/SKGZNd6hWo=; b=X13LGyVr1ohKYMfy+BruXucZiM3VQFr2FEs5d5He+OGZNZIerGII+f5Y rbp0ThG7UMvpeDs73Q9dwv+40lZRuXHEYjbyhlactREFVJ3hvN321ZLz5 HtvgBjjkePGkfxMGJpF+72TNJIv9P0G9c7I+1rezNysDbEiaZZKn1BO8K 6hbafsOFUZJRSJkbRLGHU9RUq7Ul5ofhnITcL1QuP0JJaI73SkDPYVFiX 7vhWpWdNJWgaf3dKigk11XFNcEnXdAx0nHdX51GMZ+JgZmUtRMcr6CK51 b4C2wGuZ2xbHPyU2F1vmquG9bd/HY2Bg31vsKpn5xrq8yVJrngqYRbBqt Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932113" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932113" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:48:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272480" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272480" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:49 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 1/7] build: make most device classes optional Date: Thu, 22 Jun 2023 14:48:34 +0100 Message-Id: <20230622134840.3225975-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Apart from ethdev and cryptodev, which have lots of components and tests which depend on them, we can make the device class libraries optional without too much work. This patch marks: * bbdev, * compressdev, * dmadev, * eventdev, * mldev, * rawdev, * regexdev optional, and ensures that DPDK - including tests - can be built with these components disabled. Signed-off-by: Bruce Richardson --- app/test/meson.build | 33 +++++++++++++++++++++------------ lib/meson.build | 7 +++++++ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index d0fabcbb8b..780005f320 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -41,19 +41,12 @@ test_sources = files( 'test_devargs.c', 'test_distributor.c', 'test_distributor_perf.c', - 'test_dmadev.c', - 'test_dmadev_api.c', 'test_eal_flags.c', 'test_eal_fs.c', 'test_efd.c', 'test_efd_perf.c', 'test_errno.c', 'test_ethdev_link.c', - 'test_event_crypto_adapter.c', - 'test_event_eth_rx_adapter.c', - 'test_event_ring.c', - 'test_event_timer_adapter.c', - 'test_eventdev.c', 'test_external_mem.c', 'test_fbarray.c', 'test_fib.c', @@ -105,7 +98,6 @@ test_sources = files( 'test_power_intel_uncore.c', 'test_prefetch.c', 'test_rand_perf.c', - 'test_rawdev.c', 'test_rcu_qsbr.c', 'test_rcu_qsbr_perf.c', 'test_reciprocal_division.c', @@ -129,7 +121,6 @@ test_sources = files( 'test_sched.c', 'test_security.c', 'test_security_inline_macsec.c', - 'test_security_inline_proto.c', 'test_seqlock.c', 'test_service_cores.c', 'test_spinlock.c', @@ -188,7 +179,6 @@ fast_tests = [ ['eal_fs_autotest', true, true], ['errno_autotest', true, true], ['ethdev_link_status', true, true], - ['event_ring_autotest', true, true], ['fib_autotest', true, true], ['fib6_autotest', true, true], ['func_reentrancy_autotest', false, true], @@ -234,7 +224,6 @@ fast_tests = [ ['version_autotest', true, true], ['crc_autotest', true, true], ['distributor_autotest', false, true], - ['eventdev_common_autotest', true, true], ['fbarray_autotest', true, true], ['hash_readwrite_func_autotest', false, true], ['ipsec_autotest', true, true], @@ -321,7 +310,6 @@ driver_test_names = [ 'cryptodev_sw_snow3g_autotest', 'cryptodev_sw_zuc_autotest', 'cryptodev_uadk_autotest', - 'dmadev_autotest', ] dump_test_names = [] @@ -359,6 +347,25 @@ if dpdk_conf.has('RTE_EVENT_SKELETON') test_deps += 'event_skeleton' endif +if dpdk_conf.has('RTE_LIB_DMADEV') + test_sources += ['test_dmadev.c', 'test_dmadev_api.c'] + driver_test_names += 'dmadev_autotest' +endif +if dpdk_conf.has('RTE_LIB_EVENTDEV') + test_sources += [ + 'test_event_eth_rx_adapter.c', + 'test_event_ring.c', + 'test_event_timer_adapter.c', + 'test_eventdev.c', + ] + fast_tests += [ + ['event_ring_autotest', true, true], + ['eventdev_common_autotest', true, true], + ] + if dpdk_conf.has('RTE_LIB_CRYPTODEV') + test_sources += 'test_event_crypto_adapter.c' + endif +endif if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY') test_sources += 'test_flow_classify.c' fast_tests += [['flow_classify_autotest', false, true]] @@ -403,6 +410,7 @@ if dpdk_conf.has('RTE_LIB_EVENTDEV') and dpdk_conf.has('RTE_NET_RING') test_sources += 'test_pmd_ring.c' test_sources += 'test_event_eth_tx_adapter.c' test_sources += 'sample_packet_forward.c' + test_sources += 'test_security_inline_proto.c' fast_tests += [['ring_pmd_autotest', true, true]] perf_test_names += 'ring_pmd_perf_autotest' fast_tests += [['event_eth_tx_adapter_autotest', false, true]] @@ -425,6 +433,7 @@ if dpdk_conf.has('RTE_NET_NULL') fast_tests += [['vdev_autotest', true, true]] endif if dpdk_conf.has('RTE_RAW_SKELETON') + test_sources += 'test_rawdev.c' test_deps += 'raw_skeleton' fast_tests += [['rawdev_autotest', true, true]] endif diff --git a/lib/meson.build b/lib/meson.build index 9677239236..679a81f62f 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -68,8 +68,12 @@ libraries = [ ] optional_libs = [ + 'bbdev', 'bitratestats', 'cfgfile', + 'compressdev', + 'dmadev', + 'eventdev', 'flow_classify', 'gpudev', 'gro', @@ -78,11 +82,14 @@ optional_libs = [ 'jobstats', 'latencystats', 'metrics', + 'mldev', 'node', 'pdump', 'pipeline', 'port', 'power', + 'rawdev', + 'regexdev', 'table', 'vhost', ] From patchwork Thu Jun 22 13:48:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128925 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24AB842D1C; Thu, 22 Jun 2023 16:20:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5387E42D0C; Thu, 22 Jun 2023 16:20:19 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id E8774406B8 for ; Thu, 22 Jun 2023 16:20:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443616; x=1718979616; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XGNkDDRqanYhdQyZ4OB01zVINNQ2EBw7m1Uq8ASvRQ4=; b=BIDAhcsdnkvCs0lUW72AreYecPD5H5o0gJ2h1fotK76t6/VyBkaixfTF 4OY+54nBemI1Qp2ozCCDikVa8YQ9yw1LLmFAcxyxoUH6w4VuHbjDl7J4d KsnseBr9pDfq70m3b11CQ3fGHxyxUNX3p+E7U+ouqr/VzZSra9zIpYRWM JJwYpsEVNqckOdnoTev4mmx9NVk26rQ3991/fF9Yp16ucmV6JxacuPzyO kMCwJhqAGWJBoGKCrVI3A4n7w5nXH2DDjayw71w1NVutw6CPKTAVocz3y XGG6Z/IjyNpXF2bqXQms3e4IfEjRrWAVNXakJfBDWRy15q8FDuRIisf8+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932122" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932122" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:48:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272512" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272512" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:53 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 2/7] build: make membership library optional Date: Thu, 22 Jun 2023 14:48:35 +0100 Message-Id: <20230622134840.3225975-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 9 +++++---- lib/meson.build | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 780005f320..bed6acfdaf 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -78,8 +78,6 @@ test_sources = files( 'test_malloc.c', 'test_malloc_perf.c', 'test_mbuf.c', - 'test_member.c', - 'test_member_perf.c', 'test_memcpy.c', 'test_memcpy_perf.c', 'test_memory.c', @@ -229,7 +227,6 @@ fast_tests = [ ['ipsec_autotest', true, true], ['kni_autotest', false, true], ['kvargs_autotest', true, true], - ['member_autotest', true, true], ['power_cpufreq_autotest', false, true], ['power_autotest', true, true], ['power_kvm_vm_autotest', false, true], @@ -267,7 +264,6 @@ perf_test_names = [ 'timer_racecond_autotest', 'efd_autotest', 'hash_functions_autotest', - 'member_perf_autotest', 'efd_perf_autotest', 'lpm6_perf_autotest', 'rib6_slow_autotest', @@ -374,6 +370,11 @@ if dpdk_conf.has('RTE_LIB_METRICS') test_sources += ['test_metrics.c'] fast_tests += [['metrics_autotest', true, true]] endif +if dpdk_conf.has('RTE_LIB_MEMBER') + test_sources += ['test_member.c', 'test_member_perf.c'] + fast_tests += [['member_autotest', true, true]] + perf_test_names += 'member_perf_autotest' +endif if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c'] fast_tests += [['telemetry_json_autotest', true, true]] diff --git a/lib/meson.build b/lib/meson.build index 679a81f62f..e46b141657 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -81,6 +81,7 @@ optional_libs = [ 'kni', 'jobstats', 'latencystats', + 'member', 'metrics', 'mldev', 'node', From patchwork Thu Jun 22 13:48:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128926 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C67C42D1C; Thu, 22 Jun 2023 16:20:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F53742D13; Thu, 22 Jun 2023 16:20:20 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id CB026410FC for ; Thu, 22 Jun 2023 16:20:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443617; x=1718979617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=y/Bj0/aQ7DSpVIceyZl1g4E+cy51SDURNZw05RLp+hA=; b=jsJYFWRO5FvWlKMGmbBxZj+kxZIlGnTCWcsPgt2KzCcCzXAo7a8aU99E +JNCTp4ViyzLZ54lJySzy4zNij5pkymUcWuSkAY98FBU1SbcrYdD0NWXD roiW+7HkTuyWgBAuuGNMmPjF3cJlQIrR99fnSTTKpzcTkJZeXzCKZHJ8O h8hVEdldoLFESDOnZ4Y+mNeCpBqYlao8Lqr+7Zpq9yTlNSkIyIrskwcd3 rqjyZDB8UjPyHZCIyP9oAX27MKaX98PsmhQnKb5wcbdTJWl544hm8507x bfCJIfDd4z6DUO2/lkudpP/7rjUEhlO5Swy0bv50EQBaniIuxC5xfgA4Z g==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932127" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932127" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:48:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272549" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272549" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:56 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 3/7] build: make bpf library optional Date: Thu, 22 Jun 2023 14:48:36 +0100 Message-Id: <20230622134840.3225975-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 10 +++++++--- lib/meson.build | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index bed6acfdaf..d8ad8b1d97 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -15,7 +15,6 @@ test_sources = files( 'test_barrier.c', 'test_bitops.c', 'test_bitmap.c', - 'test_bpf.c', 'test_byteorder.c', 'test_cksum.c', 'test_cksum_perf.c', @@ -152,8 +151,6 @@ fast_tests = [ ['acl_autotest', true, true], ['atomic_autotest', false, true], ['bitmap_autotest', true, true], - ['bpf_autotest', true, true], - ['bpf_convert_autotest', true, true], ['bitops_autotest', true, true], ['byteorder_autotest', true, true], ['cksum_autotest', true, true], @@ -343,6 +340,13 @@ if dpdk_conf.has('RTE_EVENT_SKELETON') test_deps += 'event_skeleton' endif +if dpdk_conf.has('RTE_LIB_BPF') + test_sources += 'test_bpf.c' + fast_tests += [ + ['bpf_autotest', true, true], + ['bpf_convert_autotest', true, true], + ] +endif if dpdk_conf.has('RTE_LIB_DMADEV') test_sources += ['test_dmadev.c', 'test_dmadev_api.c'] driver_test_names += 'dmadev_autotest' diff --git a/lib/meson.build b/lib/meson.build index e46b141657..105f167d45 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -70,6 +70,7 @@ libraries = [ optional_libs = [ 'bbdev', 'bitratestats', + 'bpf', 'cfgfile', 'compressdev', 'dmadev', From patchwork Thu Jun 22 13:48:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128927 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CD1AA42D1C; Thu, 22 Jun 2023 16:20:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B4F642D2C; Thu, 22 Jun 2023 16:20:21 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 05A2D41138 for ; Thu, 22 Jun 2023 16:20:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443617; x=1718979617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o3t1VR6jcDP8oLlXcPx9gw/M9DPU/lHMBAhw4sRjT2I=; b=VtuiD8ZpvzsTDvhTo6x9czsU8Hvdh3Y3jIexlTVWwde/hIM2c/kDyyyJ Cj2Uo2tChZRfZlKpFh1nZJw+bPA0SXMH7qk53r3vLBrss5KYDRy7e+SXU SvkuXAntvlpFe67bhAZ7EQv71JnbP7H+yJQw2RyCFDhgZ3Je6EHlZxFMe oEVVTZCgCE63j/LGk55P1pqjLGyXEXiYGK9iqnb8fmmocaroZh9zv6UYx DYwzcKUGANJVTeuOJcpKNsdDjQ8bocFOjLuVkGhaZsz9pYhiJd8Hgig/C a6UgYfcCN3w2LDcG6ZH793JC3FJjuYFvVrnJ0VaxFaGucxcQrwLBtrFUY w==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932132" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932132" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:48:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272595" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272595" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:58 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 4/7] build: make efd library optional Date: Thu, 22 Jun 2023 14:48:37 +0100 Message-Id: <20230622134840.3225975-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 8 ++++---- lib/meson.build | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index d8ad8b1d97..ab5bd370bf 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -42,8 +42,6 @@ test_sources = files( 'test_distributor_perf.c', 'test_eal_flags.c', 'test_eal_fs.c', - 'test_efd.c', - 'test_efd_perf.c', 'test_errno.c', 'test_ethdev_link.c', 'test_external_mem.c', @@ -259,9 +257,7 @@ perf_test_names = [ 'barrier_autotest', 'hash_multiwriter_autotest', 'timer_racecond_autotest', - 'efd_autotest', 'hash_functions_autotest', - 'efd_perf_autotest', 'lpm6_perf_autotest', 'rib6_slow_autotest', 'fib6_slow_autotest', @@ -370,6 +366,10 @@ if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY') test_sources += 'test_flow_classify.c' fast_tests += [['flow_classify_autotest', false, true]] endif +if dpdk_conf.has('RTE_LIB_EFD') + test_sources += ['test_efd.c', 'test_efd_perf.c'] + perf_test_names += ['efd_autotest', 'efd_perf_autotest'] +endif if dpdk_conf.has('RTE_LIB_METRICS') test_sources += ['test_metrics.c'] fast_tests += [['metrics_autotest', true, true]] diff --git a/lib/meson.build b/lib/meson.build index 105f167d45..7de3b0d32c 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -74,6 +74,7 @@ optional_libs = [ 'cfgfile', 'compressdev', 'dmadev', + 'efd', 'eventdev', 'flow_classify', 'gpudev', From patchwork Thu Jun 22 13:48:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128928 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CF90C42D1C; Thu, 22 Jun 2023 16:20:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 649DB42D31; Thu, 22 Jun 2023 16:20:22 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 8A1F5410FC for ; Thu, 22 Jun 2023 16:20:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443617; x=1718979617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=22pg4caoVeZwHSYs8x0cqM27BhBProOuP5LPgbtbtas=; b=bqK0eT0A+4MBJ+/fFs3i1T+Ri7/VMPsVRrwibhxQO0s3QmO4i7KQrM0x jAq6XxFl/MEoVXsmkpq4nHCL5NzxtW8BxB/jbEqcV1d/8P5St2IRq7578 hpIQ/2aQxTE2MObNrGWJnBqTb7JSXoKSJLj6G4lElwburGSKyMyEjmHWr fKUk7paDtuRnTACWXv9NOTLqYcKAbRj8mAmDHeWMzDkylO7z/lLultHql T7b7MvFGyokO+OKvqhGNvuoBxjodbtyumJjFkqupt4IuT8QUMfN2l8ube Mrb5NZNvXhWXvCYC9qE2PWr4in2nufaulsD/p28pT0DtDwl4tA2L1ECRR Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932137" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932137" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:49:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272629" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272629" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:49:00 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 5/7] build: make distributor library optional Date: Thu, 22 Jun 2023 14:48:38 +0100 Message-Id: <20230622134840.3225975-6-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 9 +++++---- lib/meson.build | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index ab5bd370bf..749e929945 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -38,8 +38,6 @@ test_sources = files( 'test_cycles.c', 'test_debug.c', 'test_devargs.c', - 'test_distributor.c', - 'test_distributor_perf.c', 'test_eal_flags.c', 'test_eal_fs.c', 'test_errno.c', @@ -216,7 +214,6 @@ fast_tests = [ ['user_delay_us', true, true], ['version_autotest', true, true], ['crc_autotest', true, true], - ['distributor_autotest', false, true], ['fbarray_autotest', true, true], ['hash_readwrite_func_autotest', false, true], ['ipsec_autotest', true, true], @@ -265,7 +262,6 @@ perf_test_names = [ 'rcu_qsbr_perf_autotest', 'red_perf', 'pie_perf', - 'distributor_perf_autotest', 'pmd_perf_autotest', 'service_perf_autotest', 'stack_perf_autotest', @@ -366,6 +362,11 @@ if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY') test_sources += 'test_flow_classify.c' fast_tests += [['flow_classify_autotest', false, true]] endif +if dpdk_conf.has('RTE_LIB_DISTRIBUTOR') + test_sources += ['test_distributor.c', 'test_distributor_perf.c'] + fast_tests += [['distributor_autotest', false, true]] + perf_test_names += 'distributor_perf_autotest' +endif if dpdk_conf.has('RTE_LIB_EFD') test_sources += ['test_efd.c', 'test_efd_perf.c'] perf_test_names += ['efd_autotest', 'efd_perf_autotest'] diff --git a/lib/meson.build b/lib/meson.build index 7de3b0d32c..ce147a0766 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -73,6 +73,7 @@ optional_libs = [ 'bpf', 'cfgfile', 'compressdev', + 'distributor', 'dmadev', 'efd', 'eventdev', From patchwork Thu Jun 22 13:48:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128929 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B91CD42D1C; Thu, 22 Jun 2023 16:20:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C1F442C54; Thu, 22 Jun 2023 16:20:23 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id E03EE41138 for ; Thu, 22 Jun 2023 16:20:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443618; x=1718979618; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zwd/AZdSAKWlbZSwOQQMpqkdNzGJEJW6aY6sHCQ7TFM=; b=F7NoEKRjkvY0KVBe7WmJ+CdINABe8mU+gzZ8zK5Ki0YaB0JgwKE9BSFP Ps/WuOiaVgeNNdNpGsS46Ed9WJYKBvsWMUMh8bSL7BIB+CLVgK3kK0t12 lKcTx67EGseaX/IQR9pcqBG9+7WR8YFV+loQcsh4FmugR3rACEuUv2jVi UXhgj1YbTb9aljnfiONw1F2y7IVql37UAoH9mkL2YHpmH48LKfXxBf+nu HGkmdhSPUaTC1WO+oygV/mWR5gTz0owTbJWISXLQP8sfax6ICL0pWQCfY rqQBHdy8gO8AV6XmHtY4tX7JpNiai5P28cVbGUoBjgZ5K75CIbIuEgLvk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932144" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932144" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:49:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272652" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272652" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:49:03 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 6/7] build: make fragmentation libary optional Date: Thu, 22 Jun 2023 14:48:39 +0100 Message-Id: <20230622134840.3225975-7-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 6 ++++-- lib/meson.build | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 749e929945..e8dbbadd5e 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -58,7 +58,6 @@ test_sources = files( 'test_hash_perf.c', 'test_hash_readwrite_lf_perf.c', 'test_interrupts.c', - 'test_ipfrag.c', 'test_ipsec.c', 'test_ipsec_sad.c', 'test_ipsec_perf.c', @@ -175,7 +174,6 @@ fast_tests = [ ['func_reentrancy_autotest', false, true], ['hash_autotest', true, true], ['interrupt_autotest', true, true], - ['ipfrag_autotest', false, true], ['lcores_autotest', true, true], ['logs_autotest', true, true], ['lpm_autotest', true, true], @@ -371,6 +369,10 @@ if dpdk_conf.has('RTE_LIB_EFD') test_sources += ['test_efd.c', 'test_efd_perf.c'] perf_test_names += ['efd_autotest', 'efd_perf_autotest'] endif +if dpdk_conf.has('RTE_IP_FRAG') + test_sources += 'test_ipfrag.c' + fast_tests += [['ipfrag_autotest', false, true]] +endif if dpdk_conf.has('RTE_LIB_METRICS') test_sources += ['test_metrics.c'] fast_tests += [['metrics_autotest', true, true]] diff --git a/lib/meson.build b/lib/meson.build index ce147a0766..7fb0cf4c4e 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -82,6 +82,7 @@ optional_libs = [ 'gro', 'gso', 'kni', + 'ip_frag', 'jobstats', 'latencystats', 'member', From patchwork Thu Jun 22 13:48:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 128930 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6426142D1C; Thu, 22 Jun 2023 16:21:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EC1E42D3B; Thu, 22 Jun 2023 16:20:24 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 3E2D642B7E for ; Thu, 22 Jun 2023 16:20:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443618; x=1718979618; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LLOO02I8SxAv2KtmKWF32DrOfWzlG+dkHqYDIfHTrng=; b=i/2yBUcr7M5ooOWjSQTn3bqOHRMRGchPnK1rI72+Lk0wez93pXS/m4oY MS8bI62N9w8bOoYMLkGmb+Qp/Om00FnriZQMruZkoavRREDIOJgTw6w0r /NVDOUWFclEOzceIiVDphqeDzYXVSmpDuX3AWst12fzW2Bahx4JIQApIS nHEX+/zlsPZweKaouXKb4mAhPEFZcP23GI8tiXaeV0p++OSCuH6wQsSCy 0s0gAmC1v0v1mcD6YP3wwCU7L2i0jKsAmHnEK1wMWRbOX3NqIAfD6kcJx Ym62BaIObjIXo+vs5dd47DzepSaBA/0cQE9LXsJxbkd4Mm7UpIbb/4+P0 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="363932151" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="363932151" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:49:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="692272670" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="692272670" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:49:06 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 7/7] build: make reorder library optional Date: Thu, 22 Jun 2023 14:48:40 +0100 Message-Id: <20230622134840.3225975-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230622134840.3225975-1-bruce.richardson@intel.com> References: <20230622134840.3225975-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Signed-off-by: Bruce Richardson --- app/test/meson.build | 6 ++++-- lib/meson.build | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index e8dbbadd5e..13bd752002 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -96,7 +96,6 @@ test_sources = files( 'test_reciprocal_division_perf.c', 'test_red.c', 'test_pie.c', - 'test_reorder.c', 'test_rib.c', 'test_rib6.c', 'test_ring.c', @@ -221,7 +220,6 @@ fast_tests = [ ['power_autotest', true, true], ['power_kvm_vm_autotest', false, true], ['power_intel_uncore_autotest', true, true], - ['reorder_autotest', true, true], ['service_autotest', true, true], ['thash_autotest', true, true], ['threads_autotest', true, true], @@ -382,6 +380,10 @@ if dpdk_conf.has('RTE_LIB_MEMBER') fast_tests += [['member_autotest', true, true]] perf_test_names += 'member_perf_autotest' endif +if dpdk_conf.has('RTE_LIB_REORDER') + test_sources += 'test_reorder.c' + fast_tests += [['reorder_autotest', true, true]] +endif if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c'] fast_tests += [['telemetry_json_autotest', true, true]] diff --git a/lib/meson.build b/lib/meson.build index 7fb0cf4c4e..be4c6113fe 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -95,6 +95,7 @@ optional_libs = [ 'power', 'rawdev', 'regexdev', + 'reorder', 'table', 'vhost', ]