* [dts] [PATCH]test_plans: add the changed information location
@ 2020-08-11 14:50 Peng Yuan
2020-08-13 3:06 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Peng Yuan @ 2020-08-11 14:50 UTC (permalink / raw)
To: dts; +Cc: Peng Yuan
add the changed information location of the example.
Signed-off-by: Peng Yuan <yuan.peng@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-13 3:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 14:50 [dts] [PATCH]test_plans: add the changed information location Peng Yuan
2020-08-13 3:06 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).