From patchwork Thu May 19 01:58:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 111335 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 431CBA0503; Thu, 19 May 2022 03:58:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 168C040140; Thu, 19 May 2022 03:58:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 4509B400D6 for ; Thu, 19 May 2022 03:58:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652925519; x=1684461519; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Pv17pBGyt8mbqwW8opOKmnOM7Janc0I8+9uc4qks+2o=; b=GXa4f1/nlFRA9CVJMeUdh7Rb5bF1LnbrwfjbLecudAfS6y2EInhzUgah UrZpKZ3rjO7xD8eR/tl3L/dFAWOpG3vn2+q2nJG5/lxy12T8n81TH4MTB HQD3ktwybIwnQn3+U0yWYvgyaWJaHvFubFDu0DDzaDFXE3xamDHPIAPut VlBwIA4dahwrTVnylKtbqhuTXgHLp8sicVcUsLDiN7gytjD4kjpW4RJ9H AcGtIHEMqBuX7y9eHJak4Vaf7mfMwpDxFlGMmM33muJgmbLOPo6SsKp9T cY5dyU1T9NTOYH6wUskH74qA0FVbbnO1fzzZl/mf40qMsCImnEJ/RIdwN w==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="272103358" X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="272103358" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 18:58:37 -0700 X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="523821915" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 18:58:35 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/ice_qinq: optimization script Date: Thu, 19 May 2022 09:58:31 +0800 Message-Id: <20220519015831.1805264-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 recipe has maximum limit is 64 according to the datasheet. reload the driver to delete existing recipes. Signed-off-by: Jiale Song --- tests/TestSuite_ice_qinq.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_ice_qinq.py b/tests/TestSuite_ice_qinq.py index b912b5c6..0804c471 100644 --- a/tests/TestSuite_ice_qinq.py +++ b/tests/TestSuite_ice_qinq.py @@ -469,10 +469,14 @@ class TestICEQinq(TestCase): self.pkt = Packet() self.pmd_output = PmdOutput(self.dut) + def reload_ice(self): + self.dut.send_expect('rmmod ice && modprobe ice', '# ') + def set_up(self): """ Run before each test case. """ + self.reload_ice() self.pci_list = [] if self.default_stats: self.dut.send_expect(