From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 290C8A00BE; Mon, 16 May 2022 10:08:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCCE740A7A; Mon, 16 May 2022 10:08:41 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id D1B1640A79 for ; Mon, 16 May 2022 10:08: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=1652688521; x=1684224521; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zESN4doXO4u9ItG8/NQ3zYW7wcvRO2eKB1uYYG7n4AQ=; b=MQgApslY3Nn5OVab3gfausAJ6zvCWe0Rrs0y+8H90NHqnZxrxEkTsJgv WZTeRz5yxtT2rfHxN1NF6eeRVz/JAOeUIKS9i9YU+o7/RzFOAbHDu3LaA aadIseEIk5ViWbFiD0+YFIBnwh0Z609YHok1nFIns/DMRB1vqZItdB1gw xfo+SX4y98wHC0EGHzO3SAYOdOBc9E+SUMfFuJVgE/Ud0lQj1E8s7i1/5 lT6j9TBRaJpsnw1/YhQZ4PnOXS1Iw1WpLeOIKFwh+aU0f3Iqgv2OXUN/9 5wzma7OSIsgxKcN1Mumky9qIFIBJ0YxOMlyyg5L/JvNT+qxqYavsVGM3l w==; X-IronPort-AV: E=McAfee;i="6400,9594,10348"; a="270718286" X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="270718286" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 01:08:36 -0700 X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="660002924" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 01:08:35 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/l3fwd_func: optimization script Date: Mon, 16 May 2022 16:08:28 +0800 Message-Id: <20220516080828.1674388-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 --- 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