get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94403,
    "url": "https://patches.dpdk.org/api/patches/94403/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210618092615.202107-3-junx.dong@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210618092615.202107-3-junx.dong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210618092615.202107-3-junx.dong@intel.com",
    "date": "2021-06-18T09:26:14",
    "name": "[V1,2/3] test_plans/*: update test plan about enable IAVF",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2b3990b2f74b7efde92cb92db67b2e2b7f92c638",
    "submitter": {
        "id": 2237,
        "url": "https://patches.dpdk.org/api/people/2237/?format=api",
        "name": "Jun Dong",
        "email": "junx.dong@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210618092615.202107-3-junx.dong@intel.com/mbox/",
    "series": [
        {
            "id": 17392,
            "url": "https://patches.dpdk.org/api/series/17392/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=17392",
            "date": "2021-06-18T09:26:12",
            "name": "remove enable IAVF function",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17392/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94403/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/94403/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D8E9FA0C46;\n\tFri, 18 Jun 2021 11:27:00 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D41B9410E5;\n\tFri, 18 Jun 2021 11:27:00 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id ADBF140142\n for <dts@dpdk.org>; Fri, 18 Jun 2021 11:26:58 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Jun 2021 02:26:54 -0700",
            "from unknown (HELO localhost.localdomain.sh.intel.com)\n ([10.240.182.57])\n by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Jun 2021 02:26:52 -0700"
        ],
        "IronPort-SDR": [
            "\n qB7aMrmGtpD5IPoI3zmEyYEitBHvwL4zbqq6CZG/W1tw+sXIV2dPENC8iWDmND4GvPzB93YMW2\n DcpXxuqJr+cA==",
            "\n j38YXDca7vd5Bl8hbN+7wgBWXgsjoyembe+yaftiNP2Bv5K7P7F6qibgGQ1X9YPWIj/8PsvWvW\n jjP1xsjFl2wQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10018\"; a=\"267670286\"",
            "E=Sophos;i=\"5.83,283,1616482800\"; d=\"scan'208\";a=\"267670286\"",
            "E=Sophos;i=\"5.83,283,1616482800\"; d=\"scan'208\";a=\"485620783\""
        ],
        "From": "Jun Dong <junx.dong@intel.com>",
        "To": "junx.dong@intel.com",
        "Cc": "dts@dpdk.org",
        "Date": "Fri, 18 Jun 2021 17:26:14 +0800",
        "Message-Id": "<20210618092615.202107-3-junx.dong@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210618092615.202107-1-junx.dong@intel.com>",
        "References": "<20210618092615.202107-1-junx.dong@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 2/3] test_plans/*: update test plan about enable\n IAVF",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "* update iavf test plan\n* update vf_l3fwd test plan\n\nSigned-off-by: Jun Dong <junx.dong@intel.com>\n---\n test_plans/iavf_test_plan.rst     | 23 ++++-------------------\n test_plans/vf_l3fwd_test_plan.rst |  5 -----\n 2 files changed, 4 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst\nindex b760a633..4855e175 100644\n--- a/test_plans/iavf_test_plan.rst\n+++ b/test_plans/iavf_test_plan.rst\n@@ -43,14 +43,7 @@ I40E driver NIC (Fortville XXV710, Fortville Spirit, Fortville Eagle)\n \n Prerequisites\n =======================\n-1. Modify and build DPDK source code to enable IAVF function for I40E NIC::\n-\n-    sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c\n-    sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g'  drivers/net/i40e/base/i40e_devids.h\n-\n-    make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc\n-\n-2. Configure PF and VF::\n+1. Configure PF and VF::\n \n     modprobe uio;\n     insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko;\n@@ -59,14 +52,14 @@ Prerequisites\n     echo 1 > /sys/bus/pci/devices/0000\\:08\\:00.0/max_vfs\n     echo 1 > /sys/bus/pci/devices/0000\\:08\\:00.1/max_vfs\n \n-3. Start testpmd on host to configure VF ports' mac::\n+2. Start testpmd on host to configure VF ports' mac::\n \n     ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-5 -n 4  -- -i\n \n     testpmd>set vf mac addr 0 0 00:12:34:56:78:01\n     testpmd>set vf mac addr 1 0 00:12:34:56:78:02\n \n-4. Pass through VF 09:02.0 and 09:0a.0 to VM0::\n+3. Pass through VF 09:02.0 and 09:0a.0 to VM0::\n \n     taskset -c 24,25 qemu-system-x86_64  \\\n     -name vm0 -enable-kvm -pidfile /tmp/.vm0.pid -daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait \\\n@@ -76,15 +69,7 @@ Prerequisites\n     -device virtio-serial -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 -vnc :1 \\\n     -drive file=/home/image/sriov-fc25-1.img,format=raw,if=virtio,index=0,media=disk\n \n-\n-5. Modify and build DPDK source code to enable IAVF function for I40E NIC in VM::\n-\n-    sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c\n-    sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g'  drivers/net/i40e/base/i40e_devids.h\n-\n-    make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc\n-\n-6. Bind VF to igb_uio or vfio-pic in VM::\n+4. Bind VF to igb_uio or vfio-pic in VM::\n \n     ./usertools/dpdk-devbind.py --bind=igb_uio 00:04.0 00:05.0\n     or\ndiff --git a/test_plans/vf_l3fwd_test_plan.rst b/test_plans/vf_l3fwd_test_plan.rst\nindex 6d816dd8..efdedda4 100644\n--- a/test_plans/vf_l3fwd_test_plan.rst\n+++ b/test_plans/vf_l3fwd_test_plan.rst\n@@ -85,11 +85,6 @@ Prerequisites\n * Case config:\n     For test vf_l3fwd perf, need to set \"define RTE_TEST_RX_DESC_DEFAULT 2048\" and \"define RTE_TEST_TX_DESC_DEFAULT 2048\"\n     in ./examples/l3fwd/l3fwd.h and re-build l3fwd.\n-  Note:\n-    Only FVL need to change code to support iavf, when dpdk use iavf as default vf driver, no need to change code.\n-    If test iavf on FVL, need to change \"{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) }\" to\n-    \"a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) }\" in ./drivers/net/iavf/iavf_ethdev.c,\n-    and set \"I40E_DEV_ID_VF 0x164C\" in ./drivers/net/i40e/base/i40e_devids.h and re-build DPDK.\n \n Setup overview\n ==============\n",
    "prefixes": [
        "V1",
        "2/3"
    ]
}