get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 121202,
    "url": "https://patches.dpdk.org/api/patches/121202/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221221101252.59230-2-ke1.xu@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": "<20221221101252.59230-2-ke1.xu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221221101252.59230-2-ke1.xu@intel.com",
    "date": "2022-12-21T10:12:49",
    "name": "[V2,1/4] test_plans/ice_dcf_switch_filter: update existing negative cases to validate represented port action and port representor action",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "590d950b948b3e7526746b9b08f777c30d85c27b",
    "submitter": {
        "id": 2810,
        "url": "https://patches.dpdk.org/api/people/2810/?format=api",
        "name": "Ke Xu",
        "email": "ke1.xu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20221221101252.59230-2-ke1.xu@intel.com/mbox/",
    "series": [
        {
            "id": 26218,
            "url": "https://patches.dpdk.org/api/series/26218/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=26218",
            "date": "2022-12-21T10:12:48",
            "name": "update existing cases and add new sub-cases to validate port representor action and represented port action",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/26218/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/121202/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/121202/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 E2CA6A034C;\n\tWed, 21 Dec 2022 11:15:06 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DCF7241141;\n\tWed, 21 Dec 2022 11:15:06 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id DCA7341141\n for <dts@dpdk.org>; Wed, 21 Dec 2022 11:15:04 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Dec 2022 02:15:04 -0800",
            "from dpdk-xuke-lab.sh.intel.com ([10.67.119.8])\n by orsmga001.jf.intel.com with ESMTP; 21 Dec 2022 02:15:02 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1671617705; x=1703153705;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=8tcu4XjVfkihKjhEn0Dq4qwvwVewk5jJvS3V7XhLu2Y=;\n b=iME7T+6/o4oKrQA5oDH44y2zCWoMwx4UbjtXUBv0rYrGjXyIPM1YllRZ\n yIqRLuRb7MI6e039tcktrWVmFpzIXorXqgMyCQCIxTbgBaGxLC3sLrL4H\n 0VkWhWJQ6RlSLVmTu5QHQ2rRgSaxBhCwdnHY6uHVXWLWXAhd3GBeZl0iR\n prSR8NdC7ID+wwFA1/g7xWleEUlK7BCyJ1g5+1sV2rEiSyPqPTtB5qhFu\n dEr+sZgTvsC4GFQlm2nkqYPcWnL0Cg4PxN4AFYSAcArdgzcRXC4VJJ6QS\n zlSaU3GhUZaN3rRQQFxEcT1JOmRLKOpCEsR+BRIUODPxntOCGoTIFbMWB g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10567\"; a=\"317473209\"",
            "E=Sophos;i=\"5.96,262,1665471600\"; d=\"scan'208\";a=\"317473209\"",
            "E=McAfee;i=\"6500,9779,10567\"; a=\"683744026\"",
            "E=Sophos;i=\"5.96,262,1665471600\"; d=\"scan'208\";a=\"683744026\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ke Xu <ke1.xu@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com, yuan.peng@intel.com, qi.fu@intel.com,\n Ke Xu <ke1.xu@intel.com>",
        "Subject": "[DTS][PATCH V2 1/4] test_plans/ice_dcf_switch_filter: update existing\n negative cases to validate represented port action and port representor\n action",
        "Date": "Wed, 21 Dec 2022 18:12:49 +0800",
        "Message-Id": "<20221221101252.59230-2-ke1.xu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221221101252.59230-1-ke1.xu@intel.com>",
        "References": "<20221221101252.59230-1-ke1.xu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "1. Add second PF with VFs for following cases\n2. Add a subcase to validate creating 'represented port' action on a representor\n3. Add a subcase to validate creating 'represented port' action on a VF\n4. Add a subcase to validate creating 'represented port' action to a VF\n5. Add two subcases to validate creating 'represented port' action to DCFs\n6. Add a subcase to validate creating 'represented port' action to a representor of another DCF\n7. Add a subcase to validate creating 'port representor' action on a representor\n8. Add a subcase to validate creating 'port representor' action on a VF\n9. Add a subcase to validate creating 'port representor' action to a VF\n10. Add a subcase to validate creating 'port representor' action to a representor\n11. Add a subcase to validate creating 'port representor' action to another DCF\n12. Add a subcase to validate deprecated action\n13. Add a subcase to validate using an invalid port id\n\nSigned-off-by: Ke Xu <ke1.xu@intel.com>\n---\n .../ice_dcf_switch_filter_test_plan.rst       | 470 ++++++++++++++++--\n 1 file changed, 440 insertions(+), 30 deletions(-)",
    "diff": "diff --git a/test_plans/ice_dcf_switch_filter_test_plan.rst b/test_plans/ice_dcf_switch_filter_test_plan.rst\nindex a04567b0..fb685ffc 100644\n--- a/test_plans/ice_dcf_switch_filter_test_plan.rst\n+++ b/test_plans/ice_dcf_switch_filter_test_plan.rst\n@@ -2769,11 +2769,114 @@ will not hang and provide a friendly output.\n \n Test case: negative cases\n =========================\n+Note: some of the error messages may be different.\n \n-Subcase 1: can not create rule on vf 1\n---------------------------------------\n+Subcase 1: can not create to vf rule on a representor\n+-----------------------------------------------------\n+\n+1. create rule on representor 1 which is at port 1::\n+\n+     testpmd> flow create 1 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 1\n+\n+   there is no rule listed.\n+\n+Subcase 2: can not create to vf rule on a vf\n+--------------------------------------------\n+\n+1. create rule on vf 1 which is at port 3::\n+\n+     testpmd> flow create 3 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 3\n+\n+   there is no rule listed.\n+\n+Subcase 3: can not create to vf rule to a vf\n+--------------------------------------------\n+\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 3 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 4: can not create to vf rule to self dcf\n+------------------------------------------------\n \n-1. create rule on vf 1::\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 0 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 5: can not create to vf rule to another dcf\n+---------------------------------------------------\n+\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 5 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 6: can not create to vf rule to a representor of another pf\n+-------------------------------------------------------------------\n+\n+1. create rule on vf 0 of pf 0 which is at port 0, to representor 1 of pf 1 which is at port 6::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 6 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 7: can not create vf original rule on a representor\n+-----------------------------------------------------------\n+\n+1. create rule on representor 1 which is at port 1::\n \n      testpmd> flow create 1 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n \n@@ -2787,8 +2890,76 @@ Subcase 1: can not create rule on vf 1\n \n    there is no rule listed.\n \n-Subcase 2: unsupported pattern in os default package\n-----------------------------------------------------\n+Subcase 8: can not create vf original rule on a vf\n+--------------------------------------------------\n+\n+1. create rule on vf 1 which is at port 3::\n+\n+     testpmd> flow create 3 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 3\n+\n+   there is no rule listed.\n+\n+Subcase 9: can not create vf original rule to a vf\n+--------------------------------------------------\n+\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 3 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 10: can not create vf original rule to a representor\n+------------------------------------------------------------\n+\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 11: can not create vf original rule to another dcf\n+----------------------------------------------------------\n+\n+1. create rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 5 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 12: unsupported pattern in os default package\n+-----------------------------------------------------\n \n 1. load os default package and launch testpmd as step 3-8 in Prerequisites.\n \n@@ -2811,8 +2982,8 @@ Subcase 2: unsupported pattern in os default package\n \n    check the rule not exists in the list.\n \n-Subcase 3: unsupported input set\n---------------------------------\n+Subcase 13: unsupported input set\n+---------------------------------\n \n 1. create an nvgre rule with unsupported input set field [inner tos]::\n \n@@ -2828,8 +2999,8 @@ Subcase 3: unsupported input set\n \n    check the rule not exists in the list.\n \n-Subcase 4: duplicated rules\n----------------------------\n+Subcase 14: duplicated rules\n+----------------------------\n \n 1. create a rule::\n \n@@ -2848,8 +3019,8 @@ Subcase 4: duplicated rules\n \n    check only the first rule exists in the list.\n \n-Subcase 5: void action\n-----------------------\n+Subcase 15: void action\n+-----------------------\n \n 1. create a rule with void action::\n \n@@ -2865,8 +3036,8 @@ Subcase 5: void action\n \n    check the rule not exists in the list.\n \n-Subcase 6: unsupported action\n------------------------------\n+Subcase 16: unsupported action\n+------------------------------\n \n 1. create a rule with void action::\n \n@@ -2882,12 +3053,47 @@ Subcase 6: unsupported action\n \n    check the rule not exists in the list.\n \n-Subcase 7: void input set value\n--------------------------------\n+Subcase 17: deprecated action\n+-----------------------------\n+\n+1. create a rule with void action::\n+\n+     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions vf id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Invalid action type: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   check the rule not exists in the list.\n+\n+Subcase 18: invalid port id\n+---------------------------\n+\n+1. create a rule with invalid port id 10::\n+\n+     testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 20 / end\n+\n+   Failed to create flow, report message::\n+\n+     ice_flow_create(): Failed to create flow\n+     port_flow_complain(): Caught PMD error type 16 (specific action): cause: 0x7fff2c460900, Invalid ethdev_port_id: Invalid argument\n+\n+2. check the rule list::\n+\n+     testpmd> flow list 0\n+\n+   check the rule not exists in the list.\n+\n+Subcase 19: void input set value\n+--------------------------------\n \n 1. create a rule with void input set value::\n \n-     testpmd> flow create 0 ingress pattern eth / ipv4 / end actions vf id 1 / end\n+     testpmd> flow create 0 ingress pattern eth / ipv4 / end actions represented_port ethdev_port_id 1 / end\n \n    Failed to create flow, report message::\n \n@@ -2899,8 +3105,8 @@ Subcase 7: void input set value\n \n    check the rule not exists in the list.\n \n-Subcase 9: delete a non-existing rule\n--------------------------------------\n+Subcase 20: delete a non-existing rule\n+--------------------------------------\n \n 1. check the rule list::\n \n@@ -2920,7 +3126,7 @@ Subcase 9: delete a non-existing rule\n \n    check no error reports.\n \n-Subcase 10: add long switch rule\n+Subcase 21: add long switch rule\n --------------------------------\n \n Description: A recipe has 5 words, one of which is reserved for switch ID,\n@@ -2992,8 +3198,178 @@ Subcase 1: can not create to vf rule on a representor\n \n    there is no rule listed.\n \n-Subcase 2: unsupported patterns in os default\n----------------------------------------------\n+Subcase 2: can not create to vf rule on a vf\n+--------------------------------------------\n+\n+1. validate rule on representor 1 which is at port 3::\n+\n+     testpmd> flow validate 3 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\n+\n+   get the error message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. list the rule::\n+\n+     testpmd> flow list 3\n+\n+   there is no rule listed.\n+\n+Subcase 3: can not create to vf rule to a vf\n+--------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 3 / end\n+\n+   get the error message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. list the rule::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 4: can not create to vf rule to self dcf\n+------------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 0 / end\n+\n+   get the error message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. list the rule::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 5: can not create to vf rule to another dcf\n+---------------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 5 / end\n+\n+   get the error message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. list the rule::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 6: can not create to vf rule to a representor of another pf\n+-------------------------------------------------------------------\n+\n+1. validate rule on vf 0 of pf 0 which is at port 0, to representor 1 of pf 1 which is at port 6::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 6 / end\n+\n+   get the error message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. list the rule::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 7: can not create vf original rule on a representor\n+-----------------------------------------------------------\n+\n+1. validate rule on representor 1 which is at port 1::\n+\n+     testpmd> flow validate 1 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 1\n+\n+   there is no rule listed.\n+\n+Subcase 8: can not create vf original rule on a vf\n+--------------------------------------------------\n+\n+1. validate rule on vf 1 which is at port 3::\n+\n+     testpmd> flow validate 3 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 3\n+\n+   there is no rule listed.\n+\n+Subcase 9: can not create vf original rule to a vf\n+--------------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 3 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 10: can not create vf original rule to a representor\n+------------------------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 11: can not create vf original rule to another dcf\n+----------------------------------------------------------\n+\n+1. validate rule on vf 0 which is at port 0, to vf 1 which is at port 3::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions port_representor port_id 5 / end\n+\n+   Failed to create flow, report message::\n+\n+     Failed to create parser engine.: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   there is no rule listed.\n+\n+Subcase 12: unsupported patterns in os default\n+----------------------------------------------\n \n 1. load os default package and launch testpmd as step 3-8 in Prerequisites.\n \n@@ -3016,8 +3392,8 @@ Subcase 2: unsupported patterns in os default\n \n    check the rule not exists in the list.\n \n-Subcase 3: unsupported input set\n---------------------------------\n+Subcase 13: unsupported input set\n+---------------------------------\n \n 1. validate an nvgre rule with unsupported input set field [inner tos]::\n \n@@ -3033,8 +3409,8 @@ Subcase 3: unsupported input set\n \n    check the rule not exists in the list.\n \n-Subcase 4: void action\n-----------------------\n+Subcase 14: void action\n+-----------------------\n \n 1. validate a rule with void action::\n \n@@ -3050,8 +3426,8 @@ Subcase 4: void action\n \n    check the rule not exists in the list.\n \n-Subcase 5: unsupported action\n------------------------------\n+Subcase 15: unsupported action\n+------------------------------\n \n 1. validate a rule with void action::\n \n@@ -3067,8 +3443,25 @@ Subcase 5: unsupported action\n \n    check the rule not exists in the list.\n \n-Subcase 6: void input set value\n--------------------------------\n+Subcase 16: deprecated action\n+-----------------------------\n+\n+1. validate a rule with deprecated action::\n+\n+     testpmd> flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions vf id 1 / end\n+\n+   Failed to create flow, report message::\n+\n+     Invalid action type: Invalid argument\n+\n+2. check the flow list::\n+\n+     testpmd> flow list 0\n+\n+   check the rule not exists in the list.\n+\n+Subcase 17: void input set value\n+--------------------------------\n \n 1. validate a rule with void input set value::\n \n@@ -3084,9 +3477,26 @@ Subcase 6: void input set value\n \n    check the rule not exists in the list.\n \n-Subcase 8: long switch rule\n+Subcase 18: invalid port id\n ---------------------------\n \n+1. validate a rule with invalid port id 10::\n+\n+     testpmd> flow validate 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 10 / end\n+\n+   get the error message::\n+\n+     Invalid port id: Invalid argument\n+\n+3. check the rule list::\n+\n+     testpmd> flow list 0\n+\n+   check the rule not exists in the list.\n+\n+Subcase 19: long switch rule\n+----------------------------\n+\n 1. validate a rule with input set length longer than 32 bytes::\n \n      testpmd> flow validate 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 tc is 3 / end actions represented_port ethdev_port_id 1 / end\n",
    "prefixes": [
        "V2",
        "1/4"
    ]
}