get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35128,
    "url": "http://patches.dpdk.org/api/patches/35128/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1518431155-5556-1-git-send-email-jingjing.wu@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": "<1518431155-5556-1-git-send-email-jingjing.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1518431155-5556-1-git-send-email-jingjing.wu@intel.com",
    "date": "2018-02-12T10:25:55",
    "name": "[dpdk-dev,v2] doc: update doc for intel VF usage",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cf328558c31f3c379be9b92d865ca21d7f77f653",
    "submitter": {
        "id": 47,
        "url": "http://patches.dpdk.org/api/people/47/?format=api",
        "name": "Jingjing Wu",
        "email": "jingjing.wu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1518431155-5556-1-git-send-email-jingjing.wu@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35128/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/35128/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 5EB2F1B301;\n\tMon, 12 Feb 2018 11:34:55 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 44FE81B300\n\tfor <dev@dpdk.org>; Mon, 12 Feb 2018 11:34:53 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Feb 2018 02:34:52 -0800",
            "from dpdk2.sh.intel.com ([10.67.118.195])\n\tby orsmga002.jf.intel.com with ESMTP; 12 Feb 2018 02:34:51 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,501,1511856000\"; d=\"scan'208\";a=\"33999265\"",
        "From": "Jingjing Wu <jingjing.wu@intel.com>",
        "To": "john.mcnamara@intel.com",
        "Cc": "wenzhuo.lu@intel.com,\n\tjingjing.wu@intel.com,\n\tdev@dpdk.org",
        "Date": "Mon, 12 Feb 2018 18:25:55 +0800",
        "Message-Id": "<1518431155-5556-1-git-send-email-jingjing.wu@intel.com>",
        "X-Mailer": "git-send-email 2.4.11",
        "In-Reply-To": "<1518430521-5008-1-git-send-email-jingjing.wu@intel.com>",
        "References": "<1518430521-5008-1-git-send-email-jingjing.wu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2] doc: update doc for intel VF usage",
        "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": "update for intel VF usage:\n - Add note for AVF device ID generation.\n - Add steps for vfio-pci pass through.\n\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\nv2 change:\n fix typo\n\n doc/guides/nics/intel_vf.rst | 21 ++++++++++++++++++++-\n 1 file changed, 20 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/nics/intel_vf.rst b/doc/guides/nics/intel_vf.rst\nindex d281538..49a7085 100644\n--- a/doc/guides/nics/intel_vf.rst\n+++ b/doc/guides/nics/intel_vf.rst\n@@ -74,7 +74,7 @@ every new drop of the VF driver would add more and more advanced features that c\n advanced features based on a device agnostic way without ever compromising on the base functionality. AVF provides generic hardware interface and\n interface between AVF driver and a compliant PF driver is specified.\n \n-Intel products starting Ethernet Controller 710 Series to support Adaptive Virtual Function.\n+Intel products starting Ethernet Controller 700 Series to support Adaptive Virtual Function.\n \n The way to generate Virtual Function is like normal, and the resource of VF assignment depends on the NIC Infrastructure.\n \n@@ -82,6 +82,12 @@ For more detail on SR-IOV, please refer to the following documents:\n \n *   `Intel® AVF HAS <https://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ethernet-adaptive-virtual-function-hardware-spec.pdf>`_\n \n+.. note::\n+\n+    To use DPDK AVF PMD on Intel® 700 Series Ethernet Controller, the device id (0x1889) need to specified during device\n+    assignment in hypervisor. Take qemu for example, the device assignment should carry the AVF device id (0x1889) like\n+    ``-device vfio-pci,x-pci-device-id=0x1889,host=03:0a.0``.\n+\n The PCIE host-interface of Intel Ethernet Switch FM10000 Series VF infrastructure\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n \n@@ -498,6 +504,19 @@ The setup procedure is as follows:\n \n         For more information, please refer to: `http://wiki.qemu.org/Features/CPUModels <http://wiki.qemu.org/Features/CPUModels>`_.\n \n+#.  If use vfio-pci to pass through device instead of pci-assign, steps 8 and 9 need to be updated to bind device to vfio-pci and\n+    replace pci-assign with vfio-pci when start virtual machine.\n+\n+    .. code-block:: console\n+\n+        sudo /sbin/modprobe vfio-pci\n+\n+        echo \"8086 10ed\" > /sys/bus/pci/drivers/vfio-pci/new_id\n+        echo 0000:08:10.0 > /sys/bus/pci/devices/0000:08:10.0/driver/unbind\n+        echo 0000:08:10.0 > /sys/bus/pci/drivers/vfio-pci/bind\n+\n+        /usr/local/kvm/bin/qemu-system-x86_64 -m 4096 -smp 4 -boot c -hda lucid.qcow2 -device vfio-pci,host=08:10.0\n+\n #.  Install and run DPDK host app to take  over the Physical Function. Eg.\n \n     .. code-block:: console\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}