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 DF329A0501; Thu, 31 Mar 2022 06:19:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B40C542842; Thu, 31 Mar 2022 06:19:57 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 844FB410FF for ; Thu, 31 Mar 2022 06:19:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648700396; x=1680236396; h=from:to:cc:subject:date:message-id; bh=CprcwjjcWBii2TQ8y2pNs/rXIo3bnZwD0CyIO+Isv54=; b=lnpWTFtWsFpIG0uWF9AToibenjGsPLZFFqzoDnAH6KG4Ie8nJ4KoZ6Jq va4tbYCa9kF0CrLZ2xV97CCpY/VFJeRDFAXW/15vl4hmquYE9sSIje6/U MuC2ln0sBxQnX1qOsibsWXVnZL93+/WNZkz/9U0KhXFWqHWae1EDgNWnY p43eXqddhufreoNubCy7VpkYOwG/BuQjVPCPzx5ny6tg9Ap3pdpawiRGQ GA+BFucLGIqssuLMrCw4K212DzNmgTOEK8QlH009f+zNbfcTw0nZYwA7Y wC58ikTZGh50ZSTIhBPZAYdx+jS9n0s7B6dJaAi3G7SSJPHcttWMgEAhd A==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="239643985" X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="239643985" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 21:19:44 -0700 X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="566110819" Received: from unknown (HELO cvl_tetser_105.icx.intel.com) ([10.239.251.94]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 21:19:43 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V2] tests/distributor: remove dpdk modification Date: Thu, 31 Mar 2022 12:43:20 +0000 Message-Id: <20220331124320.4774-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 According to dpdk commit e7f6d1289bc2 ("examples/distributor: reduce Tx queue number to 1"). remove the modification of dpdk code. Signed-off-by: Jiale Song --- test_plans/distributor_test_plan.rst | 4 ---- tests/TestSuite_distributor.py | 9 --------- 2 files changed, 13 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..24dd6d5e 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") @@ -301,8 +296,4 @@ class TestDistributor(TestCase): """ Run after each test suite. """ - self.dut.send_expect( - "sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = rte_lcore_count() - 1;/' ./examples/distributor/main.c", - "#", - ) pass -- 2.17.1