From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 46002A05D3 for ; Tue, 21 May 2019 11:42:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D765814EC; Tue, 21 May 2019 11:42:07 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2CB4D10BD for ; Tue, 21 May 2019 11:42:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 02:42:05 -0700 X-ExtLoop1: 1 Received: from dpdk-test60.sh.intel.com ([10.67.111.110]) by orsmga003.jf.intel.com with ESMTP; 21 May 2019 02:42:04 -0700 From: Xueqin Lin To: dts@dpdk.org Cc: "xueqin.lin" Date: Mon, 20 May 2019 23:42:08 -0400 Message-Id: <1558410128-62949-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dts] [PATCH] test_plans/qinq_filter: remove useless tx offload and fix case description error X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: "xueqin.lin" Signed-off-by: Xueqin Lin --- test_plans/qinq_filter_test_plan.rst | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test_plans/qinq_filter_test_plan.rst b/test_plans/qinq_filter_test_plan.rst index b8d7c34..fa995f3 100644 --- a/test_plans/qinq_filter_test_plan.rst +++ b/test_plans/qinq_filter_test_plan.rst @@ -56,7 +56,7 @@ Testpmd configuration - 4 RX/TX queues per port #. set up testpmd with fortville NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=4 --txq=4 --disable-rss #. enable qinq:: @@ -89,7 +89,7 @@ Testpmd configuration - 4 RX/TX queues per port #. set up testpmd with fortville NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=4 --txq=4 --disable-rss #. enable qinq:: @@ -118,7 +118,7 @@ tester Configuration #. send dual vlan packet with scapy, verify packets can filter to queues:: sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=1)/Dot1Q(type=0x8100,vlan=4093)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") - sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=2)/Dot1Q(type=0x8100,vlan=4093)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") + sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=2)/Dot1Q(type=0x8100,vlan=4094)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") Test Case 3: qinq packet filter to VF queues ============================================ @@ -126,13 +126,13 @@ Test Case 3: qinq packet filter to VF queues linux cmdline: echo 2 > /sys/bus/pci/devices/0000:81:00.0/max_vfs -#. bind igb_uio to vfs +#. bind igb_uio to vfs:: linux cmdline: ./usertools/dpdk-devbind.py -b igb_uio 81:02.0 81:02.1 #. set up testpmd with fortville PF NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket-mem=1024,1024 --file-prefix=pf -w 81:00.0 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket-mem=1024,1024 --file-prefix=pf -w 81:00.0 -- -i --rxq=4 --txq=4 #. enable qinq:: @@ -158,7 +158,7 @@ Test Case 3: qinq packet filter to VF queues #. set up testpmd with fortville VF0 NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket-mem=1024,1024 --file-prefix=vf0 -w 81:02.0 -- -i --rxq=4 --txq=4 --rss-udp + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket-mem=1024,1024 --file-prefix=vf0 -w 81:02.0 -- -i --rxq=4 --txq=4 #. PMD fwd only receive the packets:: @@ -172,9 +172,9 @@ Test Case 3: qinq packet filter to VF queues testpmd command: start -#. set up testpmd with fortville VF0 NICs:: +#. set up testpmd with fortville VF1 NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket-mem=1024,1024 --file-prefix=vf1 -w 81:02.0 -- -i --rxq=4 --txq=4 --rss-udp + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket-mem=1024,1024 --file-prefix=vf1 -w 81:02.1 -- -i --rxq=4 --txq=4 #. PMD fwd only receive the packets:: @@ -193,7 +193,7 @@ tester Configuration #. send dual vlan packet with scapy, verify packets can filter to the corresponding PF and VF queues:: - sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=1)/Dot1Q(type=0x8100,vlan=4094)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") + sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=1)/Dot1Q(type=0x8100,vlan=4093)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=2)/Dot1Q(type=0x8100,vlan=4094)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") sendp([Ether(dst="3C:FD:FE:A3:A0:AE")/Dot1Q(type=0x8100,vlan=3)/Dot1Q(type=0x8100,vlan=4094)/IP(src="192.168.0.1", dst="192.168.0.2")/Raw('x' * 20)], iface="eth17") @@ -203,13 +203,13 @@ Test Case 4: qinq packet filter with different tpid linux cmdline: echo 2 > /sys/bus/pci/devices/0000:81:00.0/max_vfs -#. bind igb_uio to vfs +#. bind igb_uio to vfs:: linux cmdline: ./usertools/dpdk-devbind.py -b igb_uio 81:02.0 81:02.1 #. set up testpmd with fortville PF NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket-mem=1024,1024 --file-prefix=pf -w 81:00.0 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket-mem=1024,1024 --file-prefix=pf -w 81:00.0 -- -i --rxq=4 --txq=4 #. enable qinq:: @@ -239,7 +239,7 @@ Test Case 4: qinq packet filter with different tpid #. set up testpmd with fortville VF0 NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket-mem=1024,1024 --file-prefix=vf0 -w 81:02.0 -- -i --rxq=4 --txq=4 --rss-udp + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket-mem=1024,1024 --file-prefix=vf0 -w 81:02.0 -- -i --rxq=4 --txq=4 #. PMD fwd only receive the packets:: @@ -253,9 +253,9 @@ Test Case 4: qinq packet filter with different tpid testpmd command: start -#. set up testpmd with fortville VF0 NICs:: +#. set up testpmd with fortville VF1 NICs:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket-mem=1024,1024 --file-prefix=vf1 -w 81:02.0 -- -i --rxq=4 --txq=4 --rss-udp + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket-mem=1024,1024 --file-prefix=vf1 -w 81:02.1 -- -i --rxq=4 --txq=4 #. PMD fwd only receive the packets:: @@ -272,8 +272,8 @@ Test Case 4: qinq packet filter with different tpid tester Configuration -------------------- -#. send dual vlan packet with scapy, verify packets can filter to the corresponding VF queues:: -7. send qinq packet with traffic generator, verify packets can filter to the corresponding VF queues. +#. send dual vlan packet with scapy, verify packets can filter to the corresponding VF queues. +#. send qinq packet with traffic generator, verify packets can filter to the corresponding VF queues. Note ==================================================== -- 2.7.5