test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Fu, Qi" <qi.fu@intel.com>
To: "Min, JiaqiX" <jiaqix.min@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Min, JiaqiX" <jiaqix.min@intel.com>
Subject: Re: [dts] [PATCH v1] test_plans/shutdown_api: modify change linkspeed
Date: Fri, 21 Feb 2020 07:21:48 +0000	[thread overview]
Message-ID: <122BE83F39B639498C1565A7B0CDA220035294A8@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20200213095148.21216-1-jiaqix.min@intel.com>

Acked-by: Fu, Qi <qi.fu@intel.com>

Best regards,
Fu, Qi

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Jiaqi Min
Sent: Thursday, February 13, 2020 5:52 PM
To: dts@dpdk.org
Cc: Min, JiaqiX <jiaqix.min@intel.com>
Subject: [dts] [PATCH v1] test_plans/shutdown_api: modify change linkspeed

fix test change linkspeed
add test change linkspeed vf
add testcase vf to test plan

Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
---
 test_plans/shutdown_api_test_plan.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst
index 2d549e8..0968644 100644
--- a/test_plans/shutdown_api_test_plan.rst
+++ b/test_plans/shutdown_api_test_plan.rst
@@ -144,6 +144,26 @@ Test Case: Change Link Speed
    successfully.
 7. Repeat this process for every compatible speed depending on the NIC driver.
 
+Test Case: Change Link Speed VF
+----------------------------
+
+1. bind a PF to DPDK::
+    ./usertools/dpdk-devbind.py -b igb_uio 1b:00.0 2. create a VF from 
+this PF::
+    echo 1 > /sys/bus/pci/devices/0000\:1b\:00.0/max_vfs
+   bind a VF to DPDK::
+    ./usertools/dpdk-devbind.py -b igb_uio 1b:02.0 3. launch testpmd 
+with cmd::
+    ./x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 
+--file-prefix=minjq -- -i 4. Run ``port stop all`` to stop all ports.
+5. Run ``port config all speed SPEED duplex HALF/FULL`` to select the new config for the link.
+6. Run ``port start all`` to restart all ports.
+   show port info all Check on the tester side that the VF configuration actually changed using ethtool.
+7. Run ``start`` again to restart the forwarding, then start packet generator to transmit
+   and receive packets, and check if testpmd is able to receive and forward packets
+   successfully.
+8. Repeat this process for every compatible speed depending on the NIC driver.
+
 Test Case: Enable/Disable Jumbo Frame
 -------------------------------------
 
--
2.17.1


  reply	other threads:[~2020-02-21  7:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  9:51 Jiaqi Min
2020-02-21  7:21 ` Fu, Qi [this message]
2020-02-21  7:54 ` 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=122BE83F39B639498C1565A7B0CDA220035294A8@SHSMSX103.ccr.corp.intel.com \
    --to=qi.fu@intel.com \
    --cc=dts@dpdk.org \
    --cc=jiaqix.min@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).