get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114730,
    "url": "http://patches.dpdk.org/api/patches/114730/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220809112507.8567-2-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20220809112507.8567-2-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220809112507.8567-2-zhiminx.huang@intel.com",
    "date": "2022-08-09T11:25:06",
    "name": "[V1,2/3] test_plans/*:add 22.07 new feature, support in dcf mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ae48ef031e3e845791766844513523f5cfa5fb09",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220809112507.8567-2-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 24231,
            "url": "http://patches.dpdk.org/api/series/24231/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24231",
            "date": "2022-08-09T11:25:05",
            "name": "[V1,1/3] framework/*:add dcf mode into execution file",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24231/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114730/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/114730/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 0041FA0542;\n\tTue,  9 Aug 2022 05:06:46 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EDFB442B8A;\n\tTue,  9 Aug 2022 05:06:46 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id E88F240143\n for <dts@dpdk.org>; Tue,  9 Aug 2022 05:06:44 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Aug 2022 20:06:44 -0700",
            "from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93])\n by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Aug 2022 20:06:43 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1660014405; x=1691550405;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=2vCyqZKKAbXasM66paqMKf7sEcSJLLGfPTBXgSuP03E=;\n b=m6bDdonU8MDgiBURv8l89m5yPKIDObOGLi43UfOoFnudrC8gT7s5ANTJ\n 12giVZxqc9TThs8rzaZqgS4UMHvfenOpxqin9+dJTxzDdZGXIuh5ReWBt\n NZFUrCfIkxE26crc8dUwNlfEkMS1wHcoTnRrWvuJjQl514Y2VgnWyzWJR\n fgg1isCHhTvbfVmKunyiseB3pnqAh1eJIkq7pK1DcMsbnl6W8Ur+9e9tY\n n3NjlDknk46Pp5XWvhEW8d6ONe/3WuoSIjp8FosljUN+ZeiVJtDgOvMGS\n GR4/cAX9QLi9lfqvHmHBLkAQxvcYoXhCfwzXWhhKtDt848RWE9pI6Cybr g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10433\"; a=\"288306265\"",
            "E=Sophos;i=\"5.93,223,1654585200\"; d=\"scan'208\";a=\"288306265\"",
            "E=Sophos;i=\"5.93,223,1654585200\"; d=\"scan'208\";a=\"555179851\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts][PATCH V1 2/3] test_plans/*:add 22.07 new feature,\n support in dcf mode",
        "Date": "Tue,  9 Aug 2022 19:25:06 +0800",
        "Message-Id": "<20220809112507.8567-2-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20220809112507.8567-1-zhiminx.huang@intel.com>",
        "References": "<20220809112507.8567-1-zhiminx.huang@intel.com>",
        "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"
    },
    "content": "add description for support dcf case.\ninclude set trust on and start up.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/kernelpf_iavf_test_plan.rst | 12 ++++++++++++\n test_plans/vf_macfilter_test_plan.rst  | 16 ++++++++++++++++\n test_plans/vf_offload_test_plan.rst    | 14 ++++++++++++++\n test_plans/vf_rss_test_plan.rst        | 13 +++++++++++++\n test_plans/vf_smoke_test_plan.rst      | 13 +++++++++++++\n test_plans/vf_vlan_test_plan.rst       | 14 +++++++++++++-\n 6 files changed, 81 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst\nindex 8c7d1ad5..60fbebde 100644\n--- a/test_plans/kernelpf_iavf_test_plan.rst\n+++ b/test_plans/kernelpf_iavf_test_plan.rst\n@@ -44,6 +44,18 @@ Start up VF port::\n \n     ./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i\n \n+Or set VF port to dcf and start up::\n+\n+   Enable kernel trust mode:\n+\n+       ip link set $PF_INTF vf 0 trust on\n+\n+    ./<build_target>/app/dpdk-testpmd -c f -n 4 -a 0000:18:01.0,cap=dcf -- -i\n+\n+.. note::\n+\n+   make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n Test case: VF basic RX/TX\n =========================\n Set rxonly forward, start testpmd\ndiff --git a/test_plans/vf_macfilter_test_plan.rst b/test_plans/vf_macfilter_test_plan.rst\nindex d623cf04..e2f3c355 100644\n--- a/test_plans/vf_macfilter_test_plan.rst\n+++ b/test_plans/vf_macfilter_test_plan.rst\n@@ -77,6 +77,14 @@ Test Case 1: test_kernel_2pf_2vf_1vm_iplink_macfilter\n       testpmd> set fwd mac\n       testpmd> start\n \n+   Or set VF port to dcf and start up::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0,cap=dcf -a 00:07.0,cap=dcf -- -i --portmask=0x3\n+\n+.. note::\n+\n+      make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n 6. Use scapy to send 100 random packets with ip link set MAC to VF, verify the\n    packets can be received by one VF and can be forwarded to another VF\n    correctly.\n@@ -156,6 +164,14 @@ Test Case 2: test_kernel_2pf_2vf_1vm_mac_add_filter\n       testpmd> set fwd mac\n       testpmd> start\n \n+   Or set VF port to dcf and start up::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0,cap=dcf -a 00:07.0,cap=dcf -- -i --portmask=0x3\n+\n+.. note::\n+\n+      make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n 6. Use scapy to send 100 random packets with current VF0's MAC, verify the\n    packets can be received by one VF and can be forwarded to another VF\n    correctly.\ndiff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst\nindex 522fc017..857b2c8b 100644\n--- a/test_plans/vf_offload_test_plan.rst\n+++ b/test_plans/vf_offload_test_plan.rst\n@@ -25,6 +25,20 @@ launch the ``testpmd`` with the following arguments::\n   --txht=8 --txwt=0 --txfreet=0 --rxfreet=64 --mbcache=250 --portmask=0x5\n   --enable-rx-cksum\n \n+Or set VF port to dcf and start up::\n+\n+   Enable kernel trust mode:\n+\n+       ip link set $PF_INTF vf 0 trust on\n+\n+   dpdk-testpmd -c 0x0f -n 4 -a 00:04.0,cap=dcf -a 00:05.0,cap=dcf -- -i --burst=1 --txpt`=32 \\\n+   --txht=8 --txwt=0 --txfreet=0 --rxfreet=64 --mbcache=250 --portmask=0x5\n+   --enable-rx-cksum\n+\n+.. note::\n+\n+   make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n Set the verbose level to 1 to display information for each received packet::\n \n   testpmd> set verbose 1\ndiff --git a/test_plans/vf_rss_test_plan.rst b/test_plans/vf_rss_test_plan.rst\nindex 846de2d7..75520206 100644\n--- a/test_plans/vf_rss_test_plan.rst\n+++ b/test_plans/vf_rss_test_plan.rst\n@@ -54,6 +54,19 @@ Testpmd configuration - 4 RX/TX queues per port\n \n   dpdk-testpmd -c 1f -n 3  -- -i --rxq=4 --txq=4\n \n+\n+Or set VF port to dcf and start up::\n+\n+   Enable kernel trust mode:\n+\n+       ip link set $PF_INTF vf 0 trust on\n+\n+    dpdk-testpmd -c 0x0f -n 4 -a 00:04.0,cap=dcf -a 00:05.0,cap=dcf -- -i --rxq=4 --txq=4\n+\n+.. note::\n+\n+   make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n Testpmd Configuration Options\n -----------------------------\n \ndiff --git a/test_plans/vf_smoke_test_plan.rst b/test_plans/vf_smoke_test_plan.rst\nindex 33a3273c..7698947d 100644\n--- a/test_plans/vf_smoke_test_plan.rst\n+++ b/test_plans/vf_smoke_test_plan.rst\n@@ -59,6 +59,19 @@ Prerequisites\n     testpmd> start\n     testpmd> show port info all\n \n+Or set VF port to dcf and start up::\n+\n+   Enable kernel trust mode:\n+\n+       ip link set $PF_INTF vf 0 trust on\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:86:01.0,cap=dcf --file-prefix=pf -- -i --rxq=4\n+    --txq=4\n+\n+.. note::\n+\n+   make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n \n Test Case 1: test enable and disable jumbo frame\n ====================================================\ndiff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst\nindex c183b3d6..e4b763a6 100644\n--- a/test_plans/vf_vlan_test_plan.rst\n+++ b/test_plans/vf_vlan_test_plan.rst\n@@ -55,13 +55,25 @@ Prerequisites\n \n      ./tools/dpdk_nic_bind.py --bind=igb_uio 00:04.0 00:05.0\n \n-5. Start testpmd, set it in rxonly mode and enable verbose output::\n+5. Start testpmd, set it i nrxonly mode and enable verbose output::\n \n      dpdk-testpmd -c 0x0f -n 4 -a 00:04.0 -a 00:05.0 -- -i --portmask=0x3\n      testpmd> set fwd rxonly\n      testpmd> set verbose 1\n      testpmd> start\n \n+Or set VF port to dcf and start up::\n+\n+   Enable kernel trust mode:\n+\n+       ip link set $PF_INTF vf 0 trust on\n+\n+    dpdk-testpmd -c 0x0f -n 4 -a 00:04.0,cap=dcf -a 00:05.0,cap=dcf -- -i --portmask=0x3\n+\n+.. note::\n+\n+   make dcf as full feature pmd is dpdk22.07 feature, and only support E810 series nic.\n+\n Test Case 1: Add port based vlan on VF\n ======================================\n \n",
    "prefixes": [
        "V1",
        "2/3"
    ]
}