[dts] [PATCH V1] tests/vf_offload: optimization script

Jiale Song songx.jiale at intel.com
Wed May 18 07:42:30 CEST 2022


tcpdump timeout, increase the '-n' to skip the DNS reverse domain name resolution operation.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_vf_offload.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index dff1a1b9..12f02070 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -448,7 +448,7 @@ class TestVfOffload(TestCase):
         """
         Get the length of loading_sizes
         """
-        scanner = 'tcpdump  -vv -r tcpdump_{iface}.pcap 2>/dev/null | grep "seq"  | grep "length"'
+        scanner = 'tcpdump  -n -vv -r tcpdump_{iface}.pcap 2>/dev/null | grep "seq"  | grep "length"'
         return self.tcpdump_scanner(scanner.format(**locals()))
 
     def test_tso(self):
-- 
2.25.1



More information about the dts mailing list