test suite reviews and discussions
 help / color / mirror / Atom feed
From: Peng Yuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: Peng Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH]test_plans: add the changed information location
Date: Tue, 11 Aug 2020 14:50:08 +0000	[thread overview]
Message-ID: <1597157408-169886-1-git-send-email-yuan.peng@intel.com> (raw)

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


             reply	other threads:[~2020-08-11  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 14:50 Peng Yuan [this message]
2020-08-13  3:06 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597157408-169886-1-git-send-email-yuan.peng@intel.com \
    --to=yuan.peng@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).