get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56422,
    "url": "http://patches.dpdk.org/api/patches/56422/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190715075214.16616-1-tiwei.bie@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": "<20190715075214.16616-1-tiwei.bie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190715075214.16616-1-tiwei.bie@intel.com",
    "date": "2019-07-15T07:52:09",
    "name": "[RFC,v2,0/5] Add mdev (Mediated device) support in DPDK",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 617,
        "url": "http://patches.dpdk.org/api/people/617/?format=api",
        "name": "Tiwei Bie",
        "email": "tiwei.bie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190715075214.16616-1-tiwei.bie@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/56422/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/56422/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 BEEA91B94F;\n\tMon, 15 Jul 2019 09:54:11 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 7D43E322C\n\tfor <dev@dpdk.org>; Mon, 15 Jul 2019 09:54:10 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jul 2019 00:54:09 -0700",
            "from npg-dpdk-virtio-tbie-2.sh.intel.com ([10.67.104.66])\n\tby FMSMGA003.fm.intel.com with ESMTP; 15 Jul 2019 00:54:08 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,493,1557212400\"; d=\"scan'208\";a=\"175025601\"",
        "From": "Tiwei Bie <tiwei.bie@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, anatoly.burakov@intel.com,\n\tbruce.richardson@intel.com, keith.wiles@intel.com,\n\tdavid.marchand@redhat.com, alejandro.lucero@netronome.com,\n\tcunming.liang@intel.com",
        "Date": "Mon, 15 Jul 2019 15:52:09 +0800",
        "Message-Id": "<20190715075214.16616-1-tiwei.bie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190403071844.21126-1-tiwei.bie@intel.com>",
        "References": "<20190403071844.21126-1-tiwei.bie@intel.com>",
        "Subject": "[dpdk-dev] [RFC v2 0/5] Add mdev (Mediated device) support in DPDK",
        "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": "Hi everyone,\n\nThis is a draft implementation of the mdev (Mediated device [1])\nsupport in DPDK PCI bus driver. Mdev is a way to virtualize devices\nin Linux kernel. Based on the device-api (mdev_type/device_api),\nthere could be different types of mdev devices (e.g. vfio-pci).\nIn this RFCv2, the PCI bus driver is extended to support scanning\nand probing the mdev devices whose device-api is \"vfio-pci\".\n\n                     +---------+\n                     | PCI bus |\n                     +----+----+\n                          |\n         +--------+-------+-------+--------+\n         |        |               |        |\n  Physical PCI devices ...   Mediated PCI devices ...\n\nRFCv2:\n- Let PCI bus scan mediated PCI devices directly\n- Address Keith's comments\n- Merge below patch into this series (David)\n   http://patches.dpdk.org/patch/55927/\n- Add internal representation of PCI device (David)\n- Minor fixes and improvements\n\n[1] https://github.com/torvalds/linux/blob/master/Documentation/vfio-mediated-device.txt\n\nThanks,\nTiwei\n\nTiwei Bie (5):\n  bus/pci: introduce an internal representation of PCI device\n  bus/pci: avoid depending on private value in kernel source\n  bus/pci: introduce helper for MMIO read and write\n  eal: add a helper for reading string from sysfs\n  bus/pci: add mdev support\n\n drivers/bus/pci/bsd/pci.c               |  36 ++-\n drivers/bus/pci/linux/Makefile          |   1 +\n drivers/bus/pci/linux/pci.c             | 105 ++++++--\n drivers/bus/pci/linux/pci_init.h        |  29 ++-\n drivers/bus/pci/linux/pci_uio.c         |  22 ++\n drivers/bus/pci/linux/pci_vfio.c        | 314 ++++++++++++++++++++----\n drivers/bus/pci/linux/pci_vfio_mdev.c   | 236 ++++++++++++++++++\n drivers/bus/pci/meson.build             |   3 +-\n drivers/bus/pci/pci_common.c            |  31 +--\n drivers/bus/pci/private.h               |  22 ++\n drivers/bus/pci/rte_bus_pci.h           |  65 ++++-\n drivers/bus/pci/rte_bus_pci_version.map |   7 +\n lib/librte_eal/common/eal_filesystem.h  |  10 +\n lib/librte_eal/freebsd/eal/eal.c        |  22 ++\n lib/librte_eal/linux/eal/eal.c          |  39 ++-\n lib/librte_eal/rte_eal_version.map      |   1 +\n 16 files changed, 838 insertions(+), 105 deletions(-)\n create mode 100644 drivers/bus/pci/linux/pci_vfio_mdev.c",
    "diff": null,
    "prefixes": [
        "RFC",
        "v2",
        "0/5"
    ]
}