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 V2 2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu.
Date: Mon, 7 Mar 2022 11:15:02 +0800 [thread overview]
Message-ID: <20220307031502.3830438-2-weiyuanx.li@intel.com> (raw)
In-Reply-To: <20220307031502.3830438-1-weiyuanx.li@intel.com>
Sync test plan add step dpdk pf set mtu value.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
v2:
-Modify comment description.
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
next prev parent reply other threads:[~2022-03-07 3:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 3:15 [dts][PATCH V2 1/2] tests/vf_daemon: add step dpdk pf set mtu value Weiyuan Li
2022-03-07 3:15 ` Weiyuan Li [this message]
2022-03-11 12:14 ` [dts][PATCH V2 2/2] test_plan/vf_daemon: sync add step dpdk pf set mtu 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=20220307031502.3830438-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).