Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/113361/?format=api
http://patches.dpdk.org/api/patches/113361/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20220624103709.6677-1-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": "<20220624103709.6677-1-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220624103709.6677-1-zhiminx.huang@intel.com", "date": "2022-06-24T10:37:09", "name": "[V1] ice_advanced_iavf_rss_gtpu:add new case about disable rss", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "6610c87f8ecf4beca87e7f41b4299ec609ccd651", "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/20220624103709.6677-1-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 23741, "url": "http://patches.dpdk.org/api/series/23741/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=23741", "date": "2022-06-24T10:37:09", "name": "[V1] ice_advanced_iavf_rss_gtpu:add new case about disable rss", "version": 1, "mbox": "http://patches.dpdk.org/series/23741/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/113361/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/113361/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 8252BA0032;\n\tFri, 24 Jun 2022 04:12:49 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4F1754069D;\n\tFri, 24 Jun 2022 04:12:49 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 13A2A4067B\n for <dts@dpdk.org>; Fri, 24 Jun 2022 04:12:47 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2022 19:12:46 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.93])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jun 2022 19:12:45 -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=1656036768; x=1687572768;\n h=from:to:cc:subject:date:message-id;\n bh=E7RVd6x+rrFPo2KzrwBynkaDN1aD7lU8/44yZIl/v6c=;\n b=TkRUZTisEmwrwkbSilj9Hl7mebOryy/KzUFawkHTsRr0M4kMrAqIaGUH\n mB0Gff4/L4OTbSgejptc4Ui9J4zAZO3HRoVcUvS4+b39fC+Wb68Yec8sd\n EruABX3gLCsfzgcCHbyCrT+dKiYYGQH849cv0VSOenTVvnPJIHHOQp+Ir\n PlDdBYqbzKlqE3Qk8hUU2Fi4qgynI1XgrCHInd+NlvtdxwoOAkPukXe1B\n BjAsrT7keM1Q/s2YXNbNU6s5oP7NcmJa/IHRQUIcPw4JJ+P42Nh8F3fGk\n ddRz/RB4PTCqIKvn3cXtLnuiAu0F/9UFOzPj4cqsVoG6xzoUvjbkRCF4S w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10387\"; a=\"279664811\"", "E=Sophos;i=\"5.92,217,1650956400\"; d=\"scan'208\";a=\"279664811\"", "E=Sophos;i=\"5.92,217,1650956400\"; d=\"scan'208\";a=\"645051584\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Subject": "[dts][PATCH V1] ice_advanced_iavf_rss_gtpu:add new case about disable\n rss", "Date": "Fri, 24 Jun 2022 18:37:09 +0800", "Message-Id": "<20220624103709.6677-1-zhiminx.huang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "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": "vf rss gtpu miss a testcase about rss function when disable rss.\nso add new case in testcase and testplan.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n .../ice_advanced_iavf_rss_gtpu_test_plan.rst | 15 ++++++++++\n tests/TestSuite_ice_advanced_iavf_rss_gtpu.py | 28 +++++++++++++++++++\n 2 files changed, 43 insertions(+)", "diff": "diff --git a/test_plans/ice_advanced_iavf_rss_gtpu_test_plan.rst b/test_plans/ice_advanced_iavf_rss_gtpu_test_plan.rst\nindex 69782f05..f04b6017 100644\n--- a/test_plans/ice_advanced_iavf_rss_gtpu_test_plan.rst\n+++ b/test_plans/ice_advanced_iavf_rss_gtpu_test_plan.rst\n@@ -4096,6 +4096,21 @@ so the following step don't need to be run.\n \n 10. repeat step 5, check the rule without UL/DL can't work now.\n \n+rss function when disable rss\n+=============================\n+1. start testpmd without disable rss::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -- -i --rxq=16 --txq=16 --rxd=384 --txd=384 --disable-rss\n+\n+2. create a IPV4_GTPU_EH_IPV4 rule::\n+\n+ flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / udp / end actions rss types ipv4-udp end key_len 0 queues end / end\n+\n+3. send 1280 packets of IPV4_GTPU_EH_IPV4 packet type::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IP(dst=RandIP(),src=RandIP())/UDP(sport=RandShort(),dport=RandShort())/(\"X\"*480)],iface=\"enp216s0f0\",count=1280)\n+\n+4. check all the packets have hash value and distributed to all queues by RSS.\n \n stress case\n ===========\ndiff --git a/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py b/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py\nindex 040199f4..9577fbfe 100644\n--- a/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py\n+++ b/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py\n@@ -9666,6 +9666,34 @@ class TestICEAdvancedIAVFRSSGTPU(TestCase):\n )\n self.pmd_output.execute_cmd(\"flow flush 0\")\n \n+ def test_rss_function_when_disable_rss(self):\n+ self.pmd_output.quit()\n+ self.pmd_output.start_testpmd(\n+ cores=\"1S/4C/1T\",\n+ param=\"--rxq=16 --txq=16 --disable-rss --rxd=384 --txd=384\",\n+ eal_param=f\"-a {self.vf0_pci}\",\n+ socket=self.ports_socket,\n+ )\n+ self.pmd_output.execute_cmd(\"set fwd rxonly\")\n+ self.pmd_output.execute_cmd(\"set verbose 1\")\n+ self.pmd_output.execute_cmd(\"start\")\n+ res = self.pmd_output.wait_link_status_up(\"all\", timeout=15)\n+ self.verify(res is True, \"there have port link is down\")\n+ rule = \"flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / udp / end actions rss types ipv4-udp end key_len 0 queues end / end\"\n+ self.rssprocess.create_rule(rule=rule)\n+ pkt = 'Ether(dst=\"00:11:22:33:44:55\")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst=RandIP(),src=RandIP())/UDP(sport=RandShort(),dport=RandShort())/(\"X\"*480)'\n+ output = self.rssprocess.send_pkt_get_output(pkts=pkt, count=1280)\n+ _, queues = self.rssprocess.get_hash_and_queues(output)\n+ hashes, rss_distribute = self.rssprocess.get_hash_verify_rss_distribute(output)\n+ self.verify(\n+ len(hashes) == 1280,\n+ \"all the packets should have hash value and distributed to all queues by RSS.\",\n+ )\n+ self.verify(\n+ len(set(queues)) == 16, \"all the packets have distributed to all queues\"\n+ )\n+ self.verify(rss_distribute, \"the packet do not distribute by rss\")\n+\n # vf rss gtpc gtpu\n def test_mac_ipv4_gtpu(self):\n self.switch_testpmd(symmetric=False)\n", "prefixes": [ "V1" ] }{ "id": 113361, "url": "