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 DE78BA0550; Wed, 25 May 2022 13:21:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDEA440146; Wed, 25 May 2022 13:21:50 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id EB2BA400EF for ; Wed, 25 May 2022 13:21:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653477709; x=1685013709; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eiJrMr/jGp9npKgkdM79rs+GrQ86PL/vYgPDaxCZLXI=; b=CbKCaIs0+ek9s6YxUZr0j2vA4i5PmUrLpWUWiAxGArNaMrStyhl3tur0 cnklpFzSwaBnRvSoofD4qntYP4BTKiPXaSCuPO/s+ufF08koz4n/oOEK4 8MQnVNqB+wFI0tM0huJNOx8inN1UaLcepWSr+DtHsVDcBz5N5dFIj3bXS 2uTLy4Bc58xEMFO2xzaOb56kD4A6OK+CKh/D1JE/NcCbhr+CFren4TGgT j+usczE8Qf7Avf71it7jCc29Yvph601l/xlDoMP3+Ky0672X3y+lNPfr/ IV6TAIaEdXt+h/ecnfukXavAxxjSSKtW4OMek/AwtMyOT2djParJ8YVI5 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="261398001" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="261398001" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 04:21:47 -0700 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="601858946" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 04:21:46 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V2] tests/ice_dcf_date_path: turn off promisc mode Date: Wed, 25 May 2022 19:21:43 +0800 Message-Id: <20220525112143.106983-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 DCF already supports promise mode, and it is started by default. promisc should be turned off during the test. According to dpdk commit cdfbcfa110a ("net/ice: support DCF promiscuous configuration") Signed-off-by: Jiale Song --- test_plans/ice_dcf_date_path_test_plan.rst | 1 + tests/TestSuite_ice_dcf_date_path.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test_plans/ice_dcf_date_path_test_plan.rst b/test_plans/ice_dcf_date_path_test_plan.rst index c6f8014b..1a0df884 100644 --- a/test_plans/ice_dcf_date_path_test_plan.rst +++ b/test_plans/ice_dcf_date_path_test_plan.rst @@ -171,6 +171,7 @@ Execute **common steps** to prepare DCF test environment Set rxonly forward mode :: set fwd rxonly + set promisc all off set verbose 1 start diff --git a/tests/TestSuite_ice_dcf_date_path.py b/tests/TestSuite_ice_dcf_date_path.py index aad27f5b..21a0c875 100644 --- a/tests/TestSuite_ice_dcf_date_path.py +++ b/tests/TestSuite_ice_dcf_date_path.py @@ -283,6 +283,7 @@ class DcfDatePathTest(TestCase): ) self.pmd_output.execute_cmd("set fwd rxonly") + self.pmd_output.execute_cmd("set promisc all off") self.pmd_output.execute_cmd("set verbose 1") self.pmd_output.execute_cmd("start") out = self.send_pkts_getouput(pkt, self.tester_intf0, status=True) -- 2.17.1