test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lingli Chen <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: zhiminx.huang@intel.com, Lingli Chen <linglix.chen@intel.com>
Subject: [dts][PATCH V1 4/5] test_plans/ddp_mpls: add note
Date: Thu, 20 Apr 2023 03:05:05 -0400	[thread overview]
Message-ID: <20230420070506.10015-5-linglix.chen@intel.com> (raw)
In-Reply-To: <20230420070506.10015-1-linglix.chen@intel.com>

add test PF note

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 test_plans/ddp_mpls_test_plan.rst | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/test_plans/ddp_mpls_test_plan.rst b/test_plans/ddp_mpls_test_plan.rst
index a070d48d..299b8e78 100644
--- a/test_plans/ddp_mpls_test_plan.rst
+++ b/test_plans/ddp_mpls_test_plan.rst
@@ -25,9 +25,11 @@ Only 25G NIC supports DDP and MPLS so far.
 Prerequisites
 =============
 
+if test DPDK PF + DPDK VF, bind port to igb_uio:
+
 1. Host PF in DPDK driver. Create 1 VF from 1 PF with DPDK driver::
 
-     ./tools/dpdk-devbind.py -b igb_uio 81:00.0
+     ./usertools/dpdk-devbind.py -b igb_uio 81:00.0
      echo 1 >/sys/bus/pci/devices/0000:81:00.0/max_vfs
 
 2. Detach VF from the host::
@@ -45,6 +47,16 @@ Prerequisites
      ./<build>/app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained
      --txq=4 --rxq=4
 
+if only test PF:
+
+1. bind pf port to vfio-pci::
+
+    ./usertools/dpdk-devbind.py -b vfio-pci 81:00.0
+
+2. Start testpmd on host::
+
+     ./<build>/app/dpdk-testpmd -c f -n 4  -- -i --port-topology=chained --txq=64 --rxq=64
+
 
 Test Case 1: Load dynamic device personalization
 ================================================
-- 
2.17.1


  parent reply	other threads:[~2023-04-20  8:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20  7:05 [dts][PATCH V1 0/5] skip DPDK PF as host related cases Lingli Chen
2023-04-20  7:05 ` [dts][PATCH V1 1/5] test_plans/vf_macfilter: change "igb_uio" to "vfio-pci" in kernel pf cases Lingli Chen
2023-04-20  7:05 ` [dts][PATCH V1 2/5] test_plans/ddp_gtp: add note Lingli Chen
2023-04-20  7:05 ` [dts][PATCH V1 3/5] tests/ddp_gtp: skip igb_uio cases Lingli Chen
2023-04-20  7:05 ` Lingli Chen [this message]
2023-04-20  7:05 ` [dts][PATCH V1 5/5] tests/ddp_mpls: " Lingli Chen
2023-04-21  2:43   ` Huang, ZhiminX
2023-04-24  1:29   ` Li, WeiyuanX
2023-04-26  3:02   ` 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=20230420070506.10015-5-linglix.chen@intel.com \
    --to=linglix.chen@intel.com \
    --cc=dts@dpdk.org \
    --cc=zhiminx.huang@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).