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 DAE3EA0503; Thu, 19 May 2022 04:11:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF3D940140; Thu, 19 May 2022 04:11:18 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 5D995400D6 for ; Thu, 19 May 2022 04:11:17 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 4E286A0505; Thu, 19 May 2022 04:11:17 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1013] [dpdk-22.07] unit_tests_eal/link_bonding_rssconf: link_bonding_rssconf_autotest test failed Date: Thu, 19 May 2022 02:11:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: songx.jiale@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D1013 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.jiale@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=20 --file-prefix=3Ddpdk_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=3D4 already stopped Device with port_id=3D5 already stopped Device with port_id=3D6 already stopped Device with port_id=3D7 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=3D8 already stopped + ------------------------------------------------------- + + Test Suite Summary : RSS Dynamic Configuration for Bonding Unit Test Sui= te + ------------------------------------------------------- + + Tests Total : 3 + Tests Skipped : 0 + Tests Executed : 3 + Tests Unsupported: 0 + Tests Passed : 2 + Tests Failed : 1 + ------------------------------------------------------- + Test Failed=20 Expected Result + ------------------------------------------------------- + + Test Suite : RSS Dynamic Configuration for Bonding Unit Test Suite + ------------------------------------------------------- + + TestCase [ 0] : test_setup succeeded Device with port_id=3D4 already stopped Device with port_id=3D5 already stopped Device with port_id=3D6 already stopped Device with port_id=3D7 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=3D8 already stopped + ------------------------------------------------------- + + Test Suite Summary : RSS Dynamic Configuration for Bonding Unit Test Sui= te + ------------------------------------------------------- + + 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 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: stable@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) Reviewed-by: Ferruh Yigit --=20 You are receiving this mail because: You are the assignee for the bug.=