Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/114828/?format=api
https://patches.dpdk.org/api/patches/114828/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20220811163623.3960-2-songx.jiale@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": "<20220811163623.3960-2-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220811163623.3960-2-songx.jiale@intel.com", "date": "2022-08-11T16:36:22", "name": "[V1,2/3] test_plans/ice_qinq: fix error packets", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "f020cb90e559baa0fdb4b82bfd61b7ecc58dbb55", "submitter": { "id": 2352, "url": "https://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20220811163623.3960-2-songx.jiale@intel.com/mbox/", "series": [ { "id": 24260, "url": "https://patches.dpdk.org/api/series/24260/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=24260", "date": "2022-08-11T16:36:21", "name": "[V1,1/3] tests/ice_qinq: fix error packets", "version": 1, "mbox": "https://patches.dpdk.org/series/24260/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/114828/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/114828/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 2ABBDA0548;\n\tThu, 11 Aug 2022 10:18:25 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 24CEA427F2;\n\tThu, 11 Aug 2022 10:18:25 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 7B903400D6\n for <dts@dpdk.org>; Thu, 11 Aug 2022 10:18:23 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Aug 2022 01:18:22 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.94])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Aug 2022 01:18:21 -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=1660205903; x=1691741903;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=qnWy+aanTz+sqU3QOZKSWNmi0P+Y7nhVh4KlftDx/dE=;\n b=oCHd4lUXVmAkVgEFn/0iivwyAX/zGQa4c0CAu5q1Eo0t3SmGXuoiXzuy\n Bbv1Uij8n6g2mXExFSFFX3COvMbgNnRY17Fc9BKzxZLa3um5CJBNbPnjr\n u91/cK7eGRGnRHKPwM1t4tEv/F+G4WFbV1sOE8uogNGg9zcPchEBF3qrf\n sBIdI0Tni7D5cHehswicErKhszn+JWy3PnzorwFeWW4TuGJ0wUE9AXT0h\n M1menM7pkK0+g4flVjCeNTUO7KvyvI6fkKi6oH6ZbuWlbj5G8oybT0ZsD\n nmxPsjXzJecYiId4685y8iUYXQ+BvZ1rbpzeYrfGgXT6kBzVt6H/GUmt1 A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10435\"; a=\"274347848\"", "E=Sophos;i=\"5.93,228,1654585200\"; d=\"scan'208\";a=\"274347848\"", "E=Sophos;i=\"5.93,228,1654585200\"; d=\"scan'208\";a=\"602091199\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Subject": "[dts] [PATCH V1 2/3] test_plans/ice_qinq: fix error packets", "Date": "Thu, 11 Aug 2022 16:36:22 +0000", "Message-Id": "<20220811163623.3960-2-songx.jiale@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20220811163623.3960-1-songx.jiale@intel.com>", "References": "<20220811163623.3960-1-songx.jiale@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": "Dot1Q type 0x86DD is ipv6, Dot1Q type 0x0800 is ipv4.\nppp proto 0x0057 is ipv6, ppp proto 0x0021 is ipv4.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/ice_qinq_test_plan.rst | 34 +++++++++++++++----------------\n 1 file changed, 17 insertions(+), 17 deletions(-)", "diff": "diff --git a/test_plans/ice_qinq_test_plan.rst b/test_plans/ice_qinq_test_plan.rst\nindex 3cf20fc3..37396f41 100644\n--- a/test_plans/ice_qinq_test_plan.rst\n+++ b/test_plans/ice_qinq_test_plan.rst\n@@ -154,7 +154,7 @@ subcase: dest mac\n sendp([Ether(dst=\"00:11:22:33:44:33\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IP()/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IP()/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x2,type=0x0800)/IP()/(\"X\"*480)], iface=\"ens786f0\")\n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x86DD)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n \n check the packets are not to port 1.\n \n@@ -242,14 +242,14 @@ subcase: dest mac\n \n 2. send matched packets::\n \n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x86DD)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n \n check port 1 receive the packet.\n send mismatched packets::\n \n- sendp([Ether(dst=\"00:11:22:33:44:33\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x2,type=0x0800)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:33\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x86DD)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=0x1,type=0x86DD)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x2,type=0x86DD)/IPv6()/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x0800)/IP()/(\"X\"*480)], iface=\"ens786f0\")\n \n check the packets are not to port 1.\n@@ -418,7 +418,7 @@ subcase: dest mac\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x2)/PPP(proto=0x21)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x21)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x2,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x21)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x21)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x57)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:33\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x21)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n \n check the packets are not to port 1.\n@@ -517,7 +517,7 @@ subcase: dest mac\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x2)/PPP(proto=0x57)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x57)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x2,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x57)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n- sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x57)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x21)/IP()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n sendp([Ether(dst=\"00:11:22:33:44:33\",type=0x8100)/Dot1Q(vlan=2,type=0x8100)/Dot1Q(vlan=0x1,type=0x8864)/PPPoE(sessionid=0x1)/PPP(proto=0x57)/IPv6()/UDP(dport=23)/(\"X\"*480)], iface=\"ens786f0\")\n \n check the packets are not to port 1.\n@@ -1921,7 +1921,7 @@ Test Steps\n \n Tester::\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n DUT::\n \n@@ -1933,13 +1933,13 @@ DUT::\n \n Tester::\n \n- >>> sendp([Ether(dst=\"<dst mac change inputset>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac change inputset>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci change inputset>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci change inputset>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci change inputset>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci change inputset>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/UDP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst change inputset>\")/UDP(sport=<sport>,dport=<dport change inputset>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst change inputset>\")/UDP(sport=<sport>,dport=<dport change inputset>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n 5. Destroy a rule and list rules::\n \n@@ -1989,7 +1989,7 @@ Test steps\n \n Tester::\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n DUT::\n \n@@ -2001,13 +2001,13 @@ DUT::\n \n Tester::\n \n- >>> sendp([Ether(dst=\"<dst mac change inputset>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac change inputset>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci change inputset>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci change inputset>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci change inputset>,type=0x0800)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci change inputset>,type=0x86DD)/IPv6(dst=\"<ipv6 dst>\")/TCP(sport=<sport>,dport=<dport>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n- >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x0800)/IPv6(dst=\"<ipv6 dst change inputset>\")/TCP(sport=<sport>,dport=<dport change inputset>)/(\"X\"*80)],iface=\"<tester interface>\")\n+ >>> sendp([Ether(dst=\"<dst mac>\",type=0x8100)/Dot1Q(vlan=<outer vlan tci>,type=0x8100)/Dot1Q(vlan=<inner vlan tci>,type=0x86DD)/IPv6(dst=\"<ipv6 dst change inputset>\")/TCP(sport=<sport>,dport=<dport change inputset>)/(\"X\"*80)],iface=\"<tester interface>\")\n \n 5. Destroy a rule and list rules::\n \n", "prefixes": [ "V1", "2/3" ] }{ "id": 114828, "url": "