DPDK patches and discussions
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-1013-3@http.bugs.dpdk.org/> (raw)

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.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 
--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 <lihuisong@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: stable@dpdk.org

    Signed-off-by: Huisong Li <lihuisong@huawei.com>
    Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
    Reviewed-by: Ferruh Yigit <ferruh.yigit@xilinx.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2022-05-19  2:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19  2:11 bugzilla [this message]
2022-06-24  6:59 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1013-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).