From patchwork Thu May 19 01:55:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111334 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 DB8D6A0503; Thu, 19 May 2022 03:55:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B56E240140; Thu, 19 May 2022 03:55:53 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 56415400D6 for ; Thu, 19 May 2022 03:55:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652925352; x=1684461352; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wazACXIwJNYzV2Q8rBRYKLdmgwoK97S9VTNJ+N2uvFE=; b=XoK+Mu7zZn7+su9032oLj4x6hBm8s2pb9JqPgpaQTC9cRFegTwuQx/7M 6zbW/vmnVRROyy1AMR3K9jwJ95hHwBe6FehdWNJ72CnCZsKxu0kSovd0v OFNW15oW4NK8LLxj7zKhZPD2FFGTztRLKfNx/CcDuQ2n0VbMfTvb9EY2W 2TC86X0PMGUv6zGOvaRo9es3EEtJvB0WeRua3PlSBYWGCZrNL2vlYtwnt KHqh894OKxCKe5BvX3AFBpVEbBMFaqz7G7Xtva9jgVf4oX5eZewXjYQfS ccZyZdOtLnwdZ0aFeVzbHgKr6f5crTZgpWIV3tq8HcagvJW7B3jWAdYu+ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="270798422" X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="270798422" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 18:55:51 -0700 X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="598204629" 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; 18 May 2022 18:55:49 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/ice_dcf_date_path: turn off promisc mode Date: Thu, 19 May 2022 09:55:45 +0800 Message-Id: <20220519015545.1805024-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 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 --- tests/TestSuite_ice_dcf_date_path.py | 1 + 1 file changed, 1 insertion(+) 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)