Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/128968/?format=api
http://patchwork.dpdk.org/api/patches/128968/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230623150708.2203918-6-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": "<20230623150708.2203918-6-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230623150708.2203918-6-bruce.richardson@intel.com", "date": "2023-06-23T15:07:04", "name": "[v4,5/9] 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/20230623150708.2203918-6-bruce.richardson@intel.com/mbox/", "series": [ { "id": 28628, "url": "http://patchwork.dpdk.org/api/series/28628/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28628", "date": "2023-06-23T15:06:59", "name": "expand list of optional libraries", "version": 4, "mbox": "http://patchwork.dpdk.org/series/28628/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/128968/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/128968/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 2DBA742D31;\n\tFri, 23 Jun 2023 17:08:09 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7281142D3A;\n\tFri, 23 Jun 2023 17:07:44 +0200 (CEST)", "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 98EE842BFE\n for <dev@dpdk.org>; Fri, 23 Jun 2023 17:07:37 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2023 08:07:27 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga006.jf.intel.com with ESMTP; 23 Jun 2023 08:07: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=1687532859; x=1719068859;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=wnWUAk6ppaOemp/rnSEcomYQYfg0oNNyDll/+wIkV0I=;\n b=Y34dwxzXx44ymKg3qeXW7FkpjCRRPUa6WdUG4zO4ZuGsoxMAin6gXsG4\n uHRx+f4cSV0ZdvaHH9OyJlO17/D1RuqM1GevkF2roc5rhQbRK9Yr+tXLJ\n tr2IpHyxXBOysToM9zooKktJHW8YFIUJSomT+l+fLcF3336ExNxLdS0VP\n B3DM0XX40mayq5z+niZeH2OnIqgXHUFONVuxjwcmNe5dzFOIC/TIIA/5q\n PuuY1QpPFo+1TBVCOGPAr9WMUvIoze5ADdBMtRf63SHQ0FWDc/wwdlypN\n SSKl//GOQlWRfHalOdfB+HSvW6f1waEA9KNwPyPVFAtAdclIUMax6d0v1 g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10750\"; a=\"424467955\"", "E=Sophos;i=\"6.01,152,1684825200\"; d=\"scan'208\";a=\"424467955\"", "E=McAfee;i=\"6600,9927,10750\"; a=\"692697275\"", "E=Sophos;i=\"6.01,152,1684825200\"; d=\"scan'208\";a=\"692697275\"" ], "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 v4 5/9] build: make bpf library optional", "Date": "Fri, 23 Jun 2023 16:07:04 +0100", "Message-Id": "<20230623150708.2203918-6-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230623150708.2203918-1-bruce.richardson@intel.com>", "References": "<20230622134840.3225975-1-bruce.richardson@intel.com>\n <20230623150708.2203918-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 0f9992c0b2..0ef0bf690f 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": [ "v4", "5/9" ] }{ "id": 128968, "url": "