From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AFC9CA04C5; Tue, 11 Aug 2020 09:44:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A1CDA1C026; Tue, 11 Aug 2020 09:44:12 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 52DF71C023 for ; Tue, 11 Aug 2020 09:44:11 +0200 (CEST) IronPort-SDR: Ahhry3AHLN9/F3Xk03cA9a/l0KBceNnk84stgwN8zb+i8LQ/WFdyeI6+9GwXXjCwwlqsVderHY 3x6RrpNRO/6Q== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="151362119" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="151362119" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:44:09 -0700 IronPort-SDR: aS1GIwkvVCV9TVWuZEm+3ylRFGSx1XApWM1wRyXnUL+8k/rcFvIbM2O1TDIzouHJzpdYX2KkLn 6m2mDsAywqaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="469337508" Received: from npg_dpdk_nic_yuanpeng_tester62.sh.intel.com ([10.67.119.61]) by orsmga005.jf.intel.com with ESMTP; 11 Aug 2020 00:44:07 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Tue, 11 Aug 2020 14:50:08 +0000 Message-Id: <1597157408-169886-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH]test_plans: add the changed information location X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" add the changed information location of the example. Signed-off-by: Peng Yuan diff --git a/test_plans/qos_meter_test_plan.rst b/test_plans/qos_meter_test_plan.rst index 1144000b..4ab5825f 100644 --- a/test_plans/qos_meter_test_plan.rst +++ b/test_plans/qos_meter_test_plan.rst @@ -56,11 +56,18 @@ dut_port_1 : "0000:05:00.1" ./usertools/dpdk-devbind.py -b igb_uio 05:00.0 05:00.1 -3. The default metering mode is:: +3. The default metering mode is defined in dpdk/examples/qos_meter/main.c:: - APP_MODE_SRTCM_COLOR_BLIND + #define APP_MODE APP_MODE_SRTCM_COLOR_BLIND + + The input color of packets depends on the value "APP_PKT_COLOR_POS", + which is defined in dpdk/examples/qos_meter/main.c too:: + + #define APP_PKT_COLOR_POS 5 + + The change will descripted in each case. -4. The policy table is:: +4. The policy table is defined in dpdk/examples/qos_meter/main.h:: policer_table[RTE_COLORS][RTE_COLORS] = { -- 2.17.1