From patchwork Thu Mar 31 11:38:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 109036 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 88410A0501; Thu, 31 Mar 2022 05:15:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56B404284A; Thu, 31 Mar 2022 05:15:02 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id A568A42842 for ; Thu, 31 Mar 2022 05:15:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648696500; x=1680232500; h=from:to:cc:subject:date:message-id; bh=/Q1DP3MBq17z21wRFbnhvn3iOWZ7iemqTPWzX/ul8FA=; b=UW86Hg4p7olco8YkTQV0yaX+kPTG5864cSSXuxqXOZMGjAYy4fUc+cP0 PCD5FKN6C15zpsTJw7+iqkMxZHoJyGzvieqqVgKoO+/AnkAsxqBVPYVQZ Pk0XDEbyWij8Gct9iEslRrkMhZA/XWhEErXsRIYF9BdCxQXR3SiQnIrrL HwoomPM7OlqNqKmSTH3hyDr7jo1awMJXOVd9KAVvBIoOgo4iOo3zJ4lx0 QyQEnyKrTtAV1g5Cztplzf+xmGRpjBp/N5hALuCKk3Q7TSYg8nvl97Jdh krScQPgIC2BztlOpSdMbTZE2RkPjIu/hqvcYiTsJ71xww5FGZEcEsBkS7 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="259893030" X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="259893030" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 20:14:59 -0700 X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="547119477" Received: from unknown (HELO localhost.localdomain) ([10.239.251.94]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 20:14:58 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/distributor: remove dpdk modification Date: Thu, 31 Mar 2022 11:38:36 +0000 Message-Id: <20220331113836.4080-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 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 Signed-off-by: Jiale Song --- test_plans/distributor_test_plan.rst | 4 ---- tests/TestSuite_distributor.py | 5 ----- 2 files changed, 9 deletions(-) diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst index 1e99a037..7a1f96bf 100644 --- a/test_plans/distributor_test_plan.rst +++ b/test_plans/distributor_test_plan.rst @@ -71,10 +71,6 @@ Verify burst distributor API cost much less cycles then normal version Test case: Distribute with maximum workers ========================================== -In order to make more queue as worker, let a core receive and a core send:: - - sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c - Start distributor sample with 63(0xeffffffffffffffff0) workers Send several packets with ip address increasing diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor.py index c945fb32..24818277 100644 --- a/tests/TestSuite_distributor.py +++ b/tests/TestSuite_distributor.py @@ -45,11 +45,6 @@ class TestDistributor(TestCase): """ Run at the start of each test suite. """ - # reduce tx queues for enable many workers - self.dut.send_expect( - "sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c", - "#", - ) out = self.dut.build_dpdk_apps("./examples/distributor") self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error")