From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E9BCA04A4; Wed, 2 Mar 2022 07:10:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09E8040696; Wed, 2 Mar 2022 07:10:33 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 07D8740141 for ; Wed, 2 Mar 2022 07:10:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646201431; x=1677737431; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=EeljWj2zDa6x8E+ywYB1IpKob023VOUAn7fxE2XnH30=; b=bQ2q6pjWVrxIKCjY0gmC7HIiqWelLRBAj5blIltCVpan2slBNaK093SQ bprTQZP0FIBWrw3iRHzTxuUoIFRYA6eK9FCYDheeRW/XIlOqVOAU7gtYc WY9jIdnhzPobBwOPCVkCNgkGo1IkESWGyT+dPMX7Ig7xjV1a11gkSicAD I/jsM4exAa8k0WCPGuyzQ76qF03rkPuwfkRMKvtLVZjoY1pBvoV7/9KNZ CWyon7W/Bebpvcxm4R92AJVWkxE/W+wyllai0SaWfTbUP+XidjoKJZDO5 6LELVNIty5Gr3UbeD8kZ0gOK4Zg0jE6c0CnGdXZ3dy5nCFomiVVJ2P0cj A==; X-IronPort-AV: E=McAfee;i="6200,9189,10273"; a="233936021" X-IronPort-AV: E=Sophos;i="5.90,148,1643702400"; d="scan'208";a="233936021" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 22:10:30 -0800 X-IronPort-AV: E=Sophos;i="5.90,148,1643702400"; d="scan'208";a="535254505" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 22:10:28 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [PATCH V3 2/3] test_plans/vf_interrupt_pmd_test_plan: remove modify DPDK code step and modify app name Date: Wed, 2 Mar 2022 14:10:24 +0800 Message-Id: <20220302061024.498829-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 1.Remove change DPDK code steps. 2.Modify app name from l3fwd-power to dpdk-l3fwd-power. Signed-off-by: Wei Ling --- test_plans/vf_interrupt_pmd_test_plan.rst | 32 ++++++++++------------- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/test_plans/vf_interrupt_pmd_test_plan.rst b/test_plans/vf_interrupt_pmd_test_plan.rst index 964bc834..7e48f929 100644 --- a/test_plans/vf_interrupt_pmd_test_plan.rst +++ b/test_plans/vf_interrupt_pmd_test_plan.rst @@ -59,10 +59,6 @@ Iommu pass through feature has been enabled in kernel:: Modify the DPDK-l3fwd-power source code and recompile the l3fwd-power:: - sed -i -e '/DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/l3fwd-power/main.c - - export RTE_TARGET=x86_64-native-linuxapp-gcc - export RTE_SDK=`/root/DPDK` meson configure -Dexamples=l3fwd-power x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc @@ -76,11 +72,11 @@ Test Case1: Check Interrupt for PF with vfio driver on ixgbe and i40e modprobe vfio-pci; - usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:00.0 + ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:00.0 2. start l3fwd-power with PF:: - examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up:: @@ -100,11 +96,11 @@ Test Case2: Check Interrupt for PF with igb_uio driver on ixgbe and i40e modprobe uio; insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko; - usertools/dpdk-devbind.py --bind=igb_uio 0000:04:00.0 + ./usertools/dpdk-devbind.py --bind=igb_uio 0000:04:00.0 2. start l3fwd-power with PF:: - examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up:: @@ -124,13 +120,13 @@ Test Case3: Check Interrupt for VF with vfio driver on ixgbe and i40e echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs modprobe vfio-pci - usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) + ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) Notice: If your PF is kernel driver, make sure PF link is up when your start testpmd on VF. 2. Start l3fwd-power with VF:: - examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' 3. Send packet with packet generator to the pf NIC, check that thread core2 waked up:: @@ -150,7 +146,7 @@ Test Case4: VF interrupt pmd in VM with vfio-pci echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs modprobe vfio-pci - usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) + ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) 2. passthrough VF 0 to VM0 and start VM0:: @@ -177,11 +173,11 @@ Test Case4: VF interrupt pmd in VM with vfio-pci modprobe vfio enable_unsafe_noiommu_mode=1 modprobe vfio-pci - usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0 + ./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0 5. start l3fwd-power in VM:: - examples/l3fwd-power/build/l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-3 -n 4 -- -P -p 0x01 --config '(0,0,2)' 6. Send packet with packet generator to the VM, check that thread core2 waked up:: @@ -200,13 +196,13 @@ Test Case5: vf multi-queue interrupt with vfio-pci on i40e echo 1 > /sys/bus/pci/devices/0000\:04\:00.0/sriov_numvfs modprobe vfio-pci - usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) + ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:04:10.0(vf_pci) Notice: If your PF is kernel driver, make sure PF link is up when your start testpmd on VF. 2. Start l3fwd-power with VF:: - examples/l3fwd-power/build/l3fwd-power -c 3f -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,1),(0,1,2),(0,2,3),(0,3,4)" + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 3f -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,1),(0,1,2),(0,2,3),(0,3,4)" 3. Send UDP packets with random ip and dest mac = vf mac addr:: @@ -227,7 +223,7 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e echo 1 > /sys/bus/pci/devices/0000\:88:00.1/sriov_numvfs modprobe vfio-pci - usertools/dpdk-devbind.py --bind=vfio-pci 0000:88:0a.0(vf_pci) + ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:88:0a.0(vf_pci) Notice: If your PF is kernel driver, make sure PF link is up when your start testpmd on VF. @@ -249,7 +245,7 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e modprobe -r vfio modprobe vfio enable_unsafe_noiommu_mode=1 modprobe vfio-pci - usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0 + ./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0 4.Start l3fwd-power in VM:: @@ -265,4 +261,4 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 1 is waked up from rx interrupt on port 0 queue 1 L3FWD_POWER: lcore 2 is waked up from rx interrupt on port 0 queue 2 - L3FWD_POWER: lcore 3 is waked up from rx interrupt on port 0 queue 3 \ No newline at end of file + L3FWD_POWER: lcore 3 is waked up from rx interrupt on port 0 queue 3 -- 2.25.1