summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-15framework/tester: fix random packet check failure for unexpected packetsLijuan Tu
Random packet check maybe failed for misc packets received. When the received-packet not in the sent-packets, will continue to check next packet for workaround this kind of issue. Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-05-15test_plans vf&pf reset : fix a typo issueRami Rosen
This patch fixes a typo in vf_pf_reset_test_plan.rst. Signed-off-by: Rami Rosen <rami.rosen@intel.com>
2017-05-15test_plans userspace_ethtool: fix trivial typosRami Rosen
This patch fixes two trivial typos in userspace_ethtool_test_plan.rst. Signed-off-by: Rami Rosen <rami.rosen@intel.com>
2017-05-12tests pmd: send html report for single core performance caseYulong Pei
Send out html format report for single core performance case. Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2017-05-12nics: support html report for performance resultYulong Pei
Support html format report for NIC performance and support to send it out by email. Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2017-05-12tests checksum_offload: remove crc-strip parameterxu,huilong
testpmd removed "crc-strip" parameter for it is enabled by default. If needed to disable crc-strip, must use new parameter "disable-crc-strip". Signed-off-by: xu,huilong <huilongx.xu@intel.com>
2017-05-12tests: fix timeout when start dpdk applicationsxu,huilong
dpdk app output log update in dpdk17.05, so must change corroborate text in ipfrag/ip_ressembly/kni/quota_watermak. Signed-off-by: xu,huilong <huilongx.xu@intel.com>
2017-05-12tests unit_test_pmd_perf: fix test app compile errorxu,huilong
Adapt to 17.05 source code tree. Signed-off-by: xu,huilong <huilongx.xu@intel.com>
2017-05-12tests tso: add fortville 25G NIC supportxu,huilong
Support fortville 25G NIC in tso test suite. Signed-off-by: xu,huilong <huilongx.xu@intel.com>
2017-05-12tests nvgre&vxlan: add LLDP filter in sniff functionxu,huilong
Fortville nic will transmit LLDP packets when using dpdk driver. So add LLDP filter in nvgre and vxlan suites. Signed-off-by: xu,huilong <huilongx.xu@intel.com>
2017-05-04test suite: add tx preparation test suiteLin, Xueqin
2017-05-02framework pmd_output: remove crc-strip parameter due to default setting changedXueqin Lin
i40e VF HW crc-strip default enabled after commit 60da774e.
2017-04-27test_plans: add test plan for MACSecPeng Yuan
Signed-off-by: Peng Yuan <yuan.peng@intel.com>
2017-04-21tests vf_daemon: add vlan filter test caseXueqin Lin
2017-04-21tests ddp_mpls: fix typosRami Rosen
This patch fixes trivial typos in DDP and MPLS test suite. Signed-off-by: Rami Rosen <rami.rosen@intel.com>
2017-04-20tests: add DDP and MPLS test suiteXueqin Lin
2017-04-20tests vf_jumboframe: adapt cases to support i350Lijuan Tu
1. Adapt cases to support i350 2. VF device enable crc-strip as default 3. Port should bind to default driver before generating VF device 4. Cleanup vm resouces after case or suite end Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-04-20tests: add crc generation and computation suitePeng Yuan
Signed-off-by: Peng Yuan <yuan.peng@intel.com>
2017-04-20test_plans: add DDP and MPLS test planXueqin Lin
2017-04-20test_plans vf_daemon: add vlan filter test caseXueqin Lin
2017-04-20test_plans: add crc generation and computationPeng Yuan
Signed-off-by: Peng Yuan <yuan.peng@intel.com>
2017-04-20tests: pmdpcap - modifying the right config file + importing utils after scapyAngela Czubak
This test used to modify config/common_linuxapp or config/common_bsdapp to compile DPDK with PCAP, however, this config may lie as well in config/common_base. If the PCAP variable is not found in OS specific files, then it is assumed that config/common_base should be modified. Scapy may contain utils itself, therefore importing dts utils is moved after importing from scapy (so as to override utils). Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: link_status_interrupt - skipping tests verifying adding MAC addresses ↵Angela Czubak
for Cavium NICs Following tests are skipped for Cavium NICs, since this functionality is not implemented: - test_add_remove_mac_address - test_invalid_addresses Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: link_status_interrupt - skipping ↵Angela Czubak
test_link_status_interrupt_port_available for Cavium NICs The test is skipped right now as link_status_interrupt assumes CPU frequency which makes the test fail (for Cavium NICs and thunderx platform) Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: l2fwd - fixes to run on two cards (same NIC) and expecting "L2FWD: ↵Angela Czubak
entering main loop" instead of "memory mapped" Previously integrity test assumed that there should be "memory mapped" in the output of l2fwd after start up, even though it does not appear. Test can also be run when 2 same NICs are used now. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: jumboframes - skipping jumboframes tests testing bigger than allowed ↵Angela Czubak
frames for Cavium NICs When configuring a Cavium device the max_rx_pkt_len parameter is ignored (and the device uses its maximum MTU). Therefore, test cases which assume that bigger than allowed frames should be dropped fail. Modified conf/dpdk_test_case_checklist.xls to skip jumboframes_jumbo_nojumbo and jumboframes_bigger_jumbo tests. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: ieee1588 - skipping ieee1588_enable test for Cavium NICsAngela Czubak
Cavium NICs do not filter PTP packets, so ieee1588 enable test case is not applicable, modified conf/dpdk_test_case_checklist.xls Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: fdir - skipping fdir tests for Cavium NICsAngela Czubak
Cavium NICs do not support dlow director, therefore they are added to following tests in conf/dpdk_test_case_checklist.xls: -fdir_flexword_drop_ipv4 -fdir_flexword_drop_ipv6 -fdir_flexword_fwd_ipv4 -fdir_flexword_fwd_ipv6 -fdir_noflexword_drop_ipv4 -fdir_noflexword_drop_ipv6 -fdir_noflexword_fwd_ipv4 -fdir_noflexword_fwd_ipv6 Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: dynamic_config - taking into account cavium NICsAngela Czubak
Testpmd must be run with hardware VLAN filter disabled as thunder driver does not support this feature. Since disabling promiscuous and allmulticast is not supported for thunder driver following test cases are set to be skipped: dynamic_config_broadcast, dynamic_config_disable_promiscuous, dynamic_config_allmulticast Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: checksum_offload - fixesAngela Czubak
Sniffing packets with scapy seems to fail, switched to tcpdump. Taken into account capabilities of Cavium nics, created framework/test_capabilities.py to contain information useful when skipping not applicable parts of tests. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: Modified tests to take cavium nics into accountAngela Czubak
Testpmd should be run with hardware vlan filter disabled for cavium nics as the driver does not offer this kind of capability and the application stops at the beginning, so if cavium nic is used the --disable-hw-vlan-filter flag is added. Shutdown api test is also modified so as to skip disabling jumbo frames mixed with vlan if hardware-assisted VLAN filtering not configured (rte_eth_dev_set_vlan_offload return -ENOTSUP + there is "failed diag" in the tespmd output). Tests to be skipped for cavium nics are added to conf/dpdk_test_case_checklist.xls Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20tests: ipv4_reassembly - added splitting result in tcpdump_commandAngela Czubak
Result from tcpdump_command may contain something more than only number, added splitting and taking first element of this operation so that casting to int proceeds Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20framework: checking link with IPv4 pingAngela Czubak
Some kernels may not use IPv6 and hence there is no point using ping6. If lack of link by IPv6 is detected then IPv4 pings are sent (previously ports where skipped if they had no IPv6 connectivity). DPDK binding script uses "--force" argument, since interfaces are detected as active. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20framework crb: Appending only 10G devices for caviumAngela Czubak
When collecting pci devices info in pci_devices_information_uncached_linux devices are checked if they are from cavium and if so linkspeed is detected to append only 10Gb interfaces Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20framework dut and project_dpdk: binding smaller number of hugepages for arm64Angela Czubak
Changed default number of set hugepages from 1024 to 8 if architecture is arm64 and huge pages size is 524288 kB. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20framework dut and project_dpdk: using correct available binding scriptsAngela Czubak
Below patch makes scripts look for correct DPDK binding script, checking whether 'usertools' or 'tools' directory is present and which script exist in 'tools' directory ('dpdk-devbind.py' or 'dpdk_nic_bind.py'). Looking for correct pathc is done in get_dpdk_bind_script method. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20framework settings: Adding cavium PCI IDs and driversAngela Czubak
Below patch adds preliminary settings to support Cavium NICs. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-04-20test_plans: add vf&pf reset test planPeng Yuan
Signed-off-by: Peng Yuan <yuan.peng@intel.com>
2017-03-29nics/net_device: fix list remove bugLijuan Tu
Remove all the match network device object by copy list first. Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-03-29framework testpmd: add crc-strip param for fortville VFxu,gang
Signed-off-by: xu,gang <gangx.xu@intel.com>
2017-03-27tests vlan_ethertype_config: update for single vlan concept changeLijuan Tu
Previously, a single VLAN header is treated as inner VLAN, but generally, a single VLAN header is treated as the outer VLAN header. Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-03-27test_plans vlan_ethertype_config: update test planLijuan Tu
Previously, a single VLAN header is treated as inner VLAN, but generally, a single VLAN header is treated as the outer VLAN header. i40e refer to dpdk commit: 5b2d37858d32ec6aba78f15dc065f286108d6b4e ixgbe refer to dpdk commit: 2b84092427b1800cba7d3204b95703b1718fcd28 Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-03-23add crypto performance test plan and suitegangyanx
- add QAT pmd performance auto test - add AESNI_MB pmd performance auto test - add AESNI_GCM pmd performance auto test - add KASUMI pmd performance auto test - add SNOW3G pmd performance auto test - add ZUC pmd performance auto test - add openssl pmd performance auto test - add crypto performance test plan - update license date
2017-03-23tests l2fwd_crypto: enhance with new algorithm supportChen, Zhaoyan
- Fix pep8 issues - Add DOCSIS support - Add AES GCM support - Refine the test vectors
2017-03-23tests l2fwd_crypto: optimize l2fwd crypto caseChen, Zhaoyan
1. Change the packet generator from "scapy" to packet module 2. Ehanhce the cipher/hash output generator with cryptography module, instead of openssl 3. Update comments and clean up code
2017-03-20add fortville 25G support supported by the framework.Lu,peipei
Signed-off-by: Lu,peipei <peipeix.lu@intel.com>
2017-03-09tests: add VF daemon test suiteXueqin Lin
2017-03-09tests: add cryptodev unit test suiteChen, Zhaoyan
v4: - Move the killall process to tear_down, managed by dts framework - Change the "print" to logger method v3: - Fix PEP8 issues v2: - Update copyright dates - Update coryright icon
2017-03-08framework project_dpdk: enhance test App building and installationChen, Zhaoyan
- Refactor Test App building and installation to a new function - Add Test App building and installation in retry step (which build dpdk without -j option), so that fix sometime retry building successfully, but test app miss
2017-03-06framework project_dpdk: define build_time on FreeBSDxu,huilong
Signed-off-by: xu,huilong <huilongx.xu@intel.com>