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 86B4EA0548; Wed, 21 Apr 2021 10:03:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DB984195D; Wed, 21 Apr 2021 10:03:47 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 65C5440140 for ; Wed, 21 Apr 2021 10:03:45 +0200 (CEST) IronPort-SDR: KJm9s6hrUM+6xvi6aoz2VGz5rVQ+GsBbLOVrnb4H+ZH1bB70/EGhglAX2c/n3Pd66/HOPyQSrA XRZRWTlyRRdw== X-IronPort-AV: E=McAfee;i="6200,9189,9960"; a="216294071" X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="216294071" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 01:03:43 -0700 IronPort-SDR: 06DKZMiTtND32lv214sUGXd09RYovzSZ8UNke3RlxwUlfHS93eM5LG1eP6rYEuuUjzvNAGGDQd cVNAJQlDfZzg== X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="427425132" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.240.183.102]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 01:03:40 -0700 From: Longfeng Liang To: dts@dpdk.org Cc: Longfeng Liang Date: Wed, 21 Apr 2021 16:03:03 +0000 Message-Id: <20210421160303.8248-1-longfengx.liang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/metering_and_policing: add 'packet_mode' parameter. 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 Sender: "dts" app/testpmd add meter profile packet mode option in DPDK,DPDK commit:c5a3860f36902e1701817b0961bf99a5c96ede3a,so DTS need update packet mode param,too. Signed-off-by: Longfeng Liang --- tests/TestSuite_metering_and_policing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py index db15d5db..7f52f33f 100644 --- a/tests/TestSuite_metering_and_policing.py +++ b/tests/TestSuite_metering_and_policing.py @@ -168,7 +168,7 @@ class TestMeteringAndPolicing(TestCase): """ cir = 3125000000 pir = 3125000000 - self.dut.send_expect("add port meter profile trtcm_rfc2698 %d %d %d %d %d %d" + self.dut.send_expect("add port meter profile trtcm_rfc2698 %d %d %d %d %d %d 0" % (self.port_id, profile_id, cir, pir, cbs, pbs), "testpmd>") def create_port_meter(self, mtr_id, profile_id, gyrd_action): -- 2.17.1