* [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue
@ 2020-11-30 9:46 Zhimin Huang
2020-11-30 9:57 ` Huang, ZhiminX
0 siblings, 1 reply; 4+ messages in thread
From: Zhimin Huang @ 2020-11-30 9:46 UTC (permalink / raw)
To: dts; +Cc: qi.fu, Zhimin Huang
*.add gtpc/gtpu new case and support default gtpu behavior after pkg update.
Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
| 1074 ++++---------------------
1 file changed, 163 insertions(+), 911 deletions(-)
--git a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py
index 80e5feb..c94a15d 100755
--- a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py
@@ -824,11 +824,41 @@ mac_ipv4_gtpu_ipv4_udp_all = {
]
}
+mac_ipv4_gtpu_ipv4_udp_l3 = {
+ 'sub_casename': 'mac_ipv4_gtpu_ipv4_udp_l3',
+ 'port_id': 0,
+ 'rule': 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end',
+ 'test': [
+ {
+ 'send_packet': mac_ipv4_gtpu_ipv4_udp_basic,
+ 'action': 'save_hash',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_ipv4_udp_basic.replace('192.168.0.1', '192.168.1.1'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_ipv4_udp_basic.replace('192.168.0.2', '192.168.1.2'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_ipv4_udp_basic.replace('sport=22,dport=23', 'sport=12,dport=13'),
+ 'action': 'check_hash_same',
+ },
+ ],
+ 'post-test': [
+ {
+ 'send_packet': mac_ipv4_gtpu_ipv4_udp_basic,
+ 'action': 'check_no_hash_or_different',
+ },
+ ]
+}
+
mac_ipv4_gtpu_ipv4_udp_toeplitz = [mac_ipv4_gtpu_ipv4_udp_l3dst, mac_ipv4_gtpu_ipv4_udp_l3src,
mac_ipv4_gtpu_ipv4_udp_l3dst_l4src, mac_ipv4_gtpu_ipv4_udp_l3dst_l4dst,
mac_ipv4_gtpu_ipv4_udp_l3src_l4src, mac_ipv4_gtpu_ipv4_udp_l3src_l4dst,
mac_ipv4_gtpu_ipv4_udp_l4src, mac_ipv4_gtpu_ipv4_udp_l4dst,
- mac_ipv4_gtpu_ipv4_udp_all]
+ mac_ipv4_gtpu_ipv4_udp_all, mac_ipv4_gtpu_ipv4_udp_l3]
mac_ipv4_gtpu_ipv4_tcp_toeplitz = [eval(str(element).replace('TCP', 'TCP1').replace('udp', 'tcp')
.replace('UDP(sport', 'TCP(sport').replace('TCP1', 'UDP')
@@ -1977,9 +2007,19 @@ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3dst_only = {
'action': 'check_hash_different',
},
{
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'].replace('192.168.0.1', '192.168.1.1'),
+ 'action': 'check_hash_different',
+ },
+ {
'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'].replace('192.168.0.2', '192.168.1.2')
- .replace('sport=22, dport=23', 'sport=32, dport=33')
- .replace('0x123456', '0x12345'),
+ .replace('sport=22, dport=23',
+ 'sport=32, dport=33'),
+ 'action': 'check_hash_same',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'].replace('192.168.0.2', '192.168.1.2')
+ .replace('sport=22, dport=23',
+ 'sport=32, dport=33'),
'action': 'check_hash_same',
},
],
@@ -2144,6 +2184,55 @@ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp = {
]
}
+mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3 = {
+ 'sub_casename': 'mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3',
+ 'port_id': 0,
+ 'rule': 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end',
+ 'test': [
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'],
+ 'action': 'save_hash',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'],
+ 'action': 'check_hash_same',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'].replace('192.168.0.1', '192.168.1.1'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'].replace('192.168.0.2', '192.168.1.2'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'].replace('192.168.0.1', '192.168.1.1'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'].replace('192.168.0.2', '192.168.1.2'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'].replace('sport=22, dport=23', 'sport=12, dport=13'),
+ 'action': 'check_hash_same',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'].replace('sport=22, dport=23', 'sport=12, dport=13'),
+ 'action': 'check_hash_same',
+ },
+ ],
+ 'post-test': [
+ {
+ 'send_packet': [
+ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['dl'],
+ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_basic['ul'],
+ ],
+ 'action': 'check_no_hash_or_different',
+ },
+ ]
+}
+
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_toeplitz = [
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3src_only,
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3dst_only,
@@ -2154,6 +2243,7 @@ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_toeplitz = [
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l4src_only,
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l4dst_only,
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp,
+ mac_ipv4_gtpu_eh_without_ul_dl_ipv4_udp_l3,
]
mac_ipv4_gtpu_eh_without_ul_dl_ipv4_tcp_toeplitz = [eval(str(element).replace('TCP', 'TCP1').replace('udp', 'tcp')
@@ -2175,6 +2265,7 @@ mac_ipv4_gtpu_eh_without_ul_dl_ipv6_toeplitz = [eval(str(element).replace('gtp_p
mac_ipv4_gtpu_eh_without_ul_dl_ipv6_udp_toeplitz = [eval(str(element).replace('gtp_psc / ipv4', 'gtp_psc / ipv6')
.replace('ipv4-udp', 'ipv6-udp')
+ .replace('types ipv4', 'types ipv6')
.replace('ul_dl_ipv4_udp', 'ul_dl_ipv6_udp')
.replace('IP(dst="192.168.0.1",src="192.168.0.2"', 'IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020"')
.replace('IP(dst="192.168.1.1",src="192.168.0.2"', 'IPv6(dst="1212:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020"')
@@ -2184,6 +2275,7 @@ mac_ipv4_gtpu_eh_without_ul_dl_ipv6_udp_toeplitz = [eval(str(element).replace('g
mac_ipv4_gtpu_eh_without_ul_dl_ipv6_tcp_toeplitz = [eval(str(element).replace('gtp_psc / ipv4', 'gtp_psc / ipv6')
.replace('ipv4 / tcp', 'ipv6 / tcp')
+ .replace('types ipv4', 'types ipv6')
.replace('ipv4-tcp', 'ipv6-tcp')
.replace('ul_dl_ipv4_tcp', 'ul_dl_ipv6_tcp')
.replace('IP(dst="192.168.0.1",src="192.168.0.2"', 'IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020"')
@@ -2434,13 +2526,43 @@ mac_ipv4_gtpu_eh_dl_ipv4_udp_all = {
]
}
+mac_ipv4_gtpu_eh_dl_ipv4_udp_l3 = {
+ 'sub_casename': 'mac_ipv4_gtpu_eh_dl_ipv4_udp_l3',
+ 'port_id': 0,
+ 'rule': 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end',
+ 'test': [
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_dl_ipv4_udp_basic,
+ 'action': 'save_hash',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_dl_ipv4_udp_basic.replace('192.168.0.1', '192.168.1.1'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_dl_ipv4_udp_basic.replace('192.168.0.2', '192.168.1.2'),
+ 'action': 'check_hash_different',
+ },
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_dl_ipv4_udp_basic.replace('sport=22', 'sport=12').replace('dport=23', 'dport=13'),
+ 'action': 'check_hash_same',
+ },
+ ],
+ 'post-test': [
+ {
+ 'send_packet': mac_ipv4_gtpu_eh_dl_ipv4_udp_basic,
+ 'action': 'check_no_hash_or_different',
+ },
+ ]
+}
+
mac_ipv4_gtpu_eh_dl_ipv4_udp_toeplitz = [mac_ipv4_gtpu_eh_dl_ipv4_udp_l3dst, mac_ipv4_gtpu_eh_dl_ipv4_udp_l3src,
mac_ipv4_gtpu_eh_dl_ipv4_udp_l3dst_l4src,
mac_ipv4_gtpu_eh_dl_ipv4_udp_l3dst_l4dst,
mac_ipv4_gtpu_eh_dl_ipv4_udp_l3src_l4src,
mac_ipv4_gtpu_eh_dl_ipv4_udp_l3src_l4dst,
mac_ipv4_gtpu_eh_dl_ipv4_udp_l4src, mac_ipv4_gtpu_eh_dl_ipv4_udp_l4dst,
- mac_ipv4_gtpu_eh_dl_ipv4_udp_all]
+ mac_ipv4_gtpu_eh_dl_ipv4_udp_all, mac_ipv4_gtpu_eh_dl_ipv4_udp_l3]
mac_ipv4_gtpu_eh_ul_ipv4_udp_toeplitz = [eval(str(element).replace('(type=1', '(type=2')
.replace('(type=0', '(type=1').replace('(type=2', '(type=0')
@@ -3363,92 +3485,6 @@ mac_ipv6_gtpc_basic_pkt = {
]
}
-# mismatched basic pkt
-
-mac_ipv4_gtpu_mismatched_pkt = {
- 'ipv4-gtpu-eh-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv4-gtpu-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv4-gtpu-eh-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv4-gtpu-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv6-gtpu-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- ],
- 'ipv6-gtpu-eh-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- ],
- 'ipv4-gtpc-EchoRequest': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- ]
-}
-
-mac_ipv6_gtpu_mismatched_pkt = {
- 'ipv6-gtpu-eh-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv6-gtpu-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv6-gtpu-eh-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv6-gtpu-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv4-gtpu-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- ],
- 'ipv4-gtpu-eh-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/Raw("x"*96)',
- ],
- 'ipv6-gtpc-EchoRequest': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- ],
-}
-
-mac_ipv4_gtpc_mismatched_pkt = {
- 'ipv4-gtpu-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- ],
- 'ipv4-gtpu-eh-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- ],
- 'ipv4-gtpu-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv4-gtpu-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv6-gtpc-EchoRequest': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- ]
-}
-
-mac_ipv6_gtpc_mismatched_pkt = {
- 'ipv6-gtpu-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- ],
- 'ipv6-gtpu-eh-pay': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- ],
- 'ipv6-gtpu-ipv4': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- ],
- 'ipv6-gtpu-ipv6': [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- ],
- 'ipv6-gtpc-EchoRequest': [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- ]
-}
-
# matched change pkt
mac_ipv4_gtpu_l3src_only_changed = {
@@ -3919,70 +3955,6 @@ mac_ipv4_gtpu_l3src_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=3)/IP(src="192.168.1.1", dst="192.168.1.5")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345683,gtp_type=0x01)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # send mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv4'],
- 'action': 'check_no_hash',
- #'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.5")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345683, gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x35)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- #'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.5")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv6'],
- 'action': 'check_no_hash',
- #'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.5")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- #'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.5")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-pay'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-eh-pay'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -4103,70 +4075,6 @@ mac_ipv4_gtpu_l3dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=3)/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # send mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv4'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv6'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-pay'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-eh-pay'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -4350,59 +4258,9 @@ mac_ipv4_gtpu_l3_src_only_l3_dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x02)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv4'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv6'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- # 'action': {'save_hash': 'ipv4-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- # not support 20.11
- {
- #'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-pay'],
- # 'action': 'check_no_hash',
- },
- {
- #'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-eh-pay'],
- # 'action': 'check_no_hash',
- },
- {
- #'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- # 'action': 'check_no_hash',
- },
- ],
- # not support 20.11
- 'post-test': [
+ ],
+ # not support 20.11
+ 'post-test': [
{
'''
'send_packet': [
@@ -4522,70 +4380,6 @@ mac_ipv6_gtpu_l3src_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=25,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x02)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv4'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv4'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv6'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2055")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv6'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2055")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-pay'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-eh-pay'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- #'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -4705,70 +4499,6 @@ mac_ipv6_gtpu_l3dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x02)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv4'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv4'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv6'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-eh-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2091")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv6'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2091")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-pay'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-eh-pay'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- # 'action': 'check_no_hash',
- 'action': {'save_hash': 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -5248,47 +4978,6 @@ mac_ipv4_gtpc_l3src_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345683,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-pay'],
- 'action': {'save_hash', 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-eh-pay'],
- 'action': {'save_hash', 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -5564,48 +5253,6 @@ mac_ipv4_gtpc_l3dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=3)/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-pay'],
- 'action': {'save_hash': 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-eh-pay'],
- 'action': {'save_hash': 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv4'],
- # 'action': {'save_hash': 'ipv4-gtpu-ipv4'},
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -6041,36 +5688,6 @@ mac_ipv4_gtpc_l3_src_only_l3_dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.3")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682, gtp_type=255)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_no_hash',
- },
- # not support 20.11
- {
- # 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-pay'],
- # 'action': 'check_no_hash',
- },
- {
- # 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-eh-pay'],
- # 'action': 'check_no_hash',
- },
- {
- # 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- # 'action': 'check_no_hash',
- },
],
# not support 20.11
'post-test': [
@@ -6349,47 +5966,6 @@ mac_ipv6_gtpc_l3src_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=5)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345683,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-pay'],
- 'action': {'save_hash', 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-eh-pay'],
- 'action': {'save_hash', 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-ipv4'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-ipv6'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2055")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv4-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.7")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -6665,47 +6241,6 @@ mac_ipv6_gtpc_l3dst_only = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=3)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-pay'],
- 'action': {'save_hash', 'ipv6-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-eh-pay'],
- 'action': {'save_hash', 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x55)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-ipv4'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IP(src="192.168.1.7", dst="192.168.1.9")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-ipv6'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=2152)/GTP_U_Header(teid=0x12345682,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2930",dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv4-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.5", dst="192.168.1.3")/UDP(sport=23,dport=2123)/GTPHeader(teid=0x12345682,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -7206,7 +6741,8 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'ipv4-gtpu-pay'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['ipv4-gtpu-pay'][0].replace('src="192.168.1.1", dst="192.168.1.3',
+ 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7214,7 +6750,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'ipv4-gtpu-eh-pay'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['ipv4-gtpu-eh-pay'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7222,7 +6758,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'ipv4-gtpu-echo-request'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['ipv4-gtpu-echo-request'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7230,7 +6766,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'ipv4-gtpu-echo-reponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x02)/GTPEchoResponse()',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['ipv4-gtpu-echo-reponse'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7238,7 +6774,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpu-pay'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['vlan-ipv4-gtpu-pay'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7246,7 +6782,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpu-eh-pay'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['vlan-ipv4-gtpu-eh-pay'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7254,7 +6790,7 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpu-echo-request'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['vlan-ipv4-gtpu-echo-request'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
{
@@ -7262,51 +6798,9 @@ mac_ipv4_gtpu_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpu-echo-reponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x02)/GTPEchoResponse()',
+ 'send_packet': mac_ipv4_gtpu_basic_pkt['vlan-ipv4-gtpu-echo-reponse'][0].replace('src="192.168.1.1", dst="192.168.1.3', 'src="192.168.1.3", dst="192.168.1.1'),
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv4'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-eh-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-pay'],
- 'action': {'save_hash', 'ipv6-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-eh-pay'],
- 'action': {'save_hash', 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
-
],
'post-test': [
{
@@ -7394,63 +6888,6 @@ mac_ipv6_gtpu_symmetric = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x02)/GTPEchoResponse()',
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv4'],
- 'action': {'save_hash', 'ipv6-gtpu-eh-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpc_mismatched_pkt['ipv6-gtpu-ipv4'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-eh-ipv6'],
- 'action': {'save_hash', 'ipv6-gtpu-eh-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv6'],
- 'action': {'save_hash', 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-pay'],
- 'action': {'save_hash', 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-eh-pay'],
- 'action': {'save_hash', 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- 'action': {'save_hash', 'ipv6-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -7479,7 +6916,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-EchoRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-EchoRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7487,7 +6924,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-EchoEesponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x02)/GTPEchoResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-EchoEesponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7495,7 +6932,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-CreatePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x10)/GTPCreatePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-CreatePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7503,7 +6940,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-CreatePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x11)/GTPCreatePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-CreatePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7511,7 +6948,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-UpdatePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x12)/GTPUpdatePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-UpdatePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7519,7 +6956,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-UpdatePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x13)/GTPUpdatePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-UpdatePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7527,7 +6964,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-DeletePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x14)/GTPDeletePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-DeletePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7535,7 +6972,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-DeletePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x15)/GTPDeletePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-DeletePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7543,7 +6980,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-PDUNotificationRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x1B)/GTPPDUNotificationRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-PDUNotificationRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7551,7 +6988,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'ipv4-gtpc-SupportedExtensionHeadersNotification'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['ipv4-gtpc-SupportedExtensionHeadersNotification'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7559,7 +6996,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-EchoRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-EchoRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7567,7 +7004,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-EchoEesponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x02)/GTPEchoResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-EchoEesponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7575,7 +7012,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-CreatePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x10)/GTPCreatePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-CreatePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7583,7 +7020,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-CreatePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x11)/GTPCreatePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-CreatePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7591,7 +7028,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-UpdatePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x12)/GTPUpdatePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-UpdatePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7599,7 +7036,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-UpdatePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x13)/GTPUpdatePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-UpdatePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7607,7 +7044,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-DeletePDPContextRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x14)/GTPDeletePDPContextRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-DeletePDPContextRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7615,7 +7052,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-DeletePDPContextResponse'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x15)/GTPDeletePDPContextResponse()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-DeletePDPContextResponse'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7623,7 +7060,7 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-PDUNotificationRequest'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x1B)/GTPPDUNotificationRequest()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-PDUNotificationRequest'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
{
@@ -7631,42 +7068,9 @@ mac_ipv4_gtpc_symmetric = {
'action': {'save_hash': 'vlan-ipv4-gtpc-SupportedExtensionHeadersNotification'},
},
{
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
+ 'send_packet': mac_ipv4_gtpc_basic_pkt['vlan-ipv4-gtpc-SupportedExtensionHeadersNotification'][0].replace('src="192.168.1.1", dst="192.168.1.3"', 'src="192.168.1.3", dst="192.168.1.1"'),
'action': 'check_hash_same',
},
- # mismatched pkt
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv4'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpu-ipv6'],
- 'action': 'check_no_hash',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv4-gtpu-pay'],
- 'action': {'save_hash': 'ipv4-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv4-gtpu-eh-pay'],
- 'action': {'save_hash': 'ipv4-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpc_mismatched_pkt['ipv6-gtpc-EchoRequest'],
- 'action': {'save_hash': ''},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -7862,47 +7266,6 @@ mac_ipv6_gtpc_symmetric = {
'send_packet': 'Ether(dst="00:11:22:33:44:55")/Dot1Q(vlan=1)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x1F)/GTPSupportedExtensionHeadersNotification()',
'action': 'check_hash_same',
},
- # mismactched pkt
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv6'],
- 'action': {'save_hash': 'ipv6-gtpu-ipv6'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv6_gtpu_mismatched_pkt['ipv6-gtpu-ipv4'],
- 'action': {'save_hash': 'ipv6-gtpu-ipv4'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=255)/IP(src="192.168.1.5", dst="192.168.1.7")/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-pay'],
- 'action': {'save_hash': 'ipv6-gtpu-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv6-gtpu-eh-pay'],
- 'action': {'save_hash': 'ipv6-gtpu-eh-pay'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2020", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/UDP(sport=20,dport=2152)/GTP_U_Header(teid=0x12345678,gtp_type=0x01)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/Raw("x"*96)',
- 'action': 'check_hash_different',
- },
- {
- 'send_packet': mac_ipv4_gtpu_mismatched_pkt['ipv4-gtpc-EchoRequest'],
- 'action': {'save_hash': 'ipv4-gtpc-EchoRequest'},
- },
- {
- 'send_packet': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.1.3", dst="192.168.1.1")/UDP(sport=20,dport=2123)/GTPHeader(teid=0x12345678,gtp_type=0x01)/GTPEchoRequest()',
- 'action': 'check_hash_different',
- },
],
'post-test': [
{
@@ -8353,9 +7716,8 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
negative_rules = [
'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-tcp end key_len 0 queues end / end',
'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv6-udp end key_len 0 queues end / end',
- 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end',
- 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types ipv4 gtpu end key_len 0 queues end / end',
- 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types udp end key_len 0 queues end / end']
+ 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types udp end key_len 0 queues end / end',
+ 'flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types ipv4 gtpu end key_len 0 queues end / end']
self.rssprocess.create_rule(rule=negative_rules, check_stats=False, msg="Failed to create parser engine.: Invalid argument")
def test_symmetric_negative_cases(self):
@@ -8464,27 +7826,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
'got wrong hash, expect 1st hash equal to 3rd and different with 2nd')
- self.rssprocess.destroy_rule(port_id=0, rule_id=rule_li1)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts1)
- self.verify(all([i == '0' for i in hash_value]),
- 'got wrong hash, expect not got rss hash and distribute to queue 0')
-
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts2)
- self.verify(hash_value[0] != hash_value[1] and hash_value[0] == hash_value[2],
- 'got wrong hash, expect 1st hash equal to 3rd and different with 2nd')
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts3)
- self.verify(hash_value[0] != hash_value[1] and hash_value[0] == hash_value[2],
- 'got wrong hash, expect 1st hash equal to 3rd and different with 2nd')
-
- self.rssprocess.create_rule(rule=rules[0])
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts2)
- self.verify(hash_value[0] != hash_value[1] and hash_value[0] == hash_value[2],
- 'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
- self.rssprocess.destroy_rule(port_id=0, rule_id=rule_li2)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts2 + pkts3)
- self.verify(all([i == '0' for i in hash_value]),
- 'got wrong hash, expect not got rss hash and distribute to queue 0')
-
def test_ipv4_gtpu_eh_ipv4_with_without_ul_dl(self):
self.switch_testpmd(True)
rules = [
@@ -8521,11 +7862,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
- self.rssprocess.destroy_rule(port_id=0, rule_id=rule_li2)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts3 + pkts2)
- self.verify(all([i == '0' for i in hash_value]),
- 'got wrong hash, expect not got rss hash and distribute to queue 0')
-
def test_ipv4_gtpu_eh_ipv4_without_with_ul_dl(self):
self.switch_testpmd()
rules = [
@@ -8565,16 +7901,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
- self.rssprocess.destroy_rule(port_id=0, rule_id=rule1)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1)
- self.verify(all([i == '0' for i in hash_value]),
- 'got wrong hash, expect not got rss hash and distribute to queue 0')
-
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts3)
- self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
- 'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
-
-
def test_ipv4_gtpu_eh_ipv4_and_ipv4_gtpu_eh_ipv4_udp(self):
self.switch_testpmd()
pkts1 = [
@@ -8606,17 +7932,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
- self.rssprocess.destroy_rule(rule_id=rule_li2)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts1)
- self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
- 'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
-
- rule_li2 = self.rssprocess.create_rule(rule=rules[1])
- self.rssprocess.destroy_rule(rule_id=rule_li1)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts2)
- self.verify(hash_value[0] == hash_value[2] and hash_value[0] != hash_value[1],
- 'got wrong hash, expect 1st hash equal to 3nd and different with 2rd')
-
def test_ipv6_gtpu_eh_ipv6_and_ipv6_gtpu_eh_ipv6_tcp(self):
self.switch_testpmd()
pkts1 = [
@@ -8648,11 +7963,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[0] == hash_value[1] and hash_value[1] == hash_value[2],
'except all hash same hash')
- self.rssprocess.destroy_rule(rule_id=rule_li2)
- hash_value, queues = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts2)
- self.verify(hash_value[0] != hash_value[1] and hash_value[2] != hash_value[1],
- 'except all the packets hash different hash value')
-
def test_ipv4_gtpu_eh_ipv6_and_ipv4_gtpu_eh_ipv6_udp_without_ul_dl(self):
self.switch_testpmd()
pkts1 = [
@@ -8749,12 +8059,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
for temp in range(len(hash_value)):
self.verify(len(hash_value[temp]) != 0, 'all the toeplitz packet should have hash value')
- #step 4
- self.rssprocess.destroy_rule(rule_id=rule_id_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(len(hash_value) == 0, 'all the toeplitz packet should have no hash value')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(len(hash_value) == 0, 'all the symmetric packet should have no hash value')
self.pmd_output.execute_cmd('flow flush 0')
self.logger.info('Subcase: toeplitz/symmetric with same ptype different UL/DL')
@@ -8789,24 +8093,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
self.verify(hash_value[1] != hash_value[0], 'second packet should hash value different from the first packet')
self.verify(hash_value[2] == hash_value[0], 'third packet should hash value same with the first packet')
- # step 3
- self.rssprocess.destroy_rule(rule_id=rule_id_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(len(hash_value) == 0, 'all the symmetric packet should have no hash value')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(hash_value[1] != hash_value[0], 'second packet should hash value different from the first packet')
- self.verify(hash_value[2] == hash_value[0], 'third packet should hash value same with the first packet')
- rule_id_symmetric = self.rssprocess.create_rule(rule=rule_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(hash_value[0] == hash_value[1], 'expect hash_value[0] == hash_value[1]')
- self.verify(hash_value[2] == hash_value[3], 'expect hash_value[2] == hash_value[3]')
- self.verify(hash_value[4] == hash_value[5], 'expect hash_value[4] == hash_value[5]')
-
- self.rssprocess.destroy_rule(rule_id=rule_id_toeplitz)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(all([i != '0' for i in hash_value]), 'expect symmetric also can work')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(len(hash_value) == 0, "except toeplitz cant't work")
self.pmd_output.execute_cmd('flow flush 0')
self.logger.info('Subcase: toeplitz/symmetric with different pattern')
@@ -8844,34 +8130,6 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.verify(hash_value[1] != hash_value[0], 'hash_value[1] should hash value different from hash_value[0]')
self.verify(hash_value[2] != hash_value[0], 'hash_value[2] should hash value different with hash_value[0]')
self.verify(hash_value[3] == hash_value[0], 'hash_value[3] should hash value same with hash_value[0]')
- # step 3
- self.rssprocess.destroy_rule(rule_id=rule_id_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- if len(hash_value) != 0:
- self.verify(hash_value[0] != hash_value[1] and hash_value[2] != hash_value[3] and hash_value[4] != hash_value[5],
- 'except symmetric not work')
- else:
- self.verify(len(hash_value) == 0, 'except symmetric not work')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(hash_value[1] != hash_value[0], 'hash_value[1] should hash value different from hash_value[0]')
- self.verify(hash_value[2] != hash_value[0], 'hash_value[2] should hash value different with hash_value[0]')
- self.verify(hash_value[3] == hash_value[0], 'hash_value[3] should hash value same with hash_value[0]')
- # step 4
- rule_id_symmetric = self.rssprocess.create_rule(rule=rule_symmetric)
- self.rssprocess.check_rule(rule_list=rule_id_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(hash_value[0] == hash_value[1], 'expect hash_value[0] == hash_value[1]')
- self.verify(hash_value[2] == hash_value[3], 'expect hash_value[2] == hash_value[3]')
- self.verify(hash_value[4] == hash_value[5], 'expect hash_value[4] == hash_value[5]')
- # step 5
- self.rssprocess.destroy_rule(rule_id=rule_id_toeplitz)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(hash_value[0] == hash_value[1], 'expect hash_value[0] == hash_value[1]')
- self.verify(hash_value[2] == hash_value[3], 'expect hash_value[2] == hash_value[3]')
- self.verify(hash_value[4] == hash_value[5], 'expect hash_value[4] == hash_value[5]')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(hash_value[0] != hash_value[1] and hash_value[2] != hash_value[3] and hash_value[4] != hash_value[5],
- 'except symmetric not work')
self.pmd_output.execute_cmd('flow flush 0')
self.logger.info('Subcase: toeplitz/symmetric with different pattern (with/without UL/DL)')
@@ -8898,8 +8156,7 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
self.rssprocess.check_rule(rule_list=rule_id_toeplitz)
hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
self.verify(hash_value[1] != hash_value[0], 'hash_value[1] should hash value different from hash_value[0]')
- self.verify(hash_value[2] != hash_value[0], 'hash_value[2] should hash value different with hash_value[0]')
- self.verify(hash_value[3] == hash_value[0], 'hash_value[3] should hash value same from hash_value[0]')
+ self.verify(hash_value[2] == hash_value[0], 'hash_value[2] should hash value same with hash_value[0]')
rule_id_symmetric = self.rssprocess.create_rule(rule=rule_symmetric)
self.rssprocess.check_rule(rule_list=rule_id_symmetric)
hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
@@ -8911,13 +8168,8 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase):
'hash_value[6] should hash value different from hash_value[7] and equal to hash_value[8]')
# step 2
hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(len(hash_value) == 0, 'all the symmetric packet should have no hash value')
- # step 3
- self.rssprocess.destroy_rule(rule_id=rule_id_symmetric)
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_symmetric)
- self.verify(len(hash_value) == 0, 'all the symmetric packet should have no hash value')
- hash_value, _ = self.rssprocess.send_pkt_get_hash_queues(pkts=pkts_toeplitz)
- self.verify(len(hash_value) == 0, 'all the symmetric packet should have no hash value')
+ self.verify(hash_value[1] == hash_value[0], 'rule with UL/DL should can not work')
+ self.verify(hash_value[2] != hash_value[0], 'rule with UL/DL should can not work')
self.pmd_output.execute_cmd('flow flush 0')
# vf rss gtpc gtpu
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue
2020-11-30 9:46 [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue Zhimin Huang
@ 2020-11-30 9:57 ` Huang, ZhiminX
2020-12-07 2:26 ` Fu, Qi
0 siblings, 1 reply; 4+ messages in thread
From: Huang, ZhiminX @ 2020-11-30 9:57 UTC (permalink / raw)
To: dts; +Cc: Fu, Qi
[-- Attachment #1: Type: text/plain, Size: 482 bytes --]
Tested-by: Huang, ZhiminX <zhiminx.huang@intel.com>
Regards,
HuangZhiMin
> -----Original Message-----
> From: Zhimin Huang [mailto:zhiminx.huang@intel.com]
> Sent: Monday, November 30, 2020 5:47 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>; Huang, ZhiminX <zhiminx.huang@intel.com>
> Subject: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and
> fix pkg issue
>
> *.add gtpc/gtpu new case and support default gtpu behavior after pkg
> update.
[-- Attachment #2: TestCVLAdvancedIAVFRSSGTPU.log --]
[-- Type: application/octet-stream, Size: 83582 bytes --]
30/11/2020 17:26:43 dts:
TEST SUITE : TestCVLAdvancedIAVFRSSGTPU
30/11/2020 17:26:43 dts: NIC : columbiaville_25g
30/11/2020 17:26:43 dut.10.240.183.67:
30/11/2020 17:26:43 tester:
30/11/2020 17:26:47 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
30/11/2020 17:26:47 dut.10.240.183.67: 0x8086
30/11/2020 17:26:47 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
30/11/2020 17:26:47 dut.10.240.183.67: 0x1889
30/11/2020 17:26:47 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
30/11/2020 17:26:48 dut.10.240.183.67: 0x8086
30/11/2020 17:26:48 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
30/11/2020 17:26:48 dut.10.240.183.67: 0x1889
30/11/2020 17:26:48 dut.10.240.183.67: ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:55
30/11/2020 17:26:48 dut.10.240.183.67:
30/11/2020 17:26:49 dut.10.240.183.67: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4 -n 4 -w 0000:18:01.0 --file-prefix=dpdk_58304_20201130172614 -- -i --rxq=16 --txq=16
30/11/2020 17:26:51 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dpdk_58304_20201130172614/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
30/11/2020 17:27:01 dut.10.240.183.67: set fwd rxonly
30/11/2020 17:27:01 dut.10.240.183.67:
Set rxonly packet forwarding mode
30/11/2020 17:27:01 dut.10.240.183.67: set verbose 1
30/11/2020 17:27:01 dut.10.240.183.67:
Change verbose level from 0 to 1
30/11/2020 17:27:01 dut.10.240.183.67: show port info all
30/11/2020 17:27:01 dut.10.240.183.67:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:18:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
30/11/2020 17:27:01 TestCVLAdvancedIAVFRSSGTPU: rssprocess.tester_ifaces: ['enp24s0f0', 'enp24s0f1']
30/11/2020 17:27:01 TestCVLAdvancedIAVFRSSGTPU: rssprocess.test_case: <TestSuite_cvl_advanced_iavf_rss_gtpu.TestCVLAdvancedIAVFRSSGTPU object at 0x7f3ae1065be0>
30/11/2020 17:27:01 dts:
TEST SUITE ENDED: TestCVLAdvancedIAVFRSSGTPU
30/11/2020 17:28:37 dts:
TEST SUITE : TestCVLAdvancedIAVFRSSGTPU
30/11/2020 17:28:37 dts: NIC : columbiaville_25g
30/11/2020 17:28:37 dut.10.240.183.67:
30/11/2020 17:28:38 tester:
30/11/2020 17:28:42 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
30/11/2020 17:28:42 dut.10.240.183.67: 0x8086
30/11/2020 17:28:42 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
30/11/2020 17:28:42 dut.10.240.183.67: 0x1889
30/11/2020 17:28:42 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
30/11/2020 17:28:42 dut.10.240.183.67: 0x8086
30/11/2020 17:28:42 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
30/11/2020 17:28:42 dut.10.240.183.67: 0x1889
30/11/2020 17:28:43 dut.10.240.183.67: ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:55
30/11/2020 17:28:43 dut.10.240.183.67:
30/11/2020 17:28:44 dut.10.240.183.67: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4 -n 4 -w 0000:18:01.0 --file-prefix=dpdk_58626_20201130172808 -- -i --rxq=16 --txq=16
30/11/2020 17:28:45 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dpdk_58626_20201130172808/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
30/11/2020 17:28:55 dut.10.240.183.67: set fwd rxonly
30/11/2020 17:28:55 dut.10.240.183.67:
Set rxonly packet forwarding mode
30/11/2020 17:28:55 dut.10.240.183.67: set verbose 1
30/11/2020 17:28:55 dut.10.240.183.67:
Change verbose level from 0 to 1
30/11/2020 17:28:55 dut.10.240.183.67: show port info all
30/11/2020 17:28:56 dut.10.240.183.67:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:18:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: rssprocess.tester_ifaces: ['enp24s0f0', 'enp24s0f1']
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: rssprocess.test_case: <TestSuite_cvl_advanced_iavf_rss_gtpu.TestCVLAdvancedIAVFRSSGTPU object at 0x7f2cf65f2ba8>
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: Test Case test_mac_ipv4_gtpu_ipv4_udp Begin
30/11/2020 17:28:56 dut.10.240.183.67:
30/11/2020 17:28:56 tester:
30/11/2020 17:28:56 dut.10.240.183.67: start
30/11/2020 17:28:56 dut.10.240.183.67:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 0) -> TX P=0/Q=8 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 0) -> TX P=0/Q=9 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 0) -> TX P=0/Q=10 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 0) -> TX P=0/Q=11 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 0) -> TX P=0/Q=12 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 0) -> TX P=0/Q=13 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 0) -> TX P=0/Q=14 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 0) -> TX P=0/Q=15 (socket 0) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3dst================
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:28:56 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only end key_len 0 queues end / end
30/11/2020 17:28:56 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:28:56 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only end key_len 0 queues end / end
30/11/2020 17:28:56 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:28:56 dut.10.240.183.67: flow list 0
30/11/2020 17:28:56 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:28:56 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:28:57 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xbeebd3d8 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:28:57 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:28:57 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xbeebd3d8', '0x8')]
30/11/2020 17:28:57 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:28:57 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:28:58 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x4730bf0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:28:58 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:28:58 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x4730bf0f', '0xf')]
30/11/2020 17:28:58 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:28:58 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:28:59 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xbeebd3d8 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:28:59 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:28:59 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xbeebd3d8', '0x8')]
30/11/2020 17:28:59 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:28:59 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:01 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:01 dut.10.240.183.67: flow list 0
30/11/2020 17:29:01 dut.10.240.183.67:
30/11/2020 17:29:01 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:01 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:02 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3dst passed
30/11/2020 17:29:02 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:02 dut.10.240.183.67:
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3src================
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:02 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only end key_len 0 queues end / end
30/11/2020 17:29:02 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:02 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only end key_len 0 queues end / end
30/11/2020 17:29:02 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:02 dut.10.240.183.67: flow list 0
30/11/2020 17:29:02 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:02 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:03 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x88316f8f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:03 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:03 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x88316f8f', '0xf')]
30/11/2020 17:29:03 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:03 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:04 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x88316f8f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:04 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:04 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x88316f8f', '0xf')]
30/11/2020 17:29:04 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:04 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:05 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x71ea0358 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:05 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:05 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x71ea0358', '0x8')]
30/11/2020 17:29:05 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:05 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:06 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:06 dut.10.240.183.67: flow list 0
30/11/2020 17:29:06 dut.10.240.183.67:
30/11/2020 17:29:06 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:06 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:08 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3src passed
30/11/2020 17:29:08 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:08 dut.10.240.183.67:
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3dst_l4src================
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:08 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:08 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:08 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:08 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:08 dut.10.240.183.67: flow list 0
30/11/2020 17:29:08 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:08 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:09 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x2db9be58 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:09 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:09 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x2db9be58', '0x8')]
30/11/2020 17:29:09 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:09 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:10 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xd462d28f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:10 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:10 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xd462d28f', '0xf')]
30/11/2020 17:29:10 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:10 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=33,dport=23)/("X"*480)
30/11/2020 17:29:11 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xfcdfc19 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:11 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:11 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xfcdfc19', '0x9')]
30/11/2020 17:29:11 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:11 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:12 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x2db9be58 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:12 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:12 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x2db9be58', '0x8')]
30/11/2020 17:29:12 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:12 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:13 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:13 dut.10.240.183.67: flow list 0
30/11/2020 17:29:13 dut.10.240.183.67:
30/11/2020 17:29:13 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:13 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:15 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3dst_l4src passed
30/11/2020 17:29:15 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:15 dut.10.240.183.67:
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3dst_l4dst================
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:15 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:15 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:15 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-dst-only l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:15 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:15 dut.10.240.183.67: flow list 0
30/11/2020 17:29:15 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:15 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:16 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xfa234659 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:16 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:16 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xfa234659', '0x9')]
30/11/2020 17:29:16 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:16 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:17 dut.10.240.183.67: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x3f82a8e - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:17 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:17 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x3f82a8e', '0xe')]
30/11/2020 17:29:17 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:17 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:18 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xfcdfc19 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:18 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:18 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xfcdfc19', '0x9')]
30/11/2020 17:29:18 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:18 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=32,dport=23)/("X"*480)
30/11/2020 17:29:19 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xfa234659 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:19 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:19 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xfa234659', '0x9')]
30/11/2020 17:29:19 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:19 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:20 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:20 dut.10.240.183.67: flow list 0
30/11/2020 17:29:20 dut.10.240.183.67:
30/11/2020 17:29:20 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:20 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:22 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_different
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3dst_l4dst passed
30/11/2020 17:29:22 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:22 dut.10.240.183.67:
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3src_l4src================
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:22 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:22 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:22 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:22 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:22 dut.10.240.183.67: flow list 0
30/11/2020 17:29:22 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:22 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:23 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x1b63020f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:23 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:23 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x1b63020f', '0xf')]
30/11/2020 17:29:23 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:23 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:24 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xe2b86ed8 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:24 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:24 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xe2b86ed8', '0x8')]
30/11/2020 17:29:24 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:24 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=33,dport=23)/("X"*480)
30/11/2020 17:29:25 dut.10.240.183.67: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x3917404e - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:25 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:25 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x3917404e', '0xe')]
30/11/2020 17:29:25 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:25 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:26 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x1b63020f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:26 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:26 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x1b63020f', '0xf')]
30/11/2020 17:29:26 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:26 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:27 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:27 dut.10.240.183.67: flow list 0
30/11/2020 17:29:27 dut.10.240.183.67:
30/11/2020 17:29:27 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:27 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:29 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3src_l4src passed
30/11/2020 17:29:29 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:29 dut.10.240.183.67:
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l3src_l4dst================
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:29 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:29 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:29 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l3-src-only l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:29 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:29 dut.10.240.183.67: flow list 0
30/11/2020 17:29:29 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:29 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:30 dut.10.240.183.67: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xccf9fa0e - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:30 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:30 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xccf9fa0e', '0xe')]
30/11/2020 17:29:30 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:30 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:31 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x352296d9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:31 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:31 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x352296d9', '0x9')]
30/11/2020 17:29:31 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:31 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:32 dut.10.240.183.67: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x3917404e - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:32 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:32 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x3917404e', '0xe')]
30/11/2020 17:29:32 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:32 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=32,dport=23)/("X"*480)
30/11/2020 17:29:33 dut.10.240.183.67: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xccf9fa0e - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:33 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:33 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xccf9fa0e', '0xe')]
30/11/2020 17:29:33 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:33 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:34 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:34 dut.10.240.183.67: flow list 0
30/11/2020 17:29:34 dut.10.240.183.67:
30/11/2020 17:29:34 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:34 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:36 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l3src_l4dst passed
30/11/2020 17:29:36 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:36 dut.10.240.183.67:
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l4src================
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:36 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:36 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:36 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l4-src-only end key_len 0 queues end / end
30/11/2020 17:29:36 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:36 dut.10.240.183.67: flow list 0
30/11/2020 17:29:36 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:36 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:37 dut.10.240.183.67: port 0/queue 13: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xbcb07a8d - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xd
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:37 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:37 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xbcb07a8d', '0xd')]
30/11/2020 17:29:37 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:37 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=32,dport=23)/("X"*480)
30/11/2020 17:29:38 dut.10.240.183.67: port 0/queue 13: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x4e8ab28d - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xd
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:38 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:38 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x4e8ab28d', '0xd')]
30/11/2020 17:29:38 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:38 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.1.2")/UDP(sport=22,dport=32)/("X"*480)
30/11/2020 17:29:39 dut.10.240.183.67: port 0/queue 13: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xbcb07a8d - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xd
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:39 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:39 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xbcb07a8d', '0xd')]
30/11/2020 17:29:39 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:39 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:40 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:40 dut.10.240.183.67: flow list 0
30/11/2020 17:29:40 dut.10.240.183.67:
30/11/2020 17:29:40 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:40 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:41 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:41 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:41 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:41 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l4src passed
30/11/2020 17:29:41 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:42 dut.10.240.183.67:
30/11/2020 17:29:42 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_l4dst================
30/11/2020 17:29:42 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:42 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:42 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:42 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp l4-dst-only end key_len 0 queues end / end
30/11/2020 17:29:42 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:42 dut.10.240.183.67: flow list 0
30/11/2020 17:29:42 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:42 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:42 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:43 dut.10.240.183.67: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xd649a1e1 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x1
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:43 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:43 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xd649a1e1', '0x1')]
30/11/2020 17:29:43 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:43 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:44 dut.10.240.183.67: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x247369e1 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x1
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:44 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:44 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x247369e1', '0x1')]
30/11/2020 17:29:44 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:44 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.1.2")/UDP(sport=32,dport=23)/("X"*480)
30/11/2020 17:29:45 dut.10.240.183.67: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xd649a1e1 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x1
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:45 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:45 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xd649a1e1', '0x1')]
30/11/2020 17:29:45 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:45 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:46 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:46 dut.10.240.183.67: flow list 0
30/11/2020 17:29:46 dut.10.240.183.67:
30/11/2020 17:29:46 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:46 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:47 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:47 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:47 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:47 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_l4dst passed
30/11/2020 17:29:47 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:47 dut.10.240.183.67:
30/11/2020 17:29:47 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_all================
30/11/2020 17:29:47 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:47 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp end key_len 0 queues end / end
30/11/2020 17:29:47 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:47 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4-udp end key_len 0 queues end / end
30/11/2020 17:29:48 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:48 dut.10.240.183.67: flow list 0
30/11/2020 17:29:48 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:48 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:48 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:49 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xa113c0a6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:49 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:49 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xa113c0a6', '0x6')]
30/11/2020 17:29:49 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:49 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=32,dport=23)/("X"*480)
30/11/2020 17:29:50 dut.10.240.183.67: port 0/queue 3: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x74d49b73 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x3
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:50 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:50 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x74d49b73', '0x3')]
30/11/2020 17:29:50 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:50 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=33)/("X"*480)
30/11/2020 17:29:51 dut.10.240.183.67: port 0/queue 9: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xfac67609 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:51 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:51 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xfac67609', '0x9')]
30/11/2020 17:29:51 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:51 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:52 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x3bebc1b6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:52 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:52 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x3bebc1b6', '0x6')]
30/11/2020 17:29:52 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:52 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:53 dut.10.240.183.67: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x58c8ac71 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x1
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:53 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:53 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x58c8ac71', '0x1')]
30/11/2020 17:29:53 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:53 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:54 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xa113c0a6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 291 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:54 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:29:54 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xa113c0a6', '0x6')]
30/11/2020 17:29:54 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:29:54 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:29:55 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:29:55 dut.10.240.183.67: flow list 0
30/11/2020 17:29:55 dut.10.240.183.67:
30/11/2020 17:29:55 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:55 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:57 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_all passed
30/11/2020 17:29:57 dut.10.240.183.67: flow flush 0
30/11/2020 17:29:57 dut.10.240.183.67:
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: ===================Test sub case: mac_ipv4_gtpu_ipv4_udp_L3================
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: ------------handle test--------------
30/11/2020 17:29:57 dut.10.240.183.67: flow validate 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end
30/11/2020 17:29:57 dut.10.240.183.67:
Flow rule validated
30/11/2020 17:29:57 dut.10.240.183.67: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end
30/11/2020 17:29:57 dut.10.240.183.67:
Flow rule #0 created
30/11/2020 17:29:57 dut.10.240.183.67: flow list 0
30/11/2020 17:29:57 dut.10.240.183.67:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP GTPU IPV4 UDP => RSS
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:57 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:58 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x8eba3308 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:58 TestCVLAdvancedIAVFRSSGTPU: action: save_hash
30/11/2020 17:29:58 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x8eba3308', '0x8')]
30/11/2020 17:29:58 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:58 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.1.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:29:59 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x14423218 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:29:59 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:29:59 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x14423218', '0x8')]
30/11/2020 17:29:59 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:29:59 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.1.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:30:00 dut.10.240.183.67: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x77615fdf - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0xf
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:30:00 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_different
30/11/2020 17:30:00 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x77615fdf', '0xf')]
30/11/2020 17:30:00 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:30:00 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=12,dport=13)/("X"*480)
30/11/2020 17:30:01 dut.10.240.183.67: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0x8eba3308 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:30:01 TestCVLAdvancedIAVFRSSGTPU: action: check_hash_same
30/11/2020 17:30:01 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0x8eba3308', '0x8')]
30/11/2020 17:30:01 TestCVLAdvancedIAVFRSSGTPU: ------------handle post-test--------------
30/11/2020 17:30:01 dut.10.240.183.67: flow destroy 0 rule 0
30/11/2020 17:30:02 dut.10.240.183.67:
Flow rule #0 destroyed
testpmd>
30/11/2020 17:30:02 dut.10.240.183.67: flow list 0
30/11/2020 17:30:02 dut.10.240.183.67:
30/11/2020 17:30:02 TestCVLAdvancedIAVFRSSGTPU: ----------send packet-------------
30/11/2020 17:30:02 TestCVLAdvancedIAVFRSSGTPU: Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/IP(dst="192.168.0.1", src="192.168.0.2")/UDP(sport=22,dport=23)/("X"*480)
30/11/2020 17:30:04 dut.10.240.183.67: port 0/queue 6: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=558 - nb_segs=1 - RSS hash=0xcfd233d6 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x6
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: action: check_no_hash_or_different
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: hash_infos: [('0xcfd233d6', '0x6')]
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: sub_case mac_ipv4_gtpu_ipv4_udp_L3 passed
30/11/2020 17:30:04 dut.10.240.183.67: flow flush 0
30/11/2020 17:30:04 dut.10.240.183.67:
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: {'mac_ipv4_gtpu_ipv4_udp_l3dst': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l3src': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l3dst_l4src': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l3dst_l4dst': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l3src_l4src': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l3src_l4dst': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l4src': 'passed', 'mac_ipv4_gtpu_ipv4_udp_l4dst': 'passed', 'mac_ipv4_gtpu_ipv4_udp_all': 'passed', 'mac_ipv4_gtpu_ipv4_udp_L3': 'passed'}
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: pass rate is: 100.0
30/11/2020 17:30:04 TestCVLAdvancedIAVFRSSGTPU: Test Case test_mac_ipv4_gtpu_ipv4_udp Result PASSED:
30/11/2020 17:30:04 dut.10.240.183.67: flow flush 0
30/11/2020 17:30:05 dut.10.240.183.67:
testpmd>
30/11/2020 17:30:05 dut.10.240.183.67: clear port stats all
30/11/2020 17:30:06 dut.10.240.183.67:
NIC statistics for port 0 cleared
testpmd>
30/11/2020 17:30:06 dut.10.240.183.67: stop
30/11/2020 17:30:06 dut.10.240.183.67:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 6 -> TX Port= 0/Queue= 6 -------
RX-packets: 13 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 9 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 9 -> TX Port= 0/Queue= 9 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=13 -> TX Port= 0/Queue=13 -------
RX-packets: 3 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=14 -> TX Port= 0/Queue=14 -------
RX-packets: 5 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=15 -> TX Port= 0/Queue=15 -------
RX-packets: 7 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
30/11/2020 17:30:06 dts:
TEST SUITE ENDED: TestCVLAdvancedIAVFRSSGTPU
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue
2020-11-30 9:57 ` Huang, ZhiminX
@ 2020-12-07 2:26 ` Fu, Qi
2020-12-07 7:21 ` Tu, Lijuan
0 siblings, 1 reply; 4+ messages in thread
From: Fu, Qi @ 2020-12-07 2:26 UTC (permalink / raw)
To: Huang, ZhiminX, dts
Acked-by: Fu, Qi <qi.fu@intel.com>
Best regards,
Fu, Qi
> -----Original Message-----
> From: Huang, ZhiminX <zhiminx.huang@intel.com>
> Sent: Monday, November 30, 2020 5:58 PM
> To: dts@dpdk.org
> Cc: Fu, Qi <qi.fu@intel.com>
> Subject: RE: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and
> fix pkg issue
>
> Tested-by: Huang, ZhiminX <zhiminx.huang@intel.com>
>
> Regards,
> HuangZhiMin
>
> > -----Original Message-----
> > From: Zhimin Huang [mailto:zhiminx.huang@intel.com]
> > Sent: Monday, November 30, 2020 5:47 PM
> > To: dts@dpdk.org
> > Cc: Fu, Qi <qi.fu@intel.com>; Huang, ZhiminX <zhiminx.huang@intel.com>
> > Subject: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case
> > and fix pkg issue
> >
> > *.add gtpc/gtpu new case and support default gtpu behavior after pkg
> > update.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue
2020-12-07 2:26 ` Fu, Qi
@ 2020-12-07 7:21 ` Tu, Lijuan
0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-12-07 7:21 UTC (permalink / raw)
To: Fu, Qi, Huang, ZhiminX, dts
Applied
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Fu, Qi
> Sent: 2020年12月7日 10:26
> To: Huang, ZhiminX <zhiminx.huang@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and
> fix pkg issue
>
> Acked-by: Fu, Qi <qi.fu@intel.com>
>
> Best regards,
> Fu, Qi
>
> > -----Original Message-----
> > From: Huang, ZhiminX <zhiminx.huang@intel.com>
> > Sent: Monday, November 30, 2020 5:58 PM
> > To: dts@dpdk.org
> > Cc: Fu, Qi <qi.fu@intel.com>
> > Subject: RE: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new
> > case and fix pkg issue
> >
> > Tested-by: Huang, ZhiminX <zhiminx.huang@intel.com>
> >
> > Regards,
> > HuangZhiMin
> >
> > > -----Original Message-----
> > > From: Zhimin Huang [mailto:zhiminx.huang@intel.com]
> > > Sent: Monday, November 30, 2020 5:47 PM
> > > To: dts@dpdk.org
> > > Cc: Fu, Qi <qi.fu@intel.com>; Huang, ZhiminX
> > > <zhiminx.huang@intel.com>
> > > Subject: [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case
> > > and fix pkg issue
> > >
> > > *.add gtpc/gtpu new case and support default gtpu behavior after pkg
> > > update.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-07 7:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 9:46 [dts] [PATCH V1] tests/iavf_rss_gtpu:add gtpc/gtpu new case and fix pkg issue Zhimin Huang
2020-11-30 9:57 ` Huang, ZhiminX
2020-12-07 2:26 ` Fu, Qi
2020-12-07 7:21 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).