From patchwork Fri Jun 10 04:22:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 112634 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 106F8A0557; Fri, 10 Jun 2022 06:22:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0354F40689; Fri, 10 Jun 2022 06:22:52 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5207B40221 for ; Fri, 10 Jun 2022 06:22:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654834970; x=1686370970; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OfkbZ3avPqxy/DQSg3ibl/DzbrGucEJ2RZeldfn1Exg=; b=NUs76AVjpt9okmhW93JI0BLXfnZvUe7K2Y5RHqVforlzKZgKJ5RQph3O UzdVb7moRO+wGToEiKQ3Ql0vWxbTbCnMcRuI1IEhrCbDKiYQESGKZqrZS D9b8Zhv9mk7kxcnXnEnbUGjOe2bB8qcc8h+nSky9hpXxlkoFRWwGrNQhr 1D58OmiwBhHG3sF+gXmpTjV9gPQ3M5o3AmLyEHHV+V/hNZki0lUOl6hbQ e53l5dmPE6K6F7JcfJbt5ihmAcidb2z+9XqfqdjMHo1UliW8Vormmy5dW l0zmBt2CVnQr1c1lz+8AgWkMdDEOkLS52JQhucbG3xquegfFi0MaURdLu w==; X-IronPort-AV: E=McAfee;i="6400,9594,10373"; a="266278506" X-IronPort-AV: E=Sophos;i="5.91,288,1647327600"; d="scan'208";a="266278506" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 21:22:49 -0700 X-IronPort-AV: E=Sophos;i="5.91,288,1647327600"; d="scan'208";a="828009526" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 21:22:47 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/l3fwd_func: modify echo of l3fwd according to dpdk code change Date: Fri, 10 Jun 2022 12:22:44 +0800 Message-Id: <20220610042244.888620-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 dpdk has merged l3fwd-acl into l3fwd, resulting in the echo change when starting l3fwd. modify the script to adapt to this change. According to dpdk commit 6de0ea50e9b9("examples/l3fwd: merge l3fwd-acl example"). Signed-off-by: Jiale Song --- test_plans/l3fwd_func_test_plan.rst | 2 +- tests/TestSuite_l3fwd_func.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/l3fwd_func_test_plan.rst b/test_plans/l3fwd_func_test_plan.rst index 2922797a..ba168629 100644 --- a/test_plans/l3fwd_func_test_plan.rst +++ b/test_plans/l3fwd_func_test_plan.rst @@ -130,7 +130,7 @@ Test Case 1: 1 port 1 queue with default setting * The lookup method is lpm and use default table. DUT mac address is 40:A6:B7:7B:3F:00, the egress packets dst mac is 02:00:00:00:00:00:: - Neither LPM, EM, or FIB selected, defaulting to LPM + Neither ACL, LPM, EM, or FIB selected, defaulting to LPM L3FWD: Missing 1 or more rule files, using default instead * Every port creates 1 rx queue and 1 tx queue:: diff --git a/tests/TestSuite_l3fwd_func.py b/tests/TestSuite_l3fwd_func.py index 1662d091..43b32f20 100644 --- a/tests/TestSuite_l3fwd_func.py +++ b/tests/TestSuite_l3fwd_func.py @@ -139,7 +139,7 @@ class TestL3fwdFunc(TestCase): params = '-p 0x1 --config="(0,0,1)" --eth-dest=0,b4:96:91:9f:64:b9' out = self.launch_l3fwd(eal_params, params) mesg_list = [ - "Neither LPM, EM, or FIB selected, defaulting to LPM", + "Neither ACL, LPM, EM, or FIB selected, defaulting to LPM", "L3FWD: Missing 1 or more rule files, using default instead", ] self.check_l3fwd_message(out, mesg_list)