From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org, yuan.peng@intel.com
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1 2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu.
Date: Mon, 7 Mar 2022 10:26:28 +0800 [thread overview]
Message-ID: <20220307022628.3829950-2-weiyuanx.li@intel.com> (raw)
In-Reply-To: <20220307022628.3829950-1-weiyuanx.li@intel.com>
Sync test plan add step dpdk pf set mtu value.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
test_plans/vf_daemon_test_plan.rst | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst
index cb7fb41d..42c679ac 100644
--- a/test_plans/vf_daemon_test_plan.rst
+++ b/test_plans/vf_daemon_test_plan.rst
@@ -301,23 +301,29 @@ Test Case 9: Show/Clear stats for VF from PF
Test Case 10: enhancement to identify VF MTU change
===================================================
-1. Set VF0 in mac forwarding mode and start testpmd
+1. Set DPDK PF mtu size is 9000.
-2. Default mtu size is 1500, send one packet with length bigger than default
+ testpmd> port stop all
+ testpmd> port config mtu 0 9000
+ testpmd> port start all
+
+2. Set VF0 in mac forwarding mode and start testpmd
+
+3. Default mtu size is 1500, send one packet with length bigger than default
mtu size, such as 2000 from tester, check VF0 can receive but can't transmit
packet
-3. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
+4. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
testpmd> port stop all
testpmd> port config mtu 0 3000
testpmd> port start all
testpmd> start
-4. Send one packet with length 2000 from tester, check VF0 can receive and
+5. Send one packet with length 2000 from tester, check VF0 can receive and
transmit packet
-5. Send one packet with length bigger than configured mtu size, such as 5000
+6. Send one packet with length bigger than configured mtu size, such as 5000
from tester, check VF0 can receive but can't transmit packet
--
2.27.0
prev parent reply other threads:[~2022-03-07 2:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 2:26 [dts][PATCH V1 1/2] tests/vf_daemon: add step dpdk pf set mtu value Weiyuan Li
2022-03-07 2:26 ` Weiyuan Li [this message]
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=20220307022628.3829950-2-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).