[dts] [PATCH V1] tests/l3fwd_func: optimization script
Jiale Song
songx.jiale at intel.com
Mon May 16 10:08:28 CEST 2022
when tcpdump performs reverse domain name resolution, it may cause packet reading
timeout. increase the '-n' to skip the reverse domain name resolution operation.
Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
tests/TestSuite_l3fwd_func.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_l3fwd_func.py b/tests/TestSuite_l3fwd_func.py
index 7340c09d..a5243389 100644
--- a/tests/TestSuite_l3fwd_func.py
+++ b/tests/TestSuite_l3fwd_func.py
@@ -132,7 +132,7 @@ class TestL3fwdFunc(TestCase):
:return:
"""
out = self.tester.send_expect(
- "tcpdump -r /tmp/tester/sniff_%s.pcap" % (self.tport_intf0),
+ "tcpdump -n -r /tmp/tester/sniff_%s.pcap" % (self.tport_intf0),
"# ",
timeout=30,
)
--
2.25.1
More information about the dts
mailing list