Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/81702/?format=api
http://patches.dpdk.org/api/patches/81702/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1603280261-20206-6-git-send-email-juraj.linkes@pantheon.tech/", "project": { "id": 1, "url": "http://patches.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": "<1603280261-20206-6-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1603280261-20206-6-git-send-email-juraj.linkes@pantheon.tech", "date": "2020-10-21T11:37:40", "name": "[RFC,v3,5/6] build: disable Arm drivers", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "851fae01336159a463a2eb13baf1b45812fc019a", "submitter": { "id": 1626, "url": "http://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1603280261-20206-6-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 13176, "url": "http://patches.dpdk.org/api/series/13176/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13176", "date": "2020-10-21T11:37:36", "name": "Arm build options rework", "version": 3, "mbox": "http://patches.dpdk.org/series/13176/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/81702/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/81702/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1B199A04DF;\n\tWed, 21 Oct 2020 13:39:18 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3D387AD22;\n\tWed, 21 Oct 2020 13:38:10 +0200 (CEST)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id E2361AD01\n for <dev@dpdk.org>; Wed, 21 Oct 2020 13:37:59 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 12359B6A8F;\n Wed, 21 Oct 2020 13:37:58 +0200 (CEST)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id sSJyJ7-Lo-59; Wed, 21 Oct 2020 13:37:57 +0200 (CEST)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 98163B6B4B;\n Wed, 21 Oct 2020 13:37:52 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "bruce.richardson@intel.com, Ruifeng.Wang@arm.com,\n Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com,\n Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com", "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "Date": "Wed, 21 Oct 2020 13:37:40 +0200", "Message-Id": "<1603280261-20206-6-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1603280261-20206-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1602600882-695-1-git-send-email-juraj.linkes@pantheon.tech>\n <1603280261-20206-1-git-send-email-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [RFC PATCH v3 5/6] build: disable Arm drivers", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "A few options that disabled drivers in the old makefiles were improperly\nported to the meson build system. Fix this by adding a to the list of\ndisabled drivers, similarly how the command line option works.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n config/arm/meson.build | 9 +++++----\n drivers/meson.build | 2 +-\n meson.build | 1 +\n 3 files changed, 7 insertions(+), 5 deletions(-)", "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 5605e807b..87a208c97 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -8,6 +8,11 @@\n arm_force_native_march = false\n native_machine_args = ['-march=native', '-mtune=native']\n \n+# RFC: do we want these drivers to be disabled by default on arm?\n+# The previous way to disable these drivers never worked\n+# RTE_NET_AVP and the rest would be overwritten to true if the necessary deps were found\n+disabled_drivers += ['net/avp', 'net/fm10k', 'net/sfc']\n+\n # common flags to all aarch64 builds, with lowest priority\n flags_common_default = [\n \t# Accelarate rte_memcpy. Be sure to run unit test (memcpy_perf_autotest)\n@@ -23,10 +28,6 @@ flags_common_default = [\n \t#\t['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],\n \t#\t['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],\n \n-\t['RTE_NET_FM10K', false],\n-\t['RTE_NET_SFC_EFX', false],\n-\t['RTE_NET_AVP', false],\n-\n \t['RTE_SCHED_VECTOR', false],\n \t['RTE_ARM_USE_WFE', false],\n \t['RTE_CACHE_LINE_SIZE', 128],\ndiff --git a/drivers/meson.build b/drivers/meson.build\nindex a5a6fed06..a41ff909e 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -18,7 +18,7 @@ subdirs = [\n \t'baseband', # depends on common and bus.\n ]\n \n-disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'),\n+disabled_drivers += run_command(list_dir_globs, get_option('disable_drivers'),\n \t\t).stdout().split()\n \n default_cflags = machine_args\ndiff --git a/meson.build b/meson.build\nindex 61d9a4f5f..8dadd70dc 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -21,6 +21,7 @@ dpdk_drivers = []\n dpdk_extra_ldflags = []\n dpdk_libs_disabled = []\n dpdk_drvs_disabled = []\n+disabled_drivers = []\n abi_version_file = files('ABI_VERSION')\n \n if host_machine.cpu_family().startswith('x86')\n", "prefixes": [ "RFC", "v3", "5/6" ] }{ "id": 81702, "url": "