Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/128952/?format=api
http://patchwork.dpdk.org/api/patches/128952/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230623111508.786020-3-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230623111508.786020-3-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230623111508.786020-3-bruce.richardson@intel.com", "date": "2023-06-23T11:15:02", "name": "[v3,2/8] build: make most device classes optional", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ebc2c3d1de70f6d25fd0d8f547fc9becec49ad57", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230623111508.786020-3-bruce.richardson@intel.com/mbox/", "series": [ { "id": 28623, "url": "http://patchwork.dpdk.org/api/series/28623/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28623", "date": "2023-06-23T11:15:00", "name": "expand list of optional libraries", "version": 3, "mbox": "http://patchwork.dpdk.org/series/28623/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/128952/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/128952/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2730E42D2F;\n\tFri, 23 Jun 2023 13:15:56 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 173FA42D29;\n\tFri, 23 Jun 2023 13:15:56 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id DD5A740ED7\n for <dev@dpdk.org>; Fri, 23 Jun 2023 13:15:54 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2023 04:15:27 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by fmsmga004.fm.intel.com with ESMTP; 23 Jun 2023 04:15:26 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1687518955; x=1719054955;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=WHmbUKsWuPJkaEZ3Ni3kXoit2QAgoc+CYAP7+i7JmDU=;\n b=j2/5ZNmoiOyIt+SzB9Adhn8AcT3UEKg2Tjabs7f2ZhkqO8M0rhGEfXk7\n i8AAFeph16ibZL5YoLWil6wvjpFSMQi+0+RNVNrsvkPi6XHYzp43Es7SU\n PEl4aIBsk3zGlTY/VbSM5lzVgmdgQ9vxUSMsHuFwWNR8+PcMBZuQrPAvZ\n raJoeASqO5Y5KhBLw72z2rXh7tI56YLOLwG3BsXTH3LdTkiYWfm3Z0jT6\n Jw+ATwgkx3LoKVDUcnn0klWxskmWk2G4WIcYh4rsf7IcGXMdyD7+PoqG4\n dvF0dVv0hROD8RbB9zpS622/3ZFhronU+2NuP1kknodX82rYhoba9CJd2 g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10749\"; a=\"363295943\"", "E=Sophos;i=\"6.01,151,1684825200\"; d=\"scan'208\";a=\"363295943\"", "E=McAfee;i=\"6600,9927,10749\"; a=\"785307449\"", "E=Sophos;i=\"6.01,151,1684825200\"; d=\"scan'208\";a=\"785307449\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>, =?utf-8?q?Morten_Br=C3=B8?=\n\t=?utf-8?q?rup?= <mb@smartsharesystems.com>", "Subject": "[PATCH v3 2/8] build: make most device classes optional", "Date": "Fri, 23 Jun 2023 12:15:02 +0100", "Message-Id": "<20230623111508.786020-3-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230623111508.786020-1-bruce.richardson@intel.com>", "References": "<20230622134840.3225975-1-bruce.richardson@intel.com>\n <20230623111508.786020-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Apart from ethdev and cryptodev, which have lots of components and tests\nwhich depend on them, we can make the device class libraries optional\nwithout too much work.\n\nThis patch marks:\n* bbdev,\n* compressdev,\n* dmadev,\n* eventdev,\n* mldev,\n* rawdev,\n* regexdev\noptional, and ensures that DPDK - including tests - can be built with\nthese components disabled.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n app/test/meson.build | 33 +++++++++++++++++++++------------\n lib/meson.build | 7 +++++++\n 2 files changed, 28 insertions(+), 12 deletions(-)", "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 3e0a2360a3..379effd10b 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -41,19 +41,12 @@ test_sources = files(\n 'test_devargs.c',\n 'test_distributor.c',\n 'test_distributor_perf.c',\n- 'test_dmadev.c',\n- 'test_dmadev_api.c',\n 'test_eal_flags.c',\n 'test_eal_fs.c',\n 'test_efd.c',\n 'test_efd_perf.c',\n 'test_errno.c',\n 'test_ethdev_link.c',\n- 'test_event_crypto_adapter.c',\n- 'test_event_eth_rx_adapter.c',\n- 'test_event_ring.c',\n- 'test_event_timer_adapter.c',\n- 'test_eventdev.c',\n 'test_external_mem.c',\n 'test_fbarray.c',\n 'test_fib.c',\n@@ -103,7 +96,6 @@ test_sources = files(\n 'test_power_intel_uncore.c',\n 'test_prefetch.c',\n 'test_rand_perf.c',\n- 'test_rawdev.c',\n 'test_rcu_qsbr.c',\n 'test_rcu_qsbr_perf.c',\n 'test_reciprocal_division.c',\n@@ -127,7 +119,6 @@ test_sources = files(\n 'test_sched.c',\n 'test_security.c',\n 'test_security_inline_macsec.c',\n- 'test_security_inline_proto.c',\n 'test_seqlock.c',\n 'test_service_cores.c',\n 'test_spinlock.c',\n@@ -186,7 +177,6 @@ fast_tests = [\n ['eal_fs_autotest', true, true],\n ['errno_autotest', true, true],\n ['ethdev_link_status', true, true],\n- ['event_ring_autotest', true, true],\n ['fib_autotest', true, true],\n ['fib6_autotest', true, true],\n ['func_reentrancy_autotest', false, true],\n@@ -232,7 +222,6 @@ fast_tests = [\n ['version_autotest', true, true],\n ['crc_autotest', true, true],\n ['distributor_autotest', false, true],\n- ['eventdev_common_autotest', true, true],\n ['fbarray_autotest', true, true],\n ['hash_readwrite_func_autotest', false, true],\n ['ipsec_autotest', true, true],\n@@ -319,7 +308,6 @@ driver_test_names = [\n 'cryptodev_sw_snow3g_autotest',\n 'cryptodev_sw_zuc_autotest',\n 'cryptodev_uadk_autotest',\n- 'dmadev_autotest',\n ]\n \n dump_test_names = []\n@@ -357,6 +345,25 @@ if dpdk_conf.has('RTE_EVENT_SKELETON')\n test_deps += 'event_skeleton'\n endif\n \n+if dpdk_conf.has('RTE_LIB_DMADEV')\n+ test_sources += ['test_dmadev.c', 'test_dmadev_api.c']\n+ driver_test_names += 'dmadev_autotest'\n+endif\n+if dpdk_conf.has('RTE_LIB_EVENTDEV')\n+ test_sources += [\n+ 'test_event_eth_rx_adapter.c',\n+ 'test_event_ring.c',\n+ 'test_event_timer_adapter.c',\n+ 'test_eventdev.c',\n+ ]\n+ fast_tests += [\n+ ['event_ring_autotest', true, true],\n+ ['eventdev_common_autotest', true, true],\n+ ]\n+ if dpdk_conf.has('RTE_LIB_CRYPTODEV')\n+ test_sources += 'test_event_crypto_adapter.c'\n+ endif\n+endif\n if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY')\n test_sources += 'test_flow_classify.c'\n fast_tests += [['flow_classify_autotest', false, true]]\n@@ -408,6 +415,7 @@ if dpdk_conf.has('RTE_LIB_EVENTDEV') and dpdk_conf.has('RTE_NET_RING')\n test_sources += 'test_pmd_ring.c'\n test_sources += 'test_event_eth_tx_adapter.c'\n test_sources += 'sample_packet_forward.c'\n+ test_sources += 'test_security_inline_proto.c'\n fast_tests += [['ring_pmd_autotest', true, true]]\n perf_test_names += 'ring_pmd_perf_autotest'\n fast_tests += [['event_eth_tx_adapter_autotest', false, true]]\n@@ -430,6 +438,7 @@ if dpdk_conf.has('RTE_NET_NULL')\n fast_tests += [['vdev_autotest', true, true]]\n endif\n if dpdk_conf.has('RTE_RAW_SKELETON')\n+ test_sources += 'test_rawdev.c'\n test_deps += 'raw_skeleton'\n fast_tests += [['rawdev_autotest', true, true]]\n endif\ndiff --git a/lib/meson.build b/lib/meson.build\nindex fac2f52cad..98a0672a04 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -68,8 +68,12 @@ libraries = [\n ]\n \n optional_libs = [\n+ 'bbdev',\n 'bitratestats',\n 'cfgfile',\n+ 'compressdev',\n+ 'dmadev',\n+ 'eventdev',\n 'flow_classify',\n 'gpudev',\n 'graph',\n@@ -79,11 +83,14 @@ optional_libs = [\n 'jobstats',\n 'latencystats',\n 'metrics',\n+ 'mldev',\n 'node',\n 'pdump',\n 'pipeline',\n 'port',\n 'power',\n+ 'rawdev',\n+ 'regexdev',\n 'table',\n 'vhost',\n ]\n", "prefixes": [ "v3", "2/8" ] }{ "id": 128952, "url": "