From patchwork Wed May 18 05:42:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111265 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3C6E8A0503; Wed, 18 May 2022 07:42:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EBF54068B; Wed, 18 May 2022 07:42:41 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id D35CA40685 for ; Wed, 18 May 2022 07:42:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652852560; x=1684388560; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=djUbNzTcYTugk3mv7IfGF9mvZYr9iqiMT+Ll9o+37H8=; b=M8UU9w0iC4kr17JX9x2INGUuxUSuTnqUyjee0u7qK6DcwB7+HkDXCRJM gyGENOfN7QE95OVl/BMEXzNvFm0VmKv4RIuOrHbiqN5cWpLtngZuo52yt xu8gPX1/WywTMWWU7KQhAQ7fXrBbEiWuZNBKJJgXIlMifUvw/06KAww2K tuinH2+Co6aI+9D7AFSd88h28ZP7KYDP0e2lFla7XzTfdU5Vu2fz5ytb7 ZEec5G72eQnk9NtXy16jIhmkUWtRhHaPVtjXDVv/V2tt1ys9t7plcpM6V 2E4ngRLbsFXcXm66Fx7bpNqOmMrqIR+oO3LU/8LtsAOAT1KUaQD0wH+Di w==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="271185183" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="271185183" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 22:42:38 -0700 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="700432764" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 22:42:37 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/vf_offload: optimization script Date: Wed, 18 May 2022 13:42:30 +0800 Message-Id: <20220518054230.1770357-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org tcpdump timeout, increase the '-n' to skip the DNS reverse domain name resolution operation. Signed-off-by: Jiale Song Tested-by: Zhimin Huang --- 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):