test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jun Dong <junx.dong@intel.com>
To: junx.dong@intel.com
Cc: dts@dpdk.org
Subject: [dts] [PATCH V1 2/3] test_plans/*: update test plan about enable IAVF
Date: Fri, 18 Jun 2021 17:26:14 +0800	[thread overview]
Message-ID: <20210618092615.202107-3-junx.dong@intel.com> (raw)
In-Reply-To: <20210618092615.202107-1-junx.dong@intel.com>

* update iavf test plan
* update vf_l3fwd test plan

Signed-off-by: Jun Dong <junx.dong@intel.com>
---
 test_plans/iavf_test_plan.rst     | 23 ++++-------------------
 test_plans/vf_l3fwd_test_plan.rst |  5 -----
 2 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst
index b760a633..4855e175 100644
--- a/test_plans/iavf_test_plan.rst
+++ b/test_plans/iavf_test_plan.rst
@@ -43,14 +43,7 @@ I40E driver NIC (Fortville XXV710, Fortville Spirit, Fortville Eagle)
 
 Prerequisites
 =======================
-1. Modify and build DPDK source code to enable IAVF function for I40E NIC::
-
-    sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c
-    sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g'  drivers/net/i40e/base/i40e_devids.h
-
-    make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc
-
-2. Configure PF and VF::
+1. Configure PF and VF::
 
     modprobe uio;
     insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko;
@@ -59,14 +52,14 @@ Prerequisites
     echo 1 > /sys/bus/pci/devices/0000\:08\:00.0/max_vfs
     echo 1 > /sys/bus/pci/devices/0000\:08\:00.1/max_vfs
 
-3. Start testpmd on host to configure VF ports' mac::
+2. Start testpmd on host to configure VF ports' mac::
 
     ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-5 -n 4  -- -i
 
     testpmd>set vf mac addr 0 0 00:12:34:56:78:01
     testpmd>set vf mac addr 1 0 00:12:34:56:78:02
 
-4. Pass through VF 09:02.0 and 09:0a.0 to VM0::
+3. Pass through VF 09:02.0 and 09:0a.0 to VM0::
 
     taskset -c 24,25 qemu-system-x86_64  \
     -name vm0 -enable-kvm -pidfile /tmp/.vm0.pid -daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait \
@@ -76,15 +69,7 @@ Prerequisites
     -device virtio-serial -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 -vnc :1 \
     -drive file=/home/image/sriov-fc25-1.img,format=raw,if=virtio,index=0,media=disk
 
-
-5. Modify and build DPDK source code to enable IAVF function for I40E NIC in VM::
-
-    sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c
-    sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g'  drivers/net/i40e/base/i40e_devids.h
-
-    make install RTE_SDK=`pwd` T=x86_64-native-linuxapp-gcc
-
-6. Bind VF to igb_uio or vfio-pic in VM::
+4. Bind VF to igb_uio or vfio-pic in VM::
 
     ./usertools/dpdk-devbind.py --bind=igb_uio 00:04.0 00:05.0
     or
diff --git a/test_plans/vf_l3fwd_test_plan.rst b/test_plans/vf_l3fwd_test_plan.rst
index 6d816dd8..efdedda4 100644
--- a/test_plans/vf_l3fwd_test_plan.rst
+++ b/test_plans/vf_l3fwd_test_plan.rst
@@ -85,11 +85,6 @@ Prerequisites
 * Case config:
     For test vf_l3fwd perf, need to set "define RTE_TEST_RX_DESC_DEFAULT 2048" and "define RTE_TEST_TX_DESC_DEFAULT 2048"
     in ./examples/l3fwd/l3fwd.h and re-build l3fwd.
-  Note:
-    Only FVL need to change code to support iavf, when dpdk use iavf as default vf driver, no need to change code.
-    If test iavf on FVL, need to change "{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) }" to
-    "a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) }" in ./drivers/net/iavf/iavf_ethdev.c,
-    and set "I40E_DEV_ID_VF 0x164C" in ./drivers/net/i40e/base/i40e_devids.h and re-build DPDK.
 
 Setup overview
 ==============
-- 
2.27.0


  parent reply	other threads:[~2021-06-18  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  9:26 [dts] [PATCH V1 0/3] remove enable IAVF function Jun Dong
2021-06-18  9:26 ` [dts] [PATCH V1 1/3] framework/project_dpdk: remove IAVF dpdk code modification Jun Dong
2021-06-18  9:26 ` Jun Dong [this message]
2021-06-18  9:26 ` [dts] [PATCH V1 3/3] tests/*: update test plan about enable IAVF Jun Dong
2021-06-22  7:07 ` [dts] [PATCH V1 0/3] remove enable IAVF function 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=20210618092615.202107-3-junx.dong@intel.com \
    --to=junx.dong@intel.com \
    --cc=dts@dpdk.org \
    /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).