From: "Li, WeiyuanX" <weiyuanx.li@intel.com>
To: dts@dpdk.org, yuan.peng@intel.com
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1] test_plans/dynamic_flowtype: move case load dynamic device personalization to prerequisites in testplan
Date: Thu, 9 Jun 2022 16:17:39 +0800 [thread overview]
Message-ID: <20220609081739.844-1-weiyuanx.li@intel.com> (raw)
From: Weiyuan Li <weiyuanx.li@intel.com>
Test case load dynamic device personalization in testplan is a prestep in testsuite,
move this case to Prerequisites in test plan.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
test_plans/dynamic_flowtype_test_plan.rst | 41 ++++++++---------------
1 file changed, 14 insertions(+), 27 deletions(-)
diff --git a/test_plans/dynamic_flowtype_test_plan.rst b/test_plans/dynamic_flowtype_test_plan.rst
index 40364c32..6e8e5ed7 100644
--- a/test_plans/dynamic_flowtype_test_plan.rst
+++ b/test_plans/dynamic_flowtype_test_plan.rst
@@ -59,41 +59,28 @@ Prerequisites
enable multi-queues. In general, PF's max queue is 64::
./<build>/app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64
-
-3. Set rxonly forwarding and enable output
-4. Scapy vesrion >= 2.3
+3. Load profile gtp.pkgo which is a binary file::
+ testpmd > port stop all
+ testpmd > ddp add (port_id) (profile_path)
+ testpmd > port start all
-Test Case: Load dynamic device personalization
-================================================
+ .. note::
-1. Stop testpmd port before loading profile::
+ 1. Gtp.pkgo profile is not released by ND yet, only have engineer version for
+ internal use so far. Plan to keep public reference profiles at Intel
+ Developer Zone, release versions of profiles and supply link later.
- testpmd > port stop all
+ 2. Loading DDP profile is the prerequisite for below dynamic mapping relative
+ cases, operate global reset or lanconf tool to recover original setting.
+ Global reset trigger reg is 0xb8190, cmd is global reset:
-2. Load profile gtp.pkgo which is a binary file::
+ testpmd > write reg 0 0xb8190 2
- testpmd > ddp add (port_id) (profile_path)
-
-3. Start testpmd port::
+4. Set rxonly forwarding and enable output
- testpmd > port start all
-
-Note:
-
-1. Gtp.pkgo profile is not released by ND yet, only have engineer version for
- internal use so far. Plan to keep public reference profiles at Intel
- Developer Zone, release versions of profiles and supply link later.
-
-2. Loading DDP profile is the prerequisite for below dynamic mapping relative
- cases, operate global reset or lanconf tool to recover original setting.
- Global reset trigger reg is 0xb8190, first cmd is core reset, second cmd
- is global reset::
-
- testpmd> write reg 0 0xb8190 1
- testpmd> write reg 0 0xb8190 2
-
+5. Scapy vesrion >= 2.3
Test Case: Check profile info correctness
=========================================
--
2.17.1
next reply other threads:[~2022-06-09 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-09 8:17 Li, WeiyuanX [this message]
2022-06-15 9:18 ` lijuan.tu
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=20220609081739.844-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@intel.com \
--cc=dts@dpdk.org \
--cc=yuan.peng@intel.com \
/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).