get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104651,
    "url": "http://patchwork.dpdk.org/api/patches/104651/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20211124163812.132611-1-leweix.yang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20211124163812.132611-1-leweix.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211124163812.132611-1-leweix.yang@intel.com",
    "date": "2021-11-24T16:38:12",
    "name": "[V1] tests/rss_to_rte_flow:fix rss type display",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6cd5227c1835bf13191597cc6c59c4516e485a9c",
    "submitter": {
        "id": 2225,
        "url": "http://patchwork.dpdk.org/api/people/2225/?format=api",
        "name": "Lewei Yang",
        "email": "leweix.yang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20211124163812.132611-1-leweix.yang@intel.com/mbox/",
    "series": [
        {
            "id": 20735,
            "url": "http://patchwork.dpdk.org/api/series/20735/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=20735",
            "date": "2021-11-24T16:38:12",
            "name": "[V1] tests/rss_to_rte_flow:fix rss type display",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/20735/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104651/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/104651/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 05912A0C52;\n\tWed, 24 Nov 2021 09:37:33 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C0C4E40A4B;\n\tWed, 24 Nov 2021 09:37:33 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 12C4940688\n for <dts@dpdk.org>; Wed, 24 Nov 2021 09:37:30 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Nov 2021 00:37:30 -0800",
            "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Nov 2021 00:37:27 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10177\"; a=\"296037953\"",
            "E=Sophos;i=\"5.87,260,1631602800\"; d=\"scan'208\";a=\"296037953\"",
            "E=Sophos;i=\"5.87,260,1631602800\"; d=\"scan'208\";a=\"509397891\""
        ],
        "From": "Lewei Yang <leweix.yang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lewei Yang <leweix.yang@intel.com>",
        "Subject": "[dts][PATCH V1] tests/rss_to_rte_flow:fix rss type display",
        "Date": "Wed, 24 Nov 2021 16:38:12 +0000",
        "Message-Id": "<20211124163812.132611-1-leweix.yang@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "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": "According to dpdk commit 88232b54eed8(\"app/testpmd: fix RSS type display\"),\nfixes the display of the RSS hash types configured in the port, which displayed \"all\" even if only a single type was configured\n\nSigned-off-by: Lewei Yang <leweix.yang@intel.com>\n---\n test_plans/rss_to_rte_flow_test_plan.rst | 22 ++++++++++----------\n tests/TestSuite_rss_to_rte_flow.py       | 26 ++++++++++++------------\n 2 files changed, 24 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/test_plans/rss_to_rte_flow_test_plan.rst b/test_plans/rss_to_rte_flow_test_plan.rst\nindex 4d332568..f770d975 100644\n--- a/test_plans/rss_to_rte_flow_test_plan.rst\n+++ b/test_plans/rss_to_rte_flow_test_plan.rst\n@@ -93,11 +93,11 @@ Test case: set rss types on two ports (I40E)\n \n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     ipv4-frag ipv4-other ipv6-frag ipv6-other ip\n+     ipv4-frag ipv4-other ipv6-frag ipv6-other\n \n     testpmd> show port 1 rss-hash\n     RSS functions:\n-     ipv4-frag ipv4-other ipv6-frag ipv6-other ip\n+     ipv4-frag ipv4-other ipv6-frag ipv6-other\n \n    Send the ipv4-other/ipv4-frag/ipv6-other/ipv6-frag packets with different src/dst ip address to two ports.\n    All the packets are distributed to all the four queues of two ports.\n@@ -111,11 +111,11 @@ Test case: set rss types on two ports (I40E)\n \n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     ipv4-udp udp\n+     ipv4-udp\n \n     testpmd> show port 1 rss-hash\n     RSS functions:\n-     ipv4-frag ipv4-other ipv6-frag ipv6-other ip\n+     ipv4-frag ipv4-other ipv6-frag ipv6-other\n \n \n    Send the ipv4-other/ipv4-frag/ipv6-other/ipv6-frag packets with different src/dst ip address to two ports.\n@@ -149,7 +149,7 @@ Test case: set rss types on two ports (I40E)\n \n     testpmd> show port 1 rss-hash\n     RSS functions:\n-     all ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload ip udp tcp sctp\n+     ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload  sctp\n \n    Send the ipv4-other/ipv4-frag/ipv4-udp/ipv4-tcp/ipv4-sctp/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address or different sport/dport to port 1.\n    All the packets are distributed to all the four queues of port 1.\n@@ -341,7 +341,7 @@ Test case: set rss types and rss queues on two ports (I40E)\n \n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     ipv4-frag ipv4-other ipv6-frag ipv6-other ip\n+     ipv4-frag ipv4-other ipv6-frag ipv6-other\n \n    Send the ipv4-other packets with different src/dst ip address to port 0.\n    All the packets are distributed to all the four queues.\n@@ -764,7 +764,7 @@ Test case: disable and enable rss\n \n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     all ipv4 ipv6 ipv6-ex ip\n+     ipv4 ipv6 ipv6-ex\n \n    Send the ipv4-other/ipv4-udp/ipv4-tcp/ipv4-sctp/ipv4-frag/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address.\n    All the packets are distributed to all the four queues.\n@@ -785,7 +785,7 @@ Test case: disable and enable rss\n     Flow rule #1 created\n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     all ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp ipv6-ex ipv6-tcp-ex ipv6-udp-ex ip udp tcp\n+     ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp ipv6-ex ipv6-tcp-ex ipv6-udp-ex\n \n    Send the ipv4-other/ipv4-udp/ipv4-tcp/ipv4-sctp/ipv4-frag/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address.\n    All the packets are distributed to all the four queues.\n@@ -814,7 +814,7 @@ Test case: enable ipv4-udp rss\n     Flow rule #0 created\n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     all ipv4-udp udp\n+     ipv4-udp\n \n    Send the ipv4-other/ipv4-tcp/ipv4-sctp/ipv4-frag/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address.\n    All the packets are distributed to queue 0.\n@@ -889,7 +889,7 @@ Test case: Different packet types\n     testpmd> flow create 0 ingress pattern end actions rss types udp ipv4-tcp ipv6-sctp ipv4-other end queues 1 8 15 end / end\n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     all ipv4-tcp ipv4-udp ipv6-udp ipv6-udp-ex udp tcp\n+     ipv4-tcp ipv4-udp ipv6-udp ipv6-udp-ex udp\n \n 3. Send ipv4-other/ipv4-udp/ipv4-tcp/ipv4-sctp/ipv4-frag/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address.\n    ipv4-udp/ipv4-tcp/ipv6-udp are distributed to queue 1/8/15.\n@@ -901,7 +901,7 @@ Test case: Different packet types\n     testpmd> flow create 0 ingress pattern end actions rss types ipv6 ipv4 end queues 3 8 end / end\n     testpmd> show port 0 rss-hash\n     RSS functions:\n-     all ipv4 ipv6 ip\n+     ipv4 ipv6\n \n 5. Send ipv4-other/ipv4-udp/ipv4-tcp/ipv4-sctp/ipv4-frag/ipv6-other/ipv6-frag/ipv6-udp/ipv6-tcp/ipv6-sctp packets with different src/dst ip address.\n    all the packets are distributed to queue 1/8/15.\ndiff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py\nindex 0f69938e..4a0f92e3 100644\n--- a/tests/TestSuite_rss_to_rte_flow.py\n+++ b/tests/TestSuite_rss_to_rte_flow.py\n@@ -310,9 +310,9 @@ class TestRSS_to_Rteflow(TestCase):\n \n         # Show port default RSS functions\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other ip\")\n+            \"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other\")\n         self.dut.send_expect(\n-            \"show port 1 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other ip\")\n+            \"show port 1 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other\")\n \n         self.send_check_100_packet_queue(\"ipv4-other\", \"all\", port_id=0)\n         self.send_check_100_packet_queue(\"ipv4-other\", \"all\", port_id=1)\n@@ -324,7 +324,7 @@ class TestRSS_to_Rteflow(TestCase):\n         self.dut.send_expect(\n             \"flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"ipv4-udp udp\")\n+            \"show port 0 rss-hash\", \"ipv4-udp\")\n         self.send_check_100_packet_queue(\"ipv4-other\", \"0\", port_id=0)\n         self.send_check_100_packet_queue(\"ipv4-other\", \"all\", port_id=1)\n         self.send_check_100_packet_queue(\"ipv4-udp\", \"all\", port_id=0)\n@@ -344,7 +344,7 @@ class TestRSS_to_Rteflow(TestCase):\n         self.dut.send_expect(\"flow create 1 ingress pattern eth / ipv6 / sctp / end actions rss types ipv6-sctp end queues end / end\", \"created\")\n \n         self.dut.send_expect(\n-            \"show port 1 rss-hash\", \"all ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload ip udp tcp sctp\")\n+            \"show port 1 rss-hash\", \"ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload sctp\")\n         # send the packets and verify the results\n         ptype_list1 = [\"ipv4-other\", \"ipv4-frag\", \"ipv4-udp\", \"ipv4-tcp\", \"ipv4-sctp\", \"ipv6-other\", \"ipv6-frag\", \"ipv6-udp\", \"ipv6-tcp\", \"ipv6-sctp\", \"l2-payload\"]\n         self.send_check_100_packet_queue(ptype_list1, \"all\", port_id=1)\n@@ -411,7 +411,7 @@ class TestRSS_to_Rteflow(TestCase):\n         self.dut.send_expect(\n             \"flow create 0 ingress pattern end actions rss types end queues 1 4 7 end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other ip\")\n+            \"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other\")\n \n         # send the packets and verify the results\n         self.send_check_100_packet_queue(\"ipv4-other\", [\"1\",\"4\",\"7\"], port_id=0)\n@@ -436,7 +436,7 @@ class TestRSS_to_Rteflow(TestCase):\n \n         # flush rule on port 0\n         self.dut.send_expect(\"flow flush 0\", \"testpmd> \")\n-        self.dut.send_expect(\"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other ip\")\n+        self.dut.send_expect(\"show port 0 rss-hash\", \"ipv4-frag ipv4-other ipv6-frag ipv6-other\")\n         # send the packets and verify the results\n         self.send_check_100_packet_queue(\"ipv4-other\", \"all\", port_id=0)\n         self.send_check_100_packet_queue(\"ipv4-other\", [\"1\",\"4\",\"7\"], port_id=1)\n@@ -834,7 +834,7 @@ class TestRSS_to_Rteflow(TestCase):\n         time.sleep(2)\n \n         # Show port default RSS functions\n-        self.dut.send_expect(\"show port 0 rss-hash\", \"all ipv4 ipv6 ipv6-ex ip\")\n+        self.dut.send_expect(\"show port 0 rss-hash\", \"ipv4 ipv6 ipv6-ex\")\n         ptype_list1 = [\"ipv4-other\", \"ipv4-frag\", \"ipv4-udp\", \"ipv4-tcp\", \"ipv4-sctp\", \"ipv6-other\", \"ipv6-frag\", \"ipv6-udp\", \"ipv6-tcp\", \"ipv6-sctp\"]\n         self.send_check_100_packet_queue(ptype_list1, \"all\", port_id=0)\n \n@@ -849,7 +849,7 @@ class TestRSS_to_Rteflow(TestCase):\n         self.dut.send_expect(\n             \"flow create 0 ingress pattern end actions rss types all end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp ipv6-ex ipv6-tcp-ex ipv6-udp-ex ip udp tcp\")\n+            \"show port 0 rss-hash\", \"ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp ipv6-ex ipv6-tcp-ex ipv6-udp-ex\")\n         self.send_check_100_packet_queue(ptype_list1, \"all\", port_id=0)\n \n     def test_enable_ipv4_udp_rss_ixgbe_igb(self):\n@@ -866,12 +866,12 @@ class TestRSS_to_Rteflow(TestCase):\n \n         # Show port default RSS fucntions\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4 ipv6 ipv6-ex ip\")\n+            \"show port 0 rss-hash\", \"ipv4 ipv6 ipv6-ex\")\n         # enable ipv4-udp rss function\n         self.dut.send_expect(\n             \"flow create 0 ingress pattern end actions rss types ipv4-udp end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4-udp udp\")\n+            \"show port 0 rss-hash\", \"ipv4-udp\")\n         # send the packets and verify the results\n         self.send_check_100_packet_queue(\"ipv4-udp\", \"all\", port_id=0)\n         ptype_list1 = [\"ipv4-other\", \"ipv4-frag\", \"ipv4-tcp\", \"ipv4-sctp\", \"ipv6-other\", \"ipv6-frag\", \"ipv6-udp\", \"ipv6-tcp\", \"ipv6-sctp\"]\n@@ -957,7 +957,7 @@ class TestRSS_to_Rteflow(TestCase):\n             self.dut.send_expect(\n                 \"flow create 0 ingress pattern end actions rss types udp ipv4-tcp ipv6-sctp ipv4-other end queues 1 4 7 end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4-tcp ipv4-udp ipv6-udp ipv6-udp-ex udp tcp\")\n+            \"show port 0 rss-hash\", \"ipv4-tcp ipv4-udp ipv6-udp ipv6-udp-ex\")\n         ptype_list1 = [\"ipv4-udp\", \"ipv4-tcp\", \"ipv6-udp\"]\n         ptype_list2 = [\"ipv4-other\", \"ipv4-frag\", \"ipv4-sctp\", \"ipv6-other\", \"ipv6-frag\", \"ipv6-tcp\", \"ipv6-sctp\"]\n \n@@ -981,7 +981,7 @@ class TestRSS_to_Rteflow(TestCase):\n             self.dut.send_expect(\n                 \"flow create 0 ingress pattern end actions rss types ipv4 ipv6 end queues 3 7 end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4 ipv6 ip\")\n+            \"show port 0 rss-hash\", \"ipv4 ipv6\")\n         ptype_list3 = [\"ipv4-other\", \"ipv4-frag\", \"ipv4-udp\", \"ipv4-tcp\", \"ipv4-sctp\", \"ipv6-other\", \"ipv6-frag\", \"ipv6-udp\", \"ipv6-tcp\", \"ipv6-sctp\"]\n         if self.nic in [\"foxville\", \"springville\"]:\n             self.send_check_100_packet_queue(ptype_list3, [\"1\", \"3\"], port_id=0)\n@@ -1023,7 +1023,7 @@ class TestRSS_to_Rteflow(TestCase):\n             self.dut.send_expect(\n                 \"flow create 0 ingress pattern end actions rss types ipv6-tcp ipv4-udp end queues 5 6 7 end / end\", \"created\")\n         self.dut.send_expect(\n-            \"show port 0 rss-hash\", \"all ipv4-udp ipv6-tcp udp tcp\")\n+            \"show port 0 rss-hash\", \"ipv4-udp ipv6-tcp\")\n \n         # send the packets and verify the results\n         ptype_list2 = [\"ipv4-udp\", \"ipv6-tcp\"]\n",
    "prefixes": [
        "V1"
    ]
}