get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128955,
    "url": "http://patchwork.dpdk.org/api/patches/128955/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230623111508.786020-5-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-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230623111508.786020-5-bruce.richardson@intel.com",
    "date": "2023-06-23T11:15:04",
    "name": "[v3,4/8] build: make bpf library optional",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3d1786b2c305ddd20485374e4b8d7a5bb55bbb59",
    "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-5-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/128955/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128955/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 2275F42D2F;\n\tFri, 23 Jun 2023 13:16:11 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7C3B942D4B;\n\tFri, 23 Jun 2023 13:16:01 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 804DA42D35\n for <dev@dpdk.org>; Fri, 23 Jun 2023 13:15:56 +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:33 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by fmsmga004.fm.intel.com with ESMTP; 23 Jun 2023 04:15:32 -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=1687518956; x=1719054956;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=8hcJGdFJ5rZeVd+F0qHQiQnNHybzpbRfvcn6H8yuz/w=;\n b=mTFAtuoic0f7wvLt1lQQ1SuJrdbg81JttblrGBkcqxpHsSqTWEsLRo1u\n +aZmCKzjvaSoYf1SaBUojLifh/KEhgQVunTmcXkRHDdSaK7zjQiAV19mH\n KXeODsAA/L0qelPdEW7L3JBDr4oRwd3ccTVQ/amNFDrHgjDhLHn1KzWTs\n u8s1FfY5v3Va4NZYijdIhEFYX/N7NZq8fz6nfI+EfmfRAINsWAidWz2FA\n hZEY2Ds4lVf0DGoP4nH15e+i2lnMSeCcruzJZD/wYUqlbJg1h51rTVy7x\n aLsoDm6fF7f2zkdE+VijwSSoeSSbVAndUG6gm9XSdWXCltv2xrYUIFwXA w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10749\"; a=\"363295967\"",
            "E=Sophos;i=\"6.01,151,1684825200\"; d=\"scan'208\";a=\"363295967\"",
            "E=McAfee;i=\"6600,9927,10749\"; a=\"785307469\"",
            "E=Sophos;i=\"6.01,151,1684825200\"; d=\"scan'208\";a=\"785307469\""
        ],
        "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 4/8] build: make bpf library optional",
        "Date": "Fri, 23 Jun 2023 12:15:04 +0100",
        "Message-Id": "<20230623111508.786020-5-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": "This library is not essential for most DPDK uses, so mark it as optional\nin the build config.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n app/test/meson.build | 10 +++++++---\n lib/meson.build      |  1 +\n 2 files changed, 8 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 9166a1f3d6..4e86e886a5 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -15,7 +15,6 @@ test_sources = files(\n         'test_barrier.c',\n         'test_bitops.c',\n         'test_bitmap.c',\n-        'test_bpf.c',\n         'test_byteorder.c',\n         'test_cksum.c',\n         'test_cksum_perf.c',\n@@ -150,8 +149,6 @@ fast_tests = [\n         ['acl_autotest', true, true],\n         ['atomic_autotest', false, true],\n         ['bitmap_autotest', true, true],\n-        ['bpf_autotest', true, true],\n-        ['bpf_convert_autotest', true, true],\n         ['bitops_autotest', true, true],\n         ['byteorder_autotest', true, true],\n         ['cksum_autotest', true, true],\n@@ -341,6 +338,13 @@ if dpdk_conf.has('RTE_EVENT_SKELETON')\n     test_deps += 'event_skeleton'\n endif\n \n+if dpdk_conf.has('RTE_LIB_BPF')\n+    test_sources += 'test_bpf.c'\n+    fast_tests += [\n+        ['bpf_autotest', true, true],\n+        ['bpf_convert_autotest', true, true],\n+    ]\n+endif\n if dpdk_conf.has('RTE_LIB_DMADEV')\n     test_sources += ['test_dmadev.c', 'test_dmadev_api.c']\n     driver_test_names += 'dmadev_autotest'\ndiff --git a/lib/meson.build b/lib/meson.build\nindex de7069a078..47c18ca3b0 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -70,6 +70,7 @@ libraries = [\n optional_libs = [\n         'bbdev',\n         'bitratestats',\n+        'bpf',\n         'cfgfile',\n         'compressdev',\n         'dmadev',\n",
    "prefixes": [
        "v3",
        "4/8"
    ]
}