Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/111703/?format=api
http://patches.dpdk.org/api/patches/111703/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20220524081914.44538-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": "<20220524081914.44538-2-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220524081914.44538-2-zhiminx.huang@intel.com", "date": "2022-05-24T08:19:10", "name": "[V3,1/5] tests/rte_flow_common:modify check mismatch pkts test", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0588c7484cca37d886fe8a4618dcbb81f6aa1b34", "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/20220524081914.44538-2-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 23113, "url": "http://patches.dpdk.org/api/series/23113/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=23113", "date": "2022-05-24T08:19:09", "name": "optimized pf/vf ice_ipfragment", "version": 3, "mbox": "http://patches.dpdk.org/series/23113/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/111703/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/111703/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 02404A0501;\n\tTue, 24 May 2022 10:19:23 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F050040A87;\n\tTue, 24 May 2022 10:19:22 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 58DCD400D6\n for <dts@dpdk.org>; Tue, 24 May 2022 10:19:21 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 May 2022 01:19:20 -0700", "from unknown (HELO daily-regression-131.intel.com)\n ([10.239.251.131])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 May 2022 01:19:19 -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=1653380361; x=1684916361;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=srrJW7sB9JW4XcAxdfkYupdQeGOmJoHIiWFBslrdQP0=;\n b=SSZzehl6QKu6lQp2nsHOYwJWRstbACEaq7k9JtViYAD8xXitjS0phE+7\n uHXwARLXpWbIcn8MlPYyAkWH6tqCVR+2ryhrlTfsEgRt5qerylhrzS+jp\n 0RSgsJwk5av+5YIMYqVu1bNoPf89RCDJX4CV8ePL33dK+3p7Ajs9X10xO\n y/7EkQATykRQyLFiYj7ug8jffGFYQBNi+q9nm9WUJE8Lv8owpLHaxvziv\n kI7OM5dOQra73jSmx/Ow6Pgrf84BGiYPHpjQ+rYlO6llsqOYuNKACkEx3\n pnXn6/jWUlFkQZWPHE1idVAT4mxugvj+UoPuzF+TTA2Lp03hdeDBJL5V/ g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10356\"; a=\"255531519\"", "E=Sophos;i=\"5.91,248,1647327600\"; d=\"scan'208\";a=\"255531519\"", "E=Sophos;i=\"5.91,248,1647327600\"; d=\"scan'208\";a=\"745126361\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Subject": "[dts][PATCH V3 1/5] tests/rte_flow_common:modify check mismatch pkts\n test", "Date": "Tue, 24 May 2022 16:19:10 +0800", "Message-Id": "<20220524081914.44538-2-zhiminx.huang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220524081914.44538-1-zhiminx.huang@intel.com>", "References": "<20220524081914.44538-1-zhiminx.huang@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": "For ipfragment test,the mismatch pkt no need to send with fragment.\nso modify rte_flow_common to adapt test steps changed.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/rte_flow_common.py | 16 +++++++++++-----\n 1 file changed, 11 insertions(+), 5 deletions(-)", "diff": "diff --git a/tests/rte_flow_common.py b/tests/rte_flow_common.py\nindex 45446521..25266588 100644\n--- a/tests/rte_flow_common.py\n+++ b/tests/rte_flow_common.py\n@@ -1389,14 +1389,17 @@ class FdirProcessing(object):\n self.verify = self.test_case.verify\n self.ipfrag_flag = ipfrag_flag\n \n- def send_pkt_get_output(self, pkts, port_id=0, count=1, interval=0, drop=False):\n+ def send_pkt_get_output(\n+ self, pkts, port_id=0, count=1, interval=0, drop=False, **kwargs\n+ ):\n tx_port = self.tester_ifaces[0] if port_id == 0 else self.tester_ifaces[1]\n self.logger.info(\"----------send packet-------------\")\n self.logger.info(\"{}\".format(pkts))\n+ mismatch_flag = kwargs.get(\"mismatch\")\n if drop:\n self.pmd_output.execute_cmd(\"clear port stats all\")\n time.sleep(1)\n- if self.ipfrag_flag == True:\n+ if self.ipfrag_flag == True and not mismatch_flag:\n send_ipfragment_pkt(self.test_case, pkts, tx_port)\n else:\n self.pkt.update_pkt(pkts)\n@@ -1410,7 +1413,7 @@ class FdirProcessing(object):\n self.pmd_output.execute_cmd(\"start\")\n return out\n else:\n- if self.ipfrag_flag == True:\n+ if self.ipfrag_flag == True and not mismatch_flag:\n count = 2\n send_ipfragment_pkt(self.test_case, pkts, tx_port)\n else:\n@@ -1623,11 +1626,14 @@ class FdirProcessing(object):\n \n # send and check unmatched packets\n out2 = self.send_pkt_get_output(\n- pkts=tv[\"scapy_str\"][\"unmatched\"], port_id=port_id, drop=drop\n+ pkts=tv[\"scapy_str\"][\"unmatched\"],\n+ port_id=port_id,\n+ drop=drop,\n+ mismatch=True,\n )\n check_mark(\n out2,\n- pkt_num=len(tv[\"scapy_str\"][\"unmatched\"]) * 2\n+ pkt_num=len(tv[\"scapy_str\"][\"unmatched\"])\n if self.ipfrag_flag\n else len(tv[\"scapy_str\"][\"unmatched\"]),\n check_param=tv[\"check_param\"],\n", "prefixes": [ "V3", "1/5" ] }{ "id": 111703, "url": "