modify dpdk app/example and build method to adapt meson name Signed-off-by: Yan Xia --- test_plans/flexible_rxd_test_plan.rst | 26 ++++---- test_plans/floating_veb_test_plan.rst | 38 ++++++------ .../flow_classify_softnic_test_plan.rst | 38 ++++++------ test_plans/flow_classify_test_plan.rst | 16 ++--- test_plans/flow_filtering_test_plan.rst | 6 +- test_plans/fortville_rss_input_test_plan.rst | 2 +- test_plans/generic_flow_api_test_plan.rst | 60 +++++++++---------- test_plans/hello_world_test_plan.rst | 6 +- test_plans/hotplug_mp_test_plan.rst | 16 ++--- test_plans/hotplug_test_plan.rst | 20 +++---- test_plans/vf_macfilter_test_plan.rst | 12 ++-- test_plans/vf_offload_test_plan.rst | 2 +- test_plans/vf_packet_rxtx_test_plan.rst | 14 ++--- test_plans/vf_port_start_stop_test_plan.rst | 2 +- test_plans/vf_rss_test_plan.rst | 2 +- test_plans/vf_to_vf_nic_bridge_test_plan.rst | 6 +- test_plans/vf_vlan_test_plan.rst | 4 +- .../vlan_ethertype_config_test_plan.rst | 12 ++-- test_plans/vlan_test_plan.rst | 2 +- test_plans/vm_hotplug_test_plan.rst | 10 ++-- test_plans/vm_power_manager_test_plan.rst | 8 +-- .../vxlan_gpe_support_in_i40e_test_plan.rst | 2 +- test_plans/vxlan_test_plan.rst | 12 ++-- 23 files changed, 159 insertions(+), 157 deletions(-) diff --git a/test_plans/flexible_rxd_test_plan.rst b/test_plans/flexible_rxd_test_plan.rst index 30ae6993..8e779b5d 100644 --- a/test_plans/flexible_rxd_test_plan.rst +++ b/test_plans/flexible_rxd_test_plan.rst @@ -83,7 +83,9 @@ Patch testpmd for dumping flexible fields from RXD:: Compile DPDK and testpmd:: - make install -j T=x86_64-native-linuxapp-gcc + rm -rf x86_64-native-linuxapp-gcc + CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc Bind Intel E810 interface to igb_uio driver, (e.g. 0000:18:00.0) :: @@ -94,7 +96,7 @@ Test Case 01: Check single VLAN fields in RXD (802.1Q) Launch testpmd by:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 testpmd>set verbose 1 testpmd>set fwd io @@ -130,7 +132,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -148,7 +150,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -167,7 +169,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=vlan -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -186,7 +188,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv4 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv4 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -208,7 +210,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6 -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -230,7 +232,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6_flow -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=ipv6_flow -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -250,7 +252,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -269,7 +271,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr=tcp -- -i --rxq=32 --txq=32 --portmask=0x1 --nb-cores=2 Test packet:: @@ -288,7 +290,7 @@ Test steps are same to ``Test Case 01``, just change the launch command of testp Launch testpmd command:: - ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=64 --txq=64 --portmask=0x1 + ./x86_64-native-linux-gcc/app/dpdk-testpmd -l 6-9 -n 4 -a 18:00.0,proto_xtr='[(2):ipv4,(3):ipv6,(4):tcp]' -- -i --rxq=64 --txq=64 --portmask=0x1 Create generic flow on NIC:: @@ -337,7 +339,7 @@ Make sure the new ice.pkg is different with the original one. Take 'dmesg' comma Start the testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i --rxq=64 --txq=64 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xff -n 4 -- -i --rxq=64 --txq=64 Check the testpmd started failed. Failed info output:: diff --git a/test_plans/floating_veb_test_plan.rst b/test_plans/floating_veb_test_plan.rst index 37f6fc09..bd6e1cd2 100644 --- a/test_plans/floating_veb_test_plan.rst +++ b/test_plans/floating_veb_test_plan.rst @@ -123,14 +123,14 @@ MAC switch when PF is link down as well as up. 1. Launch PF testpmd:: - ./testpmd -c 0xf -n 4 --socket-mem 1024,1024 + ./dpdk-testpmd -c 0xf -n 4 --socket-mem 1024,1024 -a 05:00.0,enable_floating_veb=1 --file-prefix=test1 -- -i testpmd> port start all testpmd> show port info all 2. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i --crc-strip testpmd> mac_addr add 0 vf1_mac_address testpmd> set fwd rxonly @@ -140,7 +140,7 @@ MAC switch when PF is link down as well as up. VF2, run testpmd:: - ./testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test3 + ./dpdk-testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test3 -- -i --crc-strip --eth-peer=0,vf1_mac_address testpmd> set fwd txonly testpmd> start @@ -162,7 +162,7 @@ send traffic from VF0 to PF, PF can't receive any packets either. 1. In PF, launch testpmd:: - ./testpmd -c 0xf -n 4 --socket-mem 1024,1024 -a 05:00.0,enable_floating_veb=1 --file-prefix=test1 -- -i + ./dpdk-testpmd -c 0xf -n 4 --socket-mem 1024,1024 -a 05:00.0,enable_floating_veb=1 --file-prefix=test1 -- -i testpmd> set fwd rxonly testpmd> set promisc all off testpmd> port start all @@ -171,7 +171,7 @@ send traffic from VF0 to PF, PF can't receive any packets either. 2. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i --eth-peer=0,pf_mac_addr + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i --eth-peer=0,pf_mac_addr testpmd> set fwd txonly testpmd> start testpmd> show port stats all @@ -193,7 +193,7 @@ in floating mode, check VF1 can't receive traffic from tester. 2. PF, launch testpmd:: - ./testpmd -c 0xf -n 4 --socket-mem 1024,1024 -a 05:00.0,enable_floating_veb=1 --file-prefix=test1 -- -i --eth-peer=0,VF_mac_address + ./dpdk-testpmd -c 0xf -n 4 --socket-mem 1024,1024 -a 05:00.0,enable_floating_veb=1 --file-prefix=test1 -- -i --eth-peer=0,VF_mac_address testpmd> set fwd mac testpmd> port start all testpmd> start @@ -201,7 +201,7 @@ in floating mode, check VF1 can't receive traffic from tester. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i testpmd> set fwd rxonly testpmd> start testpmd> show port stats all @@ -236,7 +236,7 @@ Details: 1. Launch PF testpmd, run testpmd with floating parameters and make the link down:: - ./testpmd -c 0xf -n 4 --socket-mem 1024,1024 \ + ./dpdk-testpmd -c 0xf -n 4 --socket-mem 1024,1024 \ \"-a "05:00.0,enable_floating_veb=1,floating_veb_list=0;2-3\" \ --file-prefix=test1 -- -i //VF0, VF2 and VF3in floating VEB, VF1 in legacy VEB @@ -251,7 +251,7 @@ Details: VF0, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ --file-prefix=test2 -- -i --eth-peer=0,vf1_mac_address testpmd> set fwd rxonly testpmd> mac_addr add 0 vf0_mac_address //set the vf0_mac_address @@ -260,7 +260,7 @@ Details: VF1, run testpmd:: - ./testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.1 \ + ./dpdk-testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.1 \ --file-prefix=test3 -- -i --eth-peer=0,vf1_mac_address testpmd> set fwd txonly testpmd> mac_addr add 0 vf1_mac_addres @@ -275,7 +275,7 @@ Details: VF2, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.2 \ + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.2 \ --file-prefix=test2 -- -i testpmd> set fwd rxonly testpmd> mac_addr add 0 vf2_mac_addres @@ -284,7 +284,7 @@ Details: VF0, run testpmd:: - ./testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ + ./dpdk-testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ --file-prefix=test3 -- -i --eth-peer=0,vf2_mac_address testpmd> set fwd txonly testpmd> start @@ -318,7 +318,7 @@ Details: 1. In PF, launch testpmd:: - ./testpmd -c 0xf -n 4 --socket-mem 1024,1024 \ + ./dpdk-testpmd -c 0xf -n 4 --socket-mem 1024,1024 \ \"-a 05:00.0,enable_floating_veb=1,floating_veb_list=0;3\" \ --file-prefix=test1 -- -i testpmd> set fwd rxonly @@ -328,7 +328,7 @@ Details: 2. VF0, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 \ --file-prefix=test2 -- -i --eth-peer=0,pf_mac_addr testpmd> set fwd txonly testpmd> start @@ -337,7 +337,7 @@ Details: 3. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 \ + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 \ --file-prefix=test2 -- -i --eth-peer=0,pf_mac_addr testpmd> set fwd txonly testpmd> start @@ -346,7 +346,7 @@ Details: 4. VF0, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.0 --file-prefix=test2 -- -i testpmd> mac_addr add 0 VF0_mac_address testpmd> set promisc all off testpmd> set fwd rxonly @@ -361,7 +361,7 @@ Details: 5. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test2 -- -i + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test2 -- -i testpmd> mac_addr add 0 VF1_mac_address testpmd> set promisc all off testpmd> set fwd rxonly @@ -376,7 +376,7 @@ Details: 6. VF1, run testpmd:: - ./testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test2 -- -i + ./dpdk-testpmd -c 0xf0 -n 4 --socket-mem 1024,1024 -a 05:02.1 --file-prefix=test2 -- -i testpmd> mac_addr add 0 VF1_mac_address testpmd> set promisc all off testpmd> set fwd rxonly @@ -384,7 +384,7 @@ Details: VF2, run testpmd:: - ./testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.2 \ + ./dpdk-testpmd -c 0xf00 -n 4 --socket-mem 1024,1024 -a 05:02.2 \ --file-prefix=test3 -- -i --eth-peer=0,VF1_mac_address testpmd> set fwd txonly testpmd> start diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst index b18d32b6..cc6519d0 100644 --- a/test_plans/flow_classify_softnic_test_plan.rst +++ b/test_plans/flow_classify_softnic_test_plan.rst @@ -72,7 +72,7 @@ Other changes are shown in each case. Start softnic with following command line:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 \ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --portmask=0x10 testpmd> start @@ -87,7 +87,7 @@ Test Case: ipv4 ACL table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_acl_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -186,7 +186,7 @@ Test Case: ipv4-5tuple hash table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -242,7 +242,7 @@ c) Match UDP SPORT:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -349,7 +349,7 @@ Test Case: ipv6 ACL table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_acl_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -408,7 +408,7 @@ b) Match ipv6 dst_addr:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -491,7 +491,7 @@ Test Case: ipv6-5tuple hash table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -550,7 +550,7 @@ b) Match ipv4 dst_addr:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -592,7 +592,7 @@ b) Match ipv6 dst_addr:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -642,7 +642,7 @@ c) Table c:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_rss_firmware.cli,cpu_id=1,conn_port=8086' -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -763,7 +763,7 @@ c) Table c:: 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_rss_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10 @@ -885,7 +885,7 @@ Test Case: ipv4 ACL table jump action 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -936,7 +936,7 @@ Test Case: ipv4 HASH table jump action 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -989,7 +989,7 @@ Test Case: ipv4 ACL jump to HASH table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_acl_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -1044,7 +1044,7 @@ Test Case: ipv4 HASH jump to ACL table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv4_hash_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -1092,7 +1092,7 @@ Test Case: ipv6 ACL table jump action 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -1146,7 +1146,7 @@ Test Case: ipv6 HASH table jump action 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -1203,7 +1203,7 @@ Test Case: ipv6 ACL jump to HASH table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_acl_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 @@ -1257,7 +1257,7 @@ Test Case: ipv6 HASH jump to ACL table 2. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \ firmware=./drivers/net/softnic/flow_ipv6_hash_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4 diff --git a/test_plans/flow_classify_test_plan.rst b/test_plans/flow_classify_test_plan.rst index 1b30b063..07236172 100644 --- a/test_plans/flow_classify_test_plan.rst +++ b/test_plans/flow_classify_test_plan.rst @@ -198,7 +198,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -219,7 +219,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -238,7 +238,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -259,7 +259,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -278,7 +278,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -297,7 +297,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send stream by packet generator(e.g. scapy or ixia):: @@ -316,7 +316,7 @@ steps: #. boot up flow_classify:: - ./flow_classify -c 4 -n 4 -- --rule_ipv4= + ./dpdk-flow_classify -c 4 -n 4 -- --rule_ipv4= #. send multiple stream by packet generator(e.g. scapy or ixia), include SCTP_1/SCTP_invalid/TCP_invalid/TCP_1/TCP_2/UDP_invalid/UDP_1/UDP_2:: @@ -329,4 +329,4 @@ steps: rule[1] count=1 rule[2] count=1 rule[3] count=1 - rule[4] count=1 \ No newline at end of file + rule[4] count=1 diff --git a/test_plans/flow_filtering_test_plan.rst b/test_plans/flow_filtering_test_plan.rst index 910fbe84..2d2ed562 100644 --- a/test_plans/flow_filtering_test_plan.rst +++ b/test_plans/flow_filtering_test_plan.rst @@ -39,7 +39,7 @@ of a creating a RTE flow rule. It is intended as a demonstration of the basic components RTE flow rules. The Flow Filtering results are produced using ''flow'' application:: - ./flow -l 1 -n 1 + ./dpdk-flow_filtering -l 1 -n 1 There is a flow rule defined in the sample code. You can check the detailed information of the flow rule from @@ -70,7 +70,7 @@ Test Case: match rule ===================== 1. Start the application with default settings:: - ./flow -l 1 -n 1 + ./dpdk-flow_filtering -l 1 -n 1 2. Send packets which matches the defined rule from tester:: @@ -88,7 +88,7 @@ Test Case: dismatch rule ======================== 1. Start the application with default settings:: - ./flow -l 1 -n 1 + ./dpdk-flow_filtering -l 1 -n 1 2. Send packet which dismatches the defined rule from tester:: diff --git a/test_plans/fortville_rss_input_test_plan.rst b/test_plans/fortville_rss_input_test_plan.rst index 0202f741..b8e9ea2f 100644 --- a/test_plans/fortville_rss_input_test_plan.rst +++ b/test_plans/fortville_rss_input_test_plan.rst @@ -54,7 +54,7 @@ Prerequisites 2.Start testpmd on host:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -a 81:00.0 -- -i --txq=8 --rxq=8 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 81:00.0 -- -i --txq=8 --rxq=8 testpmd>set verbose 1 testpmd>start diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst index d6a6a94e..c4c0301e 100644 --- a/test_plans/generic_flow_api_test_plan.rst +++ b/test_plans/generic_flow_api_test_plan.rst @@ -57,7 +57,7 @@ Test case: Fortville ethertype 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -99,7 +99,7 @@ Test case: Fortville fdir for L2 payload 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -133,7 +133,7 @@ Test case: Fortville fdir for flexbytes 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -217,7 +217,7 @@ Test case: Fortville fdir for ipv4 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -322,17 +322,17 @@ Test case: Fortville fdir for ipv6 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf0 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf0 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e00000 -n 4 -a 05:02.1 --file-prefix=vf1 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1e00000 -n 4 -a 05:02.1 --file-prefix=vf1 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -401,7 +401,7 @@ Test case: Fortville fdir wrong parameters 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -461,7 +461,7 @@ Test case: Fortville tunnel vxlan 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --tx-offloads=0x8fff --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --tx-offloads=0x8fff --disable-rss testpmd> rx_vxlan_port add 4789 0 testpmd> set fwd rxonly testpmd> set verbose 1 @@ -469,7 +469,7 @@ Test case: Fortville tunnel vxlan testpmd> start the pf's mac address is 00:00:00:00:01:00 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> set promisc all off @@ -564,19 +564,19 @@ Test case: Fortville tunnel nvgre 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -a 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --tx-offloads=0x8fff testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> set promisc all off testpmd> start - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf0 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1e0000 -n 4 -a 05:02.0 --file-prefix=vf0 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> set promisc all off testpmd> start - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1e00000 -n 4 -a 05:02.1 --file-prefix=vf1 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1e00000 -n 4 -a 05:02.1 --file-prefix=vf1 --socket-mem=1024,1024 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> set promisc all off @@ -666,7 +666,7 @@ Test case: IXGBE SYN 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -708,7 +708,7 @@ Test case: IXGBE n-tuple(supported by x540 and 82599) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -764,7 +764,7 @@ Test case: IXGBE ethertype 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -808,7 +808,7 @@ Test case: IXGBE fdir for ipv4 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -910,7 +910,7 @@ Test case: IXGBE fdir for signature(ipv4/ipv6) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=signature + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=signature testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1063,7 +1063,7 @@ Test case: IXGBE fdir for mac/vlan(support by x540, x552, x550) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect-mac-vlan + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect-mac-vlan testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1211,7 +1211,7 @@ Test case: IXGBE fdir for tunnel (vxlan and nvgre)(support by x540, x552, x550) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect-tunnel + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=16 --txq=16 --disable-rss --pkt-filter-mode=perfect-tunnel testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1255,7 +1255,7 @@ Test case: igb SYN 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1297,7 +1297,7 @@ Test case: igb n-tuple(82576) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1327,7 +1327,7 @@ Test case: igb n-tuple(i350 or 82580) 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1360,7 +1360,7 @@ Test case: igb ethertype 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1401,7 +1401,7 @@ Test case: igb flexbytes 1. Launch the app ``testpmd`` with the following arguments:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 1ffff -n 4 -- -i --rxq=8 --txq=8 --disable-rss testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -1502,7 +1502,7 @@ Test case: Fortville fdir for l2 mac ./usertools/dpdk-devbind.py -b igb_uio 0000:81:00.0 launch testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 -a 0000:81:00.0 -- -i --rxq=4 --txq=4 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 0-3 -n 4 -a 0000:81:00.0 -- -i --rxq=4 --txq=4 1. basic test for ipv4-other @@ -2009,7 +2009,7 @@ Test case: Dual vlan(QinQ) 1. set up testpmd with Fortville NICs:: - ./testpmd -c 0x1ffff -n 4 -- -i --coremask=0x1fffe --portmask=0x1 --rxq=16 --txq=16 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0x1ffff -n 4 -- -i --coremask=0x1fffe --portmask=0x1 --rxq=16 --txq=16 --tx-offloads=0x8fff 2. verbose configuration:: @@ -2107,7 +2107,7 @@ Test Case: 10GB Multiple filters 1. set up testpmd with Fortville NICs:: - ./testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=16 --txq=16 + ./dpdk-testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=16 --txq=16 2. verbose configuration:: @@ -2184,7 +2184,7 @@ This case is designed for NIC (niantic,I350, 82576 and 82580). Since transmit above packets on assigned queue. Launch the app ``testpmd`` with the following arguments:: - testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=4 --txq=4 --portmask=0x3 --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600 + dpdk-testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=4 --txq=4 --portmask=0x3 --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -2226,7 +2226,7 @@ for 128 queues test:: Launch the app ``testpmd`` with the following arguments:: - ./testpmd -l 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53 -n 4 -- -i --disable-rss --rxq=128 --txq=128 --portmask=0x3 --nb-cores=4 --total-num-mbufs=263168 + ./dpdk-testpmd -l 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53 -n 4 -- -i --disable-rss --rxq=128 --txq=128 --portmask=0x3 --nb-cores=4 --total-num-mbufs=263168 testpmd>set stat_qmap rx 0 0 0 testpmd>set stat_qmap rx 1 0 0 diff --git a/test_plans/hello_world_test_plan.rst b/test_plans/hello_world_test_plan.rst index a5f1fcf2..cbe5460b 100644 --- a/test_plans/hello_world_test_plan.rst +++ b/test_plans/hello_world_test_plan.rst @@ -40,7 +40,7 @@ enabled lcore. Command Usage:: - ./helloworld -c COREMASK [-m NB] [-r NUM] [-n NUM] + ./dpdk-helloworld -c COREMASK [-m NB] [-r NUM] [-n NUM] EAL option list: -c COREMASK: hexadecimal bitmask of cores we are running on @@ -75,7 +75,7 @@ Test Case: run hello world on single lcores To run example in single lcore :: - $ ./helloworld -c 1 + $ ./dpdk-helloworld -c 1 hello from core 0 Check the output is exact the lcore 0 @@ -86,7 +86,7 @@ Test Case: run hello world on every lcores To run the example in all the enabled lcore :: - $ ./helloworld -cffffff + $ ./dpdk-helloworld -cffffff hello from core 1 hello from core 2 hello from core 3 diff --git a/test_plans/hotplug_mp_test_plan.rst b/test_plans/hotplug_mp_test_plan.rst index c4f149d6..ed898a47 100644 --- a/test_plans/hotplug_mp_test_plan.rst +++ b/test_plans/hotplug_mp_test_plan.rst @@ -64,7 +64,7 @@ Test Case: Attach physical device from primary or secondary =========================================================== Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -92,7 +92,7 @@ Bind one port to igb_uio or vfio Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes have the device:: @@ -116,7 +116,7 @@ Test Case: Attach virtual device from primary or secondary ========================================================== Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -137,7 +137,7 @@ Test Case: Detach virtual device from primary or secondary ========================================================== Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -165,7 +165,7 @@ Test Case: Repeat to attach/detach physical device from primary or secondary ============================================================================ Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -206,7 +206,7 @@ Test Case: Repeat to attach/detach virtual device from primary or secondary =========================================================================== Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -242,7 +242,7 @@ Test Case: Repeat to attach/detach vhost-user from primary or secondary ======================================================================= Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: @@ -278,7 +278,7 @@ Test Case: Repeat to attach/detach virtio-user from primary or secondary ======================================================================== Start sample code as primary then secondary:: - ./hotplug_mp --proc-type=auto + ./dpdk-hotplug_mp --proc-type=auto Check primary and secondary processes don't have any device:: diff --git a/test_plans/hotplug_test_plan.rst b/test_plans/hotplug_test_plan.rst index c1316e21..656e0e9a 100644 --- a/test_plans/hotplug_test_plan.rst +++ b/test_plans/hotplug_test_plan.rst @@ -56,7 +56,7 @@ on the way, will test it after enabled. To run the testpmd application in linuxapp environment with 4 lcores, 4 channels with other default parameters in interactive mode:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i Test ENV: @@ -75,7 +75,7 @@ Test Case 1: port detach & attach for physical devices with igb_uio 1. Start testpmd:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i 2. Bind new physical port to igb_uio(assume BDF 0000:02:00.0):: @@ -127,7 +127,7 @@ Test Case 2: port detach and attach for physical devices with vfio 1. Start testpmd:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i 2. Bind new physical port to igb_uio(assume BDF 0000:02:00.0):: @@ -157,7 +157,7 @@ This case should be enabled after uio_pci_generic enabled for DPDK 1. Start testpmd:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i 2. Bind new physical port to igb_uio(assume BDF 0000:02:00.0):: @@ -215,7 +215,7 @@ Bind driver before testpmd started, port will start automatically 2. Start testpmd:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i 3. Check package forwarding when startup:: @@ -254,7 +254,7 @@ Test Case 5: port detach & attach for virtual devices 1. Start testpmd:: - $ ./testpmd -c 0xf -n 4 -- -i + $ ./dpdk-testpmd -c 0xf -n 4 -- -i 2. Attach virtual device as port 0:: @@ -302,7 +302,7 @@ Test Case 6: port detach & attach for virtual devices, with "--vdev" 1. Start testpmd, ""xxxx" is one workable ifname:: - $ ./testpmd -c 0xf -n 4 --vdev "eth_pcap0,iface=xxxx" -- -i + $ ./dpdk-testpmd -c 0xf -n 4 --vdev "eth_pcap0,iface=xxxx" -- -i 2. Check package forwarding after port start:: @@ -341,7 +341,7 @@ Test Case 7: port detach & attach for vhost-user/virtio-user with "--vdev" 1. Start testpmd with one vhost port:: - $ ./testpmd -c 0xf -n 4 --no-pci --vdev 'eth_vhost0,iface=vhost-net,queues=1' -- -i + $ ./dpdk-testpmd -c 0xf -n 4 --no-pci --vdev 'eth_vhost0,iface=vhost-net,queues=1' -- -i 2. Detach port 0 after port closed:: @@ -355,10 +355,10 @@ Test Case 7: port detach & attach for vhost-user/virtio-user with "--vdev" 4. Launch virtio-user and attach one virtio-user port:: - ./testpmd -n 4 -l 7-8 --socket-mem 1024,1024 --no-pci --file-prefix=virtio1 -- -i + ./dpdk-testpmd -n 4 -l 7-8 --socket-mem 1024,1024 --no-pci --file-prefix=virtio1 -- -i testpmd>port attach net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 testpmd>port start 0 5. Run "start" on vhost port and run "start tx_first 32" on virtio-user port. -6. Run "show port stats all", check port 0 can rx/tx packets on both side. \ No newline at end of file +6. Run "show port stats all", check port 0 can rx/tx packets on both side. diff --git a/test_plans/vf_macfilter_test_plan.rst b/test_plans/vf_macfilter_test_plan.rst index ae2250ae..c7522fc0 100644 --- a/test_plans/vf_macfilter_test_plan.rst +++ b/test_plans/vf_macfilter_test_plan.rst @@ -97,7 +97,7 @@ Test Case 1: test_kernel_2pf_2vf_1vm_iplink_macfilter disable promisc mode,set it in mac forward mode:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all testpmd> port config all crc-strip on @@ -175,7 +175,7 @@ Test Case 2: test_kernel_2pf_2vf_1vm_mac_add_filter VF, disable promisc mode, add a new MAC to VF0 and then start:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all testpmd> port config all crc-strip on @@ -228,7 +228,7 @@ Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter 3. Start testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i 4. Detach VFs from the host, bind them to pci-stub driver:: @@ -269,7 +269,7 @@ Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter VF, disable promisc mode, add a new MAC to VF0 and then start:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all testpmd> port config all crc-strip on @@ -323,7 +323,7 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter 3. Start testpmd:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x6 -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i testpmd>set vf mac addr 0 0 00:11:22:33:44:55 4. Detach VFs from the host, bind them to pci-stub driver:: @@ -365,7 +365,7 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter disable promisc mode, set it in mac forward mode:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all testpmd> port config all crc-strip on diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst index 7ca93197..7322ed2f 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -50,7 +50,7 @@ Assuming that ports ``0`` and ``1`` are connected to a traffic generator, enable hardware rx checksum offload with "--enable-rx-cksum", launch the ``testpmd`` with the following arguments:: - ./build/app/testpmd -cffffff -n 1 -- -i --burst=1 --txpt`=32 \ + ./build/app/dpdk-testpmd -cffffff -n 1 -- -i --burst=1 --txpt`=32 \ --txht=8 --txwt=0 --txfreet=0 --rxfreet=64 --mbcache=250 --portmask=0x5 --enable-rx-cksum diff --git a/test_plans/vf_packet_rxtx_test_plan.rst b/test_plans/vf_packet_rxtx_test_plan.rst index 6c34f0be..a3ff86cb 100644 --- a/test_plans/vf_packet_rxtx_test_plan.rst +++ b/test_plans/vf_packet_rxtx_test_plan.rst @@ -96,7 +96,7 @@ Test Case 1: VF_packet_IO_kernel_PF_dpdk_VF and then start testpmd, set it in mac forward mode:: ./usertools/dpdk-devbind.py -s --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 \ -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd mac @@ -152,7 +152,7 @@ Test Case 2: VF_packet_IO_dpdk_PF_dpdk_VF it can be seen that VFs 81:02.0 & 81:0a.0 's drv is pci-stub. 4. Start testpmd on host:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3e -n 4 -b 0000:81:02.0 -b 0000:81:0a.0 -- -i 5. Passthrough VFs 81:02.0 & 81:0a.0 to vm0, and start vm0:: @@ -165,7 +165,7 @@ Test Case 2: VF_packet_IO_dpdk_PF_dpdk_VF and then start testpmd, set it in mac forward mode:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 \ + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -a 00:06.0 -a 00:07.0 \ -- -i testpmd> set fwd mac @@ -214,7 +214,7 @@ this case pf in dpdk it can be seen that VFs 81:02.0 & 81:02.1 & 81:02.2 's drv is pci-stub. 4. Start testpmd on host:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x600000000006 -n 4 -b 0000:81:02.0 -b 0000:81:02.1 -b 0000:81:02.2 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x600000000006 -n 4 -b 0000:81:02.0 -b 0000:81:02.1 -b 0000:81:02.2 -- -i 5. Passthrough VFs 81:02.0 & 81:02.1 to vm0, and start vm0:: @@ -231,12 +231,12 @@ this case pf in dpdk 7. Login vm0 and vm1, got VFs pci device id in vm0 and vm1, assume they are 00:04.0 & 00:05.0 on vm0,00:04.0 on vm1, bind them to igb_uio driver,for vm0:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:04.0 00:05.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 1 -- -i testpmd> set fwd mac testpmd> start 8. On vm 1:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 1 -- -i 9. On vm0:: @@ -307,7 +307,7 @@ this case pf in kernel 6. Login vm0 and vm1, got VFs pci device id in vm0 and vm1, assume they are 00:04.0 & 00:05.0 on vm0,00:04.0 on vm1, bind them to igb_uio driver,for vm0:: ./usertools/dpdk-devbind.py --bind=igb_uio 00:04.0 00:05.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 1 -- -i testpmd> set fwd mac testpmd> start 7. On vm 1:: diff --git a/test_plans/vf_port_start_stop_test_plan.rst b/test_plans/vf_port_start_stop_test_plan.rst index 541cd2b6..4735677a 100644 --- a/test_plans/vf_port_start_stop_test_plan.rst +++ b/test_plans/vf_port_start_stop_test_plan.rst @@ -133,7 +133,7 @@ Create Two VF interfaces from two kernel PF interfaces, and then attach them to mac forward mode:: ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0 00:07.0 - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x0f -n 4 -- -i testpmd-> set fwd mac testpmd-> start diff --git a/test_plans/vf_rss_test_plan.rst b/test_plans/vf_rss_test_plan.rst index 0e48f461..9e575546 100644 --- a/test_plans/vf_rss_test_plan.rst +++ b/test_plans/vf_rss_test_plan.rst @@ -81,7 +81,7 @@ Testpmd configuration - 4 RX/TX queues per port :: - testpmd -c 1f -n 3 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff + dpdk-testpmd -c 1f -n 3 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff Testpmd Configuration Options ----------------------------- diff --git a/test_plans/vf_to_vf_nic_bridge_test_plan.rst b/test_plans/vf_to_vf_nic_bridge_test_plan.rst index 1d4a7cae..7f2df59f 100644 --- a/test_plans/vf_to_vf_nic_bridge_test_plan.rst +++ b/test_plans/vf_to_vf_nic_bridge_test_plan.rst @@ -98,7 +98,7 @@ dpdk testpmd to vf in vm0, and verify the vf on vm0 can receive stream. Step 1: run testpmd on vm0:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -n 1 -- -i --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -n 1 -- -i --tx-offloads=0x8fff Step 2: set rxonly and start on vm0:: @@ -107,7 +107,7 @@ Step 2: set rxonly and start on vm0:: Step 3: run testpmd on vm1:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -n 1 -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -n 1 -- -i Step 4: Set forward, specifying that the opposing MAC sends 100 packets on vm1:: @@ -149,7 +149,7 @@ Test Case3: test_2vf_k2d_scapy_stream Step 1: run testpmd on vm0:: - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -n 1 -- -i --tx-offloads=0x8fff + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -n 1 -- -i --tx-offloads=0x8fff Step 2: set rxonly and start on vm0:: diff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst index 47b42492..eacaa4b0 100644 --- a/test_plans/vf_vlan_test_plan.rst +++ b/test_plans/vf_vlan_test_plan.rst @@ -87,7 +87,7 @@ Prerequisites 5. Start testpmd, set it in rxonly mode and enable verbose output:: - testpmd -c 0x0f -n 4 -a 00:04.0 -a 00:05.0 -- -i --portmask=0x3 --tx-offloads=0x8fff + dpdk-testpmd -c 0x0f -n 4 -a 00:04.0 -a 00:05.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -148,7 +148,7 @@ Test Case 3: VF tagged vlan tx 1. Start testpmd with full-featured tx code path and with mac forward mode:: - testpmd -c f -n 3 -- -i --tx-offloads=0x8fff + dpdk-testpmd -c f -n 3 -- -i --tx-offloads=0x8fff testpmd> set fwd mac testpmd> start diff --git a/test_plans/vlan_ethertype_config_test_plan.rst b/test_plans/vlan_ethertype_config_test_plan.rst index 2462cf11..e620e6c7 100644 --- a/test_plans/vlan_ethertype_config_test_plan.rst +++ b/test_plans/vlan_ethertype_config_test_plan.rst @@ -60,7 +60,7 @@ Test Case 1: change VLAN TPID 1. Start testpmd, start in rxonly mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -76,7 +76,7 @@ Test Case 2: test VLAN filtering on/off 1. Start testpmd, setup vlan filter on, start in mac forwarding mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd mac testpmd> vlan set filter on 0 testpmd> start @@ -96,7 +96,7 @@ Test Case 3: test adding VLAN Tag Identifier with changing VLAN TPID 1. start testpmd, setup vlan filter on, start in mac forwarding mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd mac testpmd> vlan set filter on 0 testpmd> vlan set strip off 0 @@ -128,7 +128,7 @@ Test Case 4: test VLAN header stripping with changing VLAN TPID 1. start testpmd, setup vlan filter off, vlan strip on, start in mac forwarding mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd mac testpmd> vlan set filter off 0 testpmd> vlan set strip on 0 @@ -157,7 +157,7 @@ Test Case 5: test VLAN header inserting with changing VLAN TPID 1. start testpmd, enable vlan packet forwarding, start in mac forwarding mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> set fwd mac testpmd> vlan set filter off 0 testpmd> vlan set strip off 0 @@ -192,7 +192,7 @@ Test Case 6: Change S-Tag and C-Tag within QinQ 1. Start testpmd, enable QinQ, start in rxonly mode:: - ./testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff + ./dpdk-testpmd -c 0xff -n 4 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> vlan set qinq on 0 testpmd> set fwd rxonly testpmd> set verbose 1 diff --git a/test_plans/vlan_test_plan.rst b/test_plans/vlan_test_plan.rst index a5058f84..48440db4 100644 --- a/test_plans/vlan_test_plan.rst +++ b/test_plans/vlan_test_plan.rst @@ -68,7 +68,7 @@ Prerequisites Assuming that ports ``0`` and ``1`` are connected to a traffic generator's port ``A`` and ``B``. Launch the ``testpmd`` with the following arguments:: - ./build/app/testpmd -cffffff -n 3 -- -i --burst=1 --txpt=32 \ + ./build/app/dpdk-testpmd -cffffff -n 3 -- -i --burst=1 --txpt=32 \ --txht=8 --txwt=0 --txfreet=0 --rxfreet=64 --mbcache=250 --portmask=0x3 The -n command is used to select the number of memory channels. It should match the number of memory channels on that setup. diff --git a/test_plans/vm_hotplug_test_plan.rst b/test_plans/vm_hotplug_test_plan.rst index 49072fe4..d8069bbb 100644 --- a/test_plans/vm_hotplug_test_plan.rst +++ b/test_plans/vm_hotplug_test_plan.rst @@ -105,7 +105,7 @@ Log in VM, bind passthrough port 0 to vfio-pci:: Start testpmd with "--hot-plug" enable, set rxonly forward mode and enable verbose output:: -  ./testpmd -c f -n 4 -- -i --hot-plug +  ./dpdk-testpmd -c f -n 4 -- -i --hot-plug testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -163,7 +163,7 @@ Bind passthrough port 0 to vfio-pci:: Start testpmd with "--hot-plug" enable, set rxonly forward mode and enable verbose output:: -  ./testpmd -c f -n 4 -- -i --hot-plug +  ./dpdk-testpmd -c f -n 4 -- -i --hot-plug testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -232,7 +232,7 @@ Log in VM, bind passthrough port 0 and port 1 to vfio-pci:: Start testpmd with "--hot-plug" enable, set rxonly forward mode and enable verbose output:: -  ./testpmd -c f -n 4 -- -i --hot-plug +  ./dpdk-testpmd -c f -n 4 -- -i --hot-plug testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -293,7 +293,7 @@ Log in VM, bind passthrough port 0 and port 1 to vfio-pci:: Start testpmd with "--hot-plug" enable, set rxonly forward mode and enable verbose output:: -  ./testpmd -c f -n 4 -- -i --hot-plug +  ./dpdk-testpmd -c f -n 4 -- -i --hot-plug testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -315,7 +315,7 @@ Quit testpmd Check devices are removed, no system hange and core dump:: - ./usertools/dpdk-devbind.py -s + ./usertools/dpdik-devbind.py -s Add devices from qemu interface:: diff --git a/test_plans/vm_power_manager_test_plan.rst b/test_plans/vm_power_manager_test_plan.rst index 7cac509c..f297e818 100644 --- a/test_plans/vm_power_manager_test_plan.rst +++ b/test_plans/vm_power_manager_test_plan.rst @@ -123,11 +123,11 @@ Test Case 1: VM Power Management Channel 3. Run power-manager in Host:: - ./build/vm_power_mgr -c 0x3 -n 4 + x86_64-native-linuxapp-gcc/examples/dpdk-guest_cli -c 0x3 -n 4 4. Startup VM and run guest_vm_power_mgr:: - guest_vm_power_mgr -c 0x1f -n 4 -- -i + x86_64-native-linuxapp-gcc/examples/dpdk-guest_cli -c 0x1f -n 4 -- -i 5. Add vm in host and check vm_power_mgr can get frequency normally:: @@ -155,7 +155,7 @@ Test Case 1: VM Power Management Channel 7. Run vm_power_mgr in vm:: - guest_cli/build/vm_power_mgr -c 0x1f -n 4 + x86_64-native-linuxapp-gcc/examples/dpdk-guest_cli -c 0x1f -n 4 Check monitor channel for all cores has been connected. @@ -239,7 +239,7 @@ Test Case 7: VM Power Management Multi VMs 2. Setup VM power management environment for VM2 3. Run power-manager in Host:: - ./build/vm_power_mgr -c 0x3 -n 4 + x86_64-native-linuxapp-gcc/examples/dpdk-guest_cli -c 0x3 -n 4 4. Startup VM1 and VM2 5. Add VM1 in host and check vm_power_mgr can get frequency normally:: diff --git a/test_plans/vxlan_gpe_support_in_i40e_test_plan.rst b/test_plans/vxlan_gpe_support_in_i40e_test_plan.rst index e2f809b9..9b796195 100644 --- a/test_plans/vxlan_gpe_support_in_i40e_test_plan.rst +++ b/test_plans/vxlan_gpe_support_in_i40e_test_plan.rst @@ -53,7 +53,7 @@ Test Case 1: VXLAN-GPE ipv4 packet detect ========================================= 1. Start testpmd:: - # testpmd -c 0xf -n 4 -- -i + # dpdk-testpmd -c 0xf -n 4 -- -i 2. Add VXLAN-GPE packet type support in test pmd and enable verbose log:: diff --git a/test_plans/vxlan_test_plan.rst b/test_plans/vxlan_test_plan.rst index 1db5b488..f7bdeca3 100644 --- a/test_plans/vxlan_test_plan.rst +++ b/test_plans/vxlan_test_plan.rst @@ -60,7 +60,7 @@ Test Case: Vxlan ipv4 packet detect =================================== Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -91,7 +91,7 @@ Test Case: Vxlan ipv6 packet detect =================================== Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -122,7 +122,7 @@ Test Case: Vxlan ipv4 checksum offload ====================================== Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set csum packet forwarding mode and enable verbose log:: @@ -218,7 +218,7 @@ Test Case: Vxlan ipv6 checksum offload ====================================== Start testpmd with tunneling packet type:: - testpmd -c ffff -n 4 -- -i --tunnel-type=1 --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --tunnel-type=1 --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set csum packet forwarding mode and enable verbose log:: @@ -288,7 +288,7 @@ Test Case: Tunnel Filter Start testpmd with tunneling packet type to vxlan and disable receive side scale for hardware limitation:: - testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -327,7 +327,7 @@ Test Case: Tunnel Filter invalid Start testpmd with tunneling packet type to vxlan and disable receive side scale for hardware limitation:: - testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + dpdk-testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Add Cloud filter with invalid Mac address "00:00:00:00:01" will be failed. -- 2.33.1