Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45522/?format=api
http://patches.dpdk.org/api/patches/45522/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1538054652-20820-2-git-send-email-agalyax.babu.radhakrishnan@intel.com/", "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": "<1538054652-20820-2-git-send-email-agalyax.babu.radhakrishnan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1538054652-20820-2-git-send-email-agalyax.babu.radhakrishnan@intel.com", "date": "2018-09-27T13:24:07", "name": "[1/6] build: fix for FREEBSD build via meson", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ff013ef50e0d96540460fd357a5eb331dcaecb0a", "submitter": { "id": 1138, "url": "http://patches.dpdk.org/api/people/1138/?format=api", "name": "Babu Radhakrishnan, AgalyaX", "email": "agalyax.babu.radhakrishnan@intel.com" }, "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/1538054652-20820-2-git-send-email-agalyax.babu.radhakrishnan@intel.com/mbox/", "series": [ { "id": 1551, "url": "http://patches.dpdk.org/api/series/1551/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1551", "date": "2018-09-27T13:24:10", "name": "fix for meson builds in freebsd", "version": 1, "mbox": "http://patches.dpdk.org/series/1551/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/45522/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/45522/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 77F5C1B4CE;\n\tThu, 27 Sep 2018 15:24:51 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id CE9921B4C5\n\tfor <dev@dpdk.org>; Thu, 27 Sep 2018 15:24:49 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Sep 2018 06:24:49 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga007.jf.intel.com with ESMTP; 27 Sep 2018 06:24:35 -0700", "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw8RDOYIX012842; Thu, 27 Sep 2018 14:24:34 +0100", "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id w8RDOLs7021200;\n\tThu, 27 Sep 2018 14:24:21 +0100", "(from nsomarox@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id w8RDOLDn021196;\n\tThu, 27 Sep 2018 14:24:21 +0100" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,310,1534834800\"; d=\"scan'208\";a=\"76449723\"", "From": "Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>", "To": "dev@dpdk.org", "Cc": "alejandro.lucero@netronome.com, allain.legacy@windriver.com,\n\tjasvinder.singh@intel.com, keith.wiles@intel.com, matan@mellanox.com, \n\tbruce.richardson@intel.com, reshma.pattan@intel.com,\n\tAgalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>", "Date": "Thu, 27 Sep 2018 14:24:07 +0100", "Message-Id": "<1538054652-20820-2-git-send-email-agalyax.babu.radhakrishnan@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": "<1538054652-20820-1-git-send-email-agalyax.babu.radhakrishnan@intel.com>", "References": "<1538054652-20820-1-git-send-email-agalyax.babu.radhakrishnan@intel.com>", "Subject": "[dpdk-dev] [PATCH 1/6] build: fix for FREEBSD build via meson", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "FreeBSD compilation was failing through meson build.\nRTE_EAL_VFIO is not supported in FreeBSD.\nBut RTE_EAL_VFIO was enabled for both linux and freebsd.\nSo RTE_EAL_VFIO is removed from config/rte_config.h and\nbased on the platform RTE_EAL_VFIO flag is enabled/disabled appropriately.\n\nFixes: 6e8a721044 (\"vfio: export functions even when disabled\")\n\nSigned-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>\n---\n config/rte_config.h | 1 -\n lib/meson.build | 6 ++++++\n 2 files changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/config/rte_config.h b/config/rte_config.h\nindex 567051b9c..53c568929 100644\n--- a/config/rte_config.h\n+++ b/config/rte_config.h\n@@ -34,7 +34,6 @@\n #define RTE_MAX_TAILQ 32\n #define RTE_LOG_DP_LEVEL RTE_LOG_INFO\n #define RTE_BACKTRACE 1\n-#define RTE_EAL_VFIO 1\n #define RTE_MAX_VFIO_CONTAINERS 64\n \n /* bsd module defines */\ndiff --git a/lib/meson.build b/lib/meson.build\nindex 3acc67e6e..1b20027a5 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -31,6 +31,12 @@ if cc.has_argument('-Wno-format-truncation')\n \tdefault_cflags += '-Wno-format-truncation'\n endif\n \n+if host_machine.system() == 'linux'\n+\tdpdk_conf.set('RTE_EAL_VFIO', true)\n+else\n+\tdpdk_conf.set('RTE_EAL_VFIO', false)\n+endif\n+\n enabled_libs = [] # used to print summary at the end\n foreach l:libraries\n \tbuild = true\n", "prefixes": [ "1/6" ] }{ "id": 45522, "url": "