get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 46086,
    "url": "http://patches.dpdk.org/api/patches/46086/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1538662203-32585-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": "<1538662203-32585-2-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1538662203-32585-2-git-send-email-agalyax.babu.radhakrishnan@intel.com",
    "date": "2018-10-04T14:09:58",
    "name": "[v4,1/6] build: fix for FREEBSD build via meson",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "01754c9c3ea7b7d7ed77ad304923520005bb7c52",
    "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/1538662203-32585-2-git-send-email-agalyax.babu.radhakrishnan@intel.com/mbox/",
    "series": [
        {
            "id": 1694,
            "url": "http://patches.dpdk.org/api/series/1694/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1694",
            "date": "2018-10-04T14:10:00",
            "name": "[v4,1/6] build: fix for FREEBSD build via meson",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/1694/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/46086/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/46086/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 785C21B48F;\n\tThu,  4 Oct 2018 16:10:41 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 614461B48E\n\tfor <dev@dpdk.org>; Thu,  4 Oct 2018 16:10:39 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t04 Oct 2018 07:10:38 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga007.fm.intel.com with ESMTP; 04 Oct 2018 07:10:22 -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\tw94EALD1003671; Thu, 4 Oct 2018 15:10:21 +0100",
            "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id w94EA6a4000696;\n\tThu, 4 Oct 2018 15:10:06 +0100",
            "(from agalyabx@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id w94EA6FS000692;\n\tThu, 4 Oct 2018 15:10:06 +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,340,1534834800\"; d=\"scan'208\";a=\"75387097\"",
        "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,  4 Oct 2018 15:09:58 +0100",
        "Message-Id": "<1538662203-32585-2-git-send-email-agalyax.babu.radhakrishnan@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1538659944-18733-1>",
        "References": "<1538659944-18733-1>",
        "Subject": "[dpdk-dev] [PATCH v4 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: 844514c735 (\"eal: build with meson\")\n\nSigned-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n config/meson.build  | 3 +++\n config/rte_config.h | 1 -\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/config/meson.build b/config/meson.build\nindex 6f9228c87..b95bca018 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -100,3 +100,6 @@ dpdk_conf.set('RTE_COMPILE_TIME_CPUFLAGS', ','.join(compile_time_cpuflags))\n dpdk_conf.set_quoted('RTE_EAL_PMD_PATH', eal_pmd_path)\n \n install_headers('rte_config.h', subdir: get_option('include_subdir_arch'))\n+\n+# enable VFIO only if it is linux OS\n+dpdk_conf.set('RTE_EAL_VFIO', host_machine.system() == 'linux')\ndiff --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 */\n",
    "prefixes": [
        "v4",
        "1/6"
    ]
}