get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/128924/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 128924,
    "url": "http://patchwork.dpdk.org/api/patches/128924/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230622134840.3225975-2-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": "<20230622134840.3225975-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230622134840.3225975-2-bruce.richardson@intel.com",
    "date": "2023-06-22T13:48:34",
    "name": "[1/7] build: make most device classes optional",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9c525cb9c58fe010ef3fc3f5a89b1e3bba8beb03",
    "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/20230622134840.3225975-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 28618,
            "url": "http://patchwork.dpdk.org/api/series/28618/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28618",
            "date": "2023-06-22T13:48:33",
            "name": "expand list of optional libraries",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/28618/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/128924/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128924/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 7CF4442D1C;\n\tThu, 22 Jun 2023 16:20:21 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 365F042B71;\n\tThu, 22 Jun 2023 16:20:18 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 2164F406A2\n for <dev@dpdk.org>; Thu, 22 Jun 2023 16:20:14 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jun 2023 06:48:50 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.166])\n by orsmga006.jf.intel.com with ESMTP; 22 Jun 2023 06:48:49 -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=1687443615; x=1718979615;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=lu3DAOb+saZuNpGK2akQHGEdoVvHw3lF/SKGZNd6hWo=;\n b=X13LGyVr1ohKYMfy+BruXucZiM3VQFr2FEs5d5He+OGZNZIerGII+f5Y\n rbp0ThG7UMvpeDs73Q9dwv+40lZRuXHEYjbyhlactREFVJ3hvN321ZLz5\n HtvgBjjkePGkfxMGJpF+72TNJIv9P0G9c7I+1rezNysDbEiaZZKn1BO8K\n 6hbafsOFUZJRSJkbRLGHU9RUq7Ul5ofhnITcL1QuP0JJaI73SkDPYVFiX\n 7vhWpWdNJWgaf3dKigk11XFNcEnXdAx0nHdX51GMZ+JgZmUtRMcr6CK51\n b4C2wGuZ2xbHPyU2F1vmquG9bd/HY2Bg31vsKpn5xrq8yVJrngqYRbBqt Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10749\"; a=\"363932113\"",
            "E=Sophos;i=\"6.01,149,1684825200\"; d=\"scan'208\";a=\"363932113\"",
            "E=McAfee;i=\"6600,9927,10748\"; a=\"692272480\"",
            "E=Sophos;i=\"6.01,263,1684825200\"; d=\"scan'208\";a=\"692272480\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "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",
        "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>\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 d0fabcbb8b..780005f320 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@@ -105,7 +98,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@@ -129,7 +121,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@@ -188,7 +179,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@@ -234,7 +224,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@@ -321,7 +310,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@@ -359,6 +347,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@@ -403,6 +410,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@@ -425,6 +433,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 9677239236..679a81f62f 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         'gro',\n@@ -78,11 +82,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": [
        "1/7"
    ]
}