[V1] tests/vf_offload: optimization script

Message ID 20220518054230.1770357-1-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/vf_offload: optimization script |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Jiale, SongX May 18, 2022, 5:42 a.m. UTC
  tcpdump timeout, increase the '-n' to skip the DNS reverse domain name resolution operation.

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

Comments

Huang, ZhiminX May 18, 2022, 8:05 a.m. UTC | #1
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Wednesday, May 18, 2022 1:43 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/vf_offload: optimization script
> 
> tcpdump timeout, increase the '-n' to skip the DNS reverse domain name
> resolution operation.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>

Tested-by: Zhimin Huang <zhiminx.huang@intel.com >
  
Tu, Lijuan May 18, 2022, 2:08 p.m. UTC | #2
On Wed, 18 May 2022 13:42:30 +0800, Jiale Song <songx.jiale@intel.com> wrote:
> tcpdump timeout, increase the '-n' to skip the DNS reverse domain name resolution operation.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks
  

Patch

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):