get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35322,
    "url": "http://patches.dpdk.org/api/patches/35322/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180221105609.GA2532@bricha3-MOBL3.ger.corp.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": "<20180221105609.GA2532@bricha3-MOBL3.ger.corp.intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180221105609.GA2532@bricha3-MOBL3.ger.corp.intel.com",
    "date": "2018-02-21T10:56:10",
    "name": "[dpdk-dev,v6] kernel folder for Linux and BSD modules",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "71810535643cb0d5464b3a2137a0b8e75c3700de",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180221105609.GA2532@bricha3-MOBL3.ger.corp.intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35322/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/35322/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 458941B1AF;\n\tWed, 21 Feb 2018 11:56:17 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id D1D331B1AD\n\tfor <dev@dpdk.org>; Wed, 21 Feb 2018 11:56:15 +0100 (CET)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Feb 2018 02:56:14 -0800",
            "from bricha3-mobl3.ger.corp.intel.com ([10.237.221.77])\n\tby orsmga006.jf.intel.com with SMTP; 21 Feb 2018 02:56:12 -0800",
            "by  (sSMTP sendmail emulation); Wed, 21 Feb 2018 10:56:10 +0000"
        ],
        "X-Amp-Result": "UNKNOWN",
        "X-Amp-Original-Verdict": "FILE UNKNOWN",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,543,1511856000\"; d=\"scan'208\";a=\"19962407\"",
        "Date": "Wed, 21 Feb 2018 10:56:10 +0000",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "Cc": "dev@dpdk.org, thomas@monjalon.net",
        "Message-ID": "<20180221105609.GA2532@bricha3-MOBL3.ger.corp.intel.com>",
        "References": "<1515769212-24122-1-git-send-email-hemant.agrawal@nxp.com>\n\t<1519200571-12620-1-git-send-email-hemant.agrawal@nxp.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<1519200571-12620-1-git-send-email-hemant.agrawal@nxp.com>",
        "Organization": "Intel Research and Development Ireland Ltd.",
        "User-Agent": "Mutt/1.9.1 (2017-09-22)",
        "Subject": "Re: [dpdk-dev] [PATCH v6] kernel folder for Linux and BSD modules",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "On Wed, Feb 21, 2018 at 01:39:31PM +0530, Hemant Agrawal wrote:\n> This patch moves the kernel modules code from EAL to a common place.\n>  - Separate the kernel module code from user space code.\n> \n> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n> Tested-by: Bruce Richardson <bruce.richardson@intel.com>\n> ---\n> v6: added meson build support\n> v5: rearrange kernel compliation as per Bruce's suggestion\n> v4: update the path in MAINTAINERS\n> v3: move contigmem from bsdapp\n> v2: rename kern to kernel, add freebsd modules as well\n> \nHi Hemant,\n\nfrom testing on FreeBSD, I believe these are the changes needed to allow\ncompilation with meson there. Nothing too drastic - mainly fix up the\nfolder names, and skip the subdir into the higher-level \"freebsd\" folder.\n\n/Bruce",
    "diff": "diff --git a/kernel/meson.build b/kernel/meson.build\nindex a5d5df7dd..697c419b6 100644\n--- a/kernel/meson.build\n+++ b/kernel/meson.build\n@@ -13,7 +13,6 @@ if host_machine.system() == 'linux'\n\n elif host_machine.system() == 'freebsd'\n        dpdk_conf.set('RTE_EXEC_ENV_BSDAPP', 1)\n-       subdir('freebsd')\n        kmods = ['contigmem', 'nic_uio']\n\n        # for building kernel modules, we use kernel build system using make, as\n@@ -26,9 +25,9 @@ elif host_machine.system() == 'freebsd'\n                        '-I' + join_paths(meson.source_root(), 'config'),\n                        '-include rte_config.h']\n        foreach k:kmods\n-               subdir(join_paths('bsdapp', k))\n+               subdir(join_paths('freebsd', k))\n                custom_target(k,\n-                       input: [files('bsdapp/BSDmakefile.meson'), sources],\n+                       input: [files('freebsd/BSDmakefile.meson'), sources],\n                        output: k + '.ko',\n                        command: ['make', '-f', '@INPUT0@',\n                                'KMOD_SRC=@INPUT1@',\n",
    "prefixes": [
        "dpdk-dev",
        "v6"
    ]
}