Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99713/?format=api
http://patches.dpdk.org/api/patches/99713/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20210927162220.13633-5-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": "<20210927162220.13633-5-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210927162220.13633-5-zhiminx.huang@intel.com", "date": "2021-09-27T16:22:20", "name": "[V3,4/4] tests/iavf_fdir:add esp flow test case", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "491cef2c084c2cd57c2ee390e3187f2e65cd9414", "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/20210927162220.13633-5-zhiminx.huang@intel.com/mbox/", "series": [ { "id": 19179, "url": "http://patches.dpdk.org/api/series/19179/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=19179", "date": "2021-09-27T16:22:16", "name": "enable esp flow", "version": 3, "mbox": "http://patches.dpdk.org/series/19179/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/99713/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/99713/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 9D0B0A0547;\n\tMon, 27 Sep 2021 09:53:43 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 97DA740E3C;\n\tMon, 27 Sep 2021 09:53:43 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 848CA410E1\n for <dts@dpdk.org>; Mon, 27 Sep 2021 09:53:41 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Sep 2021 00:53:41 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Sep 2021 00:53:39 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10119\"; a=\"285439394\"", "E=Sophos;i=\"5.85,325,1624345200\"; d=\"scan'208\";a=\"285439394\"", "E=Sophos;i=\"5.85,325,1624345200\"; d=\"scan'208\";a=\"553070535\"" ], "From": "Zhimin Huang <zhiminx.huang@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhimin Huang <zhiminx.huang@intel.com>", "Date": "Tue, 28 Sep 2021 00:22:20 +0800", "Message-Id": "<20210927162220.13633-5-zhiminx.huang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210927162220.13633-1-zhiminx.huang@intel.com>", "References": "<20210927162220.13633-1-zhiminx.huang@intel.com>", "Subject": "[dts] [PATCH V3 4/4] tests/iavf_fdir:add esp flow test case", "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": "add 21.08 new feature testcase,this feature support esp flow to match outer ip header.\ntake ip src/dst and spi for inputset,add 4 new cases in iavf_fdir test suite.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_iavf_fdir.py | 162 +++++++++++++++++++++++++++--------\n 1 file changed, 128 insertions(+), 34 deletions(-)", "diff": "diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py\nindex aecb39ca..7f8dace3 100755\n--- a/tests/TestSuite_iavf_fdir.py\n+++ b/tests/TestSuite_iavf_fdir.py\n@@ -274,18 +274,22 @@ MAC_IPV6_L2TPv3 = {\n \n MAC_IPV4_ESP = {\n \"match\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.3\",proto=50)/ESP(spi=7)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.1.3\",proto=50)/ESP(spi=7)/Raw(\"x\"*480)'],\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\",proto=50)/ESP(spi=7)/Raw(\"x\"*480)'],\n \"mismatch\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.3\",proto=50)/ESP(spi=17)/Raw(\"x\"*480)']\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.22\",dst=\"192.168.0.21\",proto=50)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.11\",proto=50)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\",proto=50)/ESP(spi=17)/Raw(\"x\"*480)'\n+ ]\n }\n \n MAC_IPV6_ESP = {\n \"match\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"1111:2222:3333:4444:5555:6666:7777:8888\",nh=50)/ESP(spi=7)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"1111:2222:3333:4444:5555:6666:7777:9999\",nh=50)/ESP(spi=7)/Raw(\"x\"*480)'],\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::2\",nh=50)/ESP(spi=7)/Raw(\"x\"*480)'],\n \"mismatch\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"1111:2222:3333:4444:5555:6666:7777:8888\",nh=50)/ESP(spi=17)/Raw(\"x\"*480)']\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::8\",dst=\"2001::2\",nh=50)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::9\",nh=50)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::2\",nh=50)/ESP(spi=17)/Raw(\"x\"*480)'\n+ ]\n }\n \n MAC_IPV4_AH = {\n@@ -306,20 +310,20 @@ MAC_IPV6_AH = {\n \n MAC_IPV4_NAT_T_ESP = {\n \"match\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)'],\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)'],\n \"mismatch\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.10.20\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\")/UDP(dport=4500)/ESP(spi=12)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(dst=\"192.168.0.20\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)']\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.22\",dst=\"192.168.0.21\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.11\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\")/UDP(dport=4500)/ESP(spi=17)/Raw(\"x\"*480)']\n }\n \n MAC_IPV6_NAT_T_ESP = {\n \"match\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:8888\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)'],\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::2\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)'],\n \"mismatch\": [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:8888\")/UDP(dport=4500)/ESP(spi=12)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:9999\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"1111:2222:3333:4444:5555:6666:7777:8888\")/UDP(dport=4500)/ESP(spi=2)/Raw(\"x\"*480)']\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::8\",dst=\"2001::2\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::9\")/UDP(dport=4500)/ESP(spi=7)/Raw(\"x\"*480)',\n+ 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::1\",dst=\"2001::2\")/UDP(dport=4500)/ESP(spi=17)/Raw(\"x\"*480)']\n }\n \n L2_Ethertype = [\n@@ -2126,44 +2130,86 @@ tv_mac_ipv6_l2tpv3_mark = {\n \n tv_mac_ipv4_esp_queue_index = {\n \"name\": \"test_mac_ipv4_esp_queue_index\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n \"scapy_str\": MAC_IPV4_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": 13, \"mark_id\": 7}\n }\n \n tv_mac_ipv4_esp_queue_group = {\n \"name\": \"test_mac_ipv4_esp_queue_group\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n \"scapy_str\": MAC_IPV4_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": [1, 2, 3, 4], \"mark_id\": 6}\n }\n \n+tv_mac_ipv4_esp_passthru = {\n+ \"name\": \"test_mac_ipv4_esp_passthru\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions passthru / mark id 1 / end\",\n+ \"scapy_str\": MAC_IPV4_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 1}\n+}\n+\n+tv_mac_ipv4_esp_drop = {\n+ \"name\": \"test_mac_ipv4_esp_drop\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions drop / end\",\n+ \"scapy_str\": MAC_IPV4_ESP,\n+ \"check_param\": {\"port_id\": 0, \"drop\": 1}\n+}\n+\n+tv_mac_ipv4_esp_mark_rss = {\n+ \"name\": \"test_mac_ipv4_esp_mark_rss\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions mark id 2 / rss / end\",\n+ \"scapy_str\": MAC_IPV4_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 2}\n+}\n+\n tv_mac_ipv4_esp_mark = {\n \"name\": \"test_mac_ipv4_esp_mark\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 / esp spi is 7 / end actions mark id 15 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / esp spi is 7 / end actions mark id 15 / end\",\n \"scapy_str\": MAC_IPV4_ESP,\n- \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 15}\n+ \"check_param\": {\"port_id\": 0, \"mark_id\": 15}\n }\n \n tv_mac_ipv6_esp_queue_index = {\n \"name\": \"test_mac_ipv6_esp_queue_index\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n \"scapy_str\": MAC_IPV6_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": 13, \"mark_id\": 7}\n }\n \n tv_mac_ipv6_esp_queue_group = {\n \"name\": \"test_mac_ipv6_esp_queue_group\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n \"scapy_str\": MAC_IPV6_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": [1, 2, 3, 4], \"mark_id\": 6}\n }\n \n+tv_mac_ipv6_esp_passthru = {\n+ \"name\": \"test_mac_ipv6_esp_passthru\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions passthru / mark id 1 / end\",\n+ \"scapy_str\": MAC_IPV6_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 1}\n+}\n+\n+tv_mac_ipv6_esp_drop = {\n+ \"name\": \"test_mac_ipv6_esp_drop\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions drop / end\",\n+ \"scapy_str\": MAC_IPV6_ESP,\n+ \"check_param\": {\"port_id\": 0, \"drop\": 1}\n+}\n+\n+tv_mac_ipv6_esp_mark_rss = {\n+ \"name\": \"test_mac_ipv6_esp_mark_rss\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions mark id 2 / rss / end\",\n+ \"scapy_str\": MAC_IPV6_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 2}\n+}\n+\n tv_mac_ipv6_esp_mark = {\n \"name\": \"test_mac_ipv6_esp_mark\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 / esp spi is 7 / end actions mark id 15 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / esp spi is 7 / end actions mark id 15 / end\",\n \"scapy_str\": MAC_IPV6_ESP,\n- \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 15}\n+ \"check_param\": {\"port_id\": 0, \"mark_id\": 15}\n }\n \n tv_mac_ipv4_ah_queue_index = {\n@@ -2210,44 +2256,86 @@ tv_mac_ipv6_ah_mark = {\n \n tv_mac_ipv4_nat_t_esp_queue_index = {\n \"name\": \"test_mac_ipv4_nat_t_esp_queue_index\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions queue index 13 / mark id 7 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": 13, \"mark_id\": 7}\n }\n \n tv_mac_ipv4_nat_t_esp_queue_group = {\n \"name\": \"test_mac_ipv4_nat_t_esp_queue_group\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": [1, 2, 3, 4], \"mark_id\": 6}\n }\n \n+tv_mac_ipv4_nat_t_esp_passthru = {\n+ \"name\": \"test_mac_ipv4_nat_t_esp_passthru\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions passthru / mark id 1 / end\",\n+ \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 1}\n+}\n+\n+tv_mac_ipv4_nat_t_esp_drop = {\n+ \"name\": \"test_mac_ipv4_nat_t_esp_drop\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions drop / end\",\n+ \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"drop\": 1}\n+}\n+\n+tv_mac_ipv4_nat_t_esp_mark_rss = {\n+ \"name\": \"test_mac_ipv4_nat_t_esp_mark_rss\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions mark id 2 / rss / end\",\n+ \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 2}\n+}\n+\n tv_mac_ipv4_nat_t_esp_mark = {\n \"name\": \"test_mac_ipv4_nat_t_esp_mark\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / esp spi is 2 / end actions mark id 15 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / esp spi is 7 / end actions mark id 15 / end\",\n \"scapy_str\": MAC_IPV4_NAT_T_ESP,\n- \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 15}\n+ \"check_param\": {\"port_id\": 0, \"mark_id\": 15}\n }\n \n tv_mac_ipv6_nat_t_esp_queue_index = {\n \"name\": \"test_mac_ipv6_nat_t_esp_queue_index\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end actions queue index 13 / mark id 7 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions queue index 13 / mark id 7 / end\",\n \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": 13, \"mark_id\": 7}\n }\n \n tv_mac_ipv6_nat_t_esp_queue_group = {\n \"name\": \"test_mac_ipv6_nat_t_esp_queue_group\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions rss queues 1 2 3 4 end / mark id 6 / end\",\n \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n \"check_param\": {\"port_id\": 0, \"queue\": [1, 2, 3, 4], \"mark_id\": 6}\n }\n \n+tv_mac_ipv6_nat_t_esp_passthru = {\n+ \"name\": \"test_mac_ipv6_nat_t_esp_passthru\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions passthru / mark id 1 / end\",\n+ \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 1}\n+}\n+\n+tv_mac_ipv6_nat_t_esp_drop = {\n+ \"name\": \"test_mac_ipv6_nat_t_esp_drop\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions drop / end\",\n+ \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"drop\": 1}\n+}\n+\n+tv_mac_ipv6_nat_t_esp_mark_rss = {\n+ \"name\": \"test_mac_ipv6_nat_t_esp_mark_rss\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions mark id 2 / rss / end\",\n+ \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n+ \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 2}\n+}\n+\n tv_mac_ipv6_nat_t_esp_mark = {\n \"name\": \"test_mac_ipv6_nat_t_esp_mark\",\n- \"rule\": \"flow create 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 2 / end actions mark id 15 / end\",\n+ \"rule\": \"flow create 0 ingress pattern eth / ipv6 src is 2001::1 dst is 2001::2 / udp / esp spi is 7 / end actions mark id 15 / end\",\n \"scapy_str\": MAC_IPV6_NAT_T_ESP,\n- \"check_param\": {\"port_id\": 0, \"passthru\": 1, \"mark_id\": 15}\n+ \"check_param\": {\"port_id\": 0, \"mark_id\": 15}\n }\n \n # mac_ipv4_tcp_without_input_set\n@@ -6902,17 +6990,23 @@ vectors_ipv4_l2tpv3 = [tv_mac_ipv4_l2tpv3_queue_index, tv_mac_ipv4_l2tpv3_queue_\n \n vectors_ipv6_l2tpv3 = [tv_mac_ipv6_l2tpv3_queue_index, tv_mac_ipv6_l2tpv3_queue_group, tv_mac_ipv6_l2tpv3_mark]\n \n-vectors_ipv4_esp = [tv_mac_ipv4_esp_queue_index, tv_mac_ipv4_esp_queue_group, tv_mac_ipv4_esp_mark]\n+vectors_ipv4_esp = [tv_mac_ipv4_esp_queue_index, tv_mac_ipv4_esp_queue_group, tv_mac_ipv4_esp_mark,\n+ tv_mac_ipv4_esp_drop, tv_mac_ipv4_esp_mark_rss, tv_mac_ipv4_esp_passthru]\n \n-vectors_ipv6_esp = [tv_mac_ipv6_esp_queue_index, tv_mac_ipv6_esp_queue_group, tv_mac_ipv6_esp_mark]\n+vectors_ipv6_esp = [tv_mac_ipv6_esp_queue_index, tv_mac_ipv6_esp_queue_group, tv_mac_ipv6_esp_mark,\n+ tv_mac_ipv6_esp_drop, tv_mac_ipv6_esp_mark_rss, tv_mac_ipv6_esp_passthru]\n \n vectors_ipv4_ah = [tv_mac_ipv4_ah_queue_index, tv_mac_ipv4_ah_queue_group, tv_mac_ipv4_ah_mark]\n \n vectors_ipv6_ah = [tv_mac_ipv6_ah_queue_index, tv_mac_ipv6_ah_queue_group, tv_mac_ipv6_ah_mark]\n \n-vectors_ipv4_nat_t_esp = [tv_mac_ipv4_nat_t_esp_queue_index, tv_mac_ipv4_nat_t_esp_queue_group, tv_mac_ipv4_nat_t_esp_mark]\n+vectors_ipv4_nat_t_esp = [tv_mac_ipv4_nat_t_esp_queue_index, tv_mac_ipv4_nat_t_esp_queue_group,\n+ tv_mac_ipv4_nat_t_esp_mark, tv_mac_ipv4_nat_t_esp_drop, tv_mac_ipv4_nat_t_esp_mark_rss,\n+ tv_mac_ipv4_nat_t_esp_passthru]\n \n-vectors_ipv6_nat_t_esp = [tv_mac_ipv6_nat_t_esp_queue_index, tv_mac_ipv6_nat_t_esp_queue_group, tv_mac_ipv6_nat_t_esp_mark]\n+vectors_ipv6_nat_t_esp = [tv_mac_ipv6_nat_t_esp_queue_index, tv_mac_ipv6_nat_t_esp_queue_group,\n+ tv_mac_ipv6_nat_t_esp_mark, tv_mac_ipv6_nat_t_esp_drop, tv_mac_ipv6_nat_t_esp_mark_rss,\n+ tv_mac_ipv6_nat_t_esp_passthru]\n \n vectors_ipv4_tcp_without_input_set = [tv_mac_ipv4_tcp_without_input_set_queue_index, tv_mac_ipv4_tcp_without_input_set_queue_group,\n tv_mac_ipv4_tcp_without_input_set_mark_rss, tv_mac_ipv4_tcp_without_input_set_passthru,\n", "prefixes": [ "V3", "4/4" ] }{ "id": 99713, "url": "