Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97768/?format=api
http://patches.dpdk.org/api/patches/97768/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20210902181302.642071-1-yaqi.tang@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": "<20210902181302.642071-1-yaqi.tang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210902181302.642071-1-yaqi.tang@intel.com", "date": "2021-09-02T18:13:02", "name": "[V1] test_plans/cvl_switch_filter_pppoe:add test plan for cvl switch filter pppoe support l4 mask", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "f1a216f9dc209d88ca7933f6c64cb3ce26026799", "submitter": { "id": 2357, "url": "http://patches.dpdk.org/api/people/2357/?format=api", "name": "Yaqi Tang", "email": "yaqi.tang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20210902181302.642071-1-yaqi.tang@intel.com/mbox/", "series": [ { "id": 18621, "url": "http://patches.dpdk.org/api/series/18621/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=18621", "date": "2021-09-02T18:13:02", "name": "[V1] test_plans/cvl_switch_filter_pppoe:add test plan for cvl switch filter pppoe support l4 mask", "version": 1, "mbox": "http://patches.dpdk.org/series/18621/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/97768/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/97768/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 6834BA0C47;\n\tThu, 2 Sep 2021 12:14:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6197F4013F;\n\tThu, 2 Sep 2021 12:14:12 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id B189B40141\n for <dts@dpdk.org>; Thu, 2 Sep 2021 12:14:10 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Sep 2021 03:14:09 -0700", "from dpdk-yaqi.sh.intel.com ([10.67.118.175])\n by orsmga007.jf.intel.com with ESMTP; 02 Sep 2021 03:14:08 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10094\"; a=\"199289285\"", "E=Sophos;i=\"5.84,372,1620716400\"; d=\"scan'208\";a=\"199289285\"", "E=Sophos;i=\"5.84,372,1620716400\"; d=\"scan'208\";a=\"467332049\"" ], "X-ExtLoop1": "1", "From": "Yaqi Tang <yaqi.tang@intel.com>", "To": "dts@dpdk.org", "Cc": "Yaqi Tang <yaqi.tang@intel.com>", "Date": "Thu, 2 Sep 2021 18:13:02 +0000", "Message-Id": "<20210902181302.642071-1-yaqi.tang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V1] test_plans/cvl_switch_filter_pppoe:add test plan\n for cvl switch filter pppoe support l4 mask", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "CVL Support l4 mask filter in PF driver for switch filter, and port can support mask like \"udp src is 22 src mask 0xf\".\n\nSigned-off-by: Yaqi Tang< yaqi.tang@intel.com>\nTested-by: Yaqi Tang < yaqi.tang@intel.com>\n---\n .../cvl_switch_filter_pppoe_test_plan.rst | 146 ++++++++++++++++++\n 1 file changed, 146 insertions(+)", "diff": "diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\nindex 83377154..45ba3c6e 100644\n--- a/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n+++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n@@ -751,6 +751,152 @@ drop action\n \n repeat step 1-4 to check the pattern in pipeline mode.\n \n+Test steps for supported pattern\n+================================\n+1. validate rules.\n+2. create rules and list rules.\n+3. send matched packets, check the action is correct::\n+ queue index: to correct queue \n+ rss queues: to correct queue group \n+ drop: not receive pkt\n+4. send mismatched packets, check the action is not correct::\n+ queue index: not to correct queue \n+ rss queues: not to correct queue group \n+ drop: receive pkt\n+5. destroy rule, list rules, check no rules.\n+6. send matched packets, check the action is not right.\n+\n+Test case: IPv4/IPv6 + TCP/UDP pipeline mode\n+============================================\n+\n+MAC_PPPOE_IPV4_UDP + L4 MASK\n+----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2304,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=2244,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+queue index\n+...........\n+\n+flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 2500 src mask 0xf00 / end actions queue index 1 / end\n+\n+\n+MAC_PPPOE_IPV4_TCP + L4 MASK\n+----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2304,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=2244,dport=23)/Raw(\"x\" * 80)],iface=\"ens260f0\",count=1)\n+\n+queue index\n+...........\n+flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 2500 src mask 0xf00 / end actions queue index 3 / end\n+\n+\n+MAC_PPPOE_IPV6_UDP + L4 MASK\n+----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+rss queues\n+.......... \n+flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp dst is 1025 dst mask 0xf0 / end actions rss queues 4 5 end / end\n+\n+MAC_PPPOE_IPV6_TCP + L4 MASK\n+----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1282)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=1040)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+drop\n+.... \n+flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp dst is 1025 dst mask 0xf0 / end actions drop / end\n+\n+\n+Test case: VLAN non-pipeline mode\n+=================================\n+\n+MAC_VLAN_PPPOE_IPV4_UDP + L4 MASK\n+---------------------------------\n+matched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+ \n+queue index\n+...........\n+flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp dst is 1280 dst mask 0x00ff / end actions queue index 1 / end\n+\n+MAC_VLAN_PPPOE_IPV4_TCP + L4 MASK\n+---------------------------------\n+matched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1024)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=50,dport=1281)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+rss queues\n+..........\n+flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 dst is 192.168.1.2 / tcp dst is 1280 dst mask 0x00ff / end actions rss queues 4 5 end / end\n+\n+Test case: VLAN pipeline mode\n+=============================\n+MAC_VLAN_PPPOE_IPV6_UDP + L4 MASK\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=16,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=17,dport=23)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+drop\n+....\n+flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 32 src mask 0x0f / end actions drop / end\n+\n+MAC_VLAN_PPPOE_IPV6_TCP + L4 MASK\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=16)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether()/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(dport=17)/Raw(\"x\"*80)],iface=\"ens260f0\",count=1)\n+\n+queue index\n+...........\n+flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp dst is 32 dst mask 0x0f / end actions queue index 7 / end\n+\n+\n Test case: MAC_PPPOE_IPV4_PAY_session_id_proto_id\n =================================================\n \n", "prefixes": [ "V1" ] }{ "id": 97768, "url": "