https://bugs.dpdk.org/show_bug.cgi?id=1013
Bug ID: 1013 Summary: [dpdk-22.07] unit_tests_eal/link_bonding_rssconf: link_bonding_rssconf_autotest test failed Product: DPDK Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: songx.ji...@intel.com Target Milestone: --- Environment OS: Red Hat Enterprise Linux 8.4 (Ootpa)/4.18.0-305.19.1.el8_4.x86_64 Compiler: gcc version 8.4.1 20200928 Hardware platform: Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz NIC hardware: Ethernet Controller E810-C for SFP 1593 NIC firmware: if applicable driver: vfio-pci kdriver: ice-1.8.3 firmware: 3.22 0x8000d83c 1.3146.0 Test Setup 1. blind ports to dpdk ./usertools/dpdk-devbind.py -b vfio-pci 18:00.0 18:00.1 18:00.2 18:00.3 2.launch testpmd x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1-4 -n 4 -a 0000:18:00.0 -a 0000:18:00.1 -a 0000:18:00.2 -a 0000:18:00.3 --file-prefix=dpdk_31868_20220518152506 3.start autotest RTE>>link_bonding_rssconf_autotest Show the output from the previous commands. + ------------------------------------------------------- + + Test Suite : RSS Dynamic Configuration for Bonding Unit Test Suite + ------------------------------------------------------- + + TestCase [ 0] : test_setup succeeded Device with port_id=4 already stopped Device with port_id=5 already stopped Device with port_id=6 already stopped Device with port_id=7 already stopped bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 4: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 5: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 6: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 7: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 4: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 5: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 6: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 7: Operation not supported bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated Port 4 must be stopped to allow reset Port 4 must be stopped to allow reset Port 5 must be stopped to allow reset Port 6 must be stopped to allow reset Port 7 must be stopped to allow reset + TestCase [ 1] : test_rss succeeded bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 4: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 5: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 6: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 7: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 4: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 5: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 6: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 7: Operation not supported Multi-queue RSS mode isn't enabled. EAL: Test assert test_propagate line 354 failed: Cannot set slaves hash function EAL: Test assert test_rss_lazy line 500 failed: Propagation test failed Port 4 must be stopped to allow reset Port 5 must be stopped to allow reset Port 6 must be stopped to allow reset Port 7 must be stopped to allow reset + TestCase [ 2] : test_rss_lazy failed Device with port_id=8 already stopped + ------------------------------------------------------- + + Test Suite Summary : RSS Dynamic Configuration for Bonding Unit Test Suite + ------------------------------------------------------- + + Tests Total : 3 + Tests Skipped : 0 + Tests Executed : 3 + Tests Unsupported: 0 + Tests Passed : 2 + Tests Failed : 1 + ------------------------------------------------------- + Test Failed Expected Result + ------------------------------------------------------- + + Test Suite : RSS Dynamic Configuration for Bonding Unit Test Suite + ------------------------------------------------------- + + TestCase [ 0] : test_setup succeeded Device with port_id=4 already stopped Device with port_id=5 already stopped Device with port_id=6 already stopped Device with port_id=7 already stopped bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 4: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 5: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 6: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 7: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 4: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 5: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 6: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 7: Operation not supported bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated Port 4 must be stopped to allow reset Port 4 must be stopped to allow reset Port 5 must be stopped to allow reset Port 6 must be stopped to allow reset Port 7 must be stopped to allow reset + TestCase [ 1] : test_rss succeeded bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 4: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 5: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 6: Operation not supported bond_ethdev_promiscuous_disable(2684) - Failed to disable promiscuous mode for port 7: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 4: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 5: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 6: Operation not supported bond_ethdev_allmulticast_disable(2830) - Failed to disable allmulti mode for port 7: Operation not supported bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated bond_ethdev_rss_hash_update(3139) - rss_key will be truncated Port 4 must be stopped to allow reset Port 4 must be stopped to allow reset Port 5 must be stopped to allow reset Port 6 must be stopped to allow reset Port 7 must be stopped to allow reset + TestCase [ 2] : test_rss_lazy succeeded Device with port_id=8 already stopped + ------------------------------------------------------- + + Test Suite Summary : RSS Dynamic Configuration for Bonding Unit Test Suite + ------------------------------------------------------- + + Tests Total : 3 + Tests Skipped : 0 + Tests Executed : 3 + Tests Unsupported: 0 + Tests Passed : 3 + Tests Failed : 0 + ------------------------------------------------------- + Test OK Regression Is this issue a regression: (Y/N)Y Version the regression was introduced: Specify git id if known. commit 93e1ea6dfa99dea359b8d66123576a395c2c0acd (HEAD, refs/bisect/bad) Author: Huisong Li <lihuis...@huawei.com> Date: Wed Apr 6 14:57:00 2022 +0800 ethdev: fix RSS update when RSS is disabled The RTE_ETH_MQ_RX_RSS_FLAG flag is a switch to enable RSS. If the flag is not set in dev_configure, RSS will be not configured and enabled. However, RSS hash and reta can still be configured by ethdev ops to enable RSS if the flag isn't set. The behavior is inconsistent. Fixes: 99a2dd955fba ("lib: remove librte_ prefix from directory names") Cc: sta...@dpdk.org Signed-off-by: Huisong Li <lihuis...@huawei.com> Signed-off-by: Min Hu (Connor) <humi...@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yi...@xilinx.com> -- You are receiving this mail because: You are the assignee for the bug.