test_plans: add the changed information location

Message ID 1597157408-169886-1-git-send-email-yuan.peng@intel.com (mailing list archive)
State Accepted
Headers
Series test_plans: add the changed information location |

Commit Message

Peng, Yuan Aug. 11, 2020, 2:50 p.m. UTC
  add the changed information location of the example.

Signed-off-by: Peng Yuan <yuan.peng@intel.com>
  

Comments

Tu, Lijuan Aug. 13, 2020, 3:06 a.m. UTC | #1
> Subject: [dts] [PATCH]test_plans: add the changed information location
> 
> add the changed information location of the example.
> 
> Signed-off-by: Peng Yuan <yuan.peng@intel.com>

Applied
  

Patch

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] =
     {