[dts] [PATCH]test_plans: add the changed information location
Peng Yuan
yuan.peng at intel.com
Tue Aug 11 16:50:08 CEST 2020
add the changed information location of the example.
Signed-off-by: Peng Yuan <yuan.peng at intel.com>
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
More information about the dts
mailing list