<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - meson_tests/driver:link_bonding_rssconf_autotest test failed"
href="https://bugs.dpdk.org/show_bug.cgi?id=1308">1308</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>meson_tests/driver:link_bonding_rssconf_autotest test failed
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>23.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>meson
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>songx.jiale@intel.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">[Environment]
DPDK version:
dpdk-23.11-rc2: 2bbad8f974e00552d106c27e1d157a31179ab5ec
Other software versions: name/version for QEMU, OVS, etc. Repeat as required.
OS: Ubuntu 22.04.3 LTS/5.15.0-82-generic
Compiler: gcc version 11.4.0
Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
NIC hardware:
Intel Corporation Ethernet Controller E810-C for SFP [8086:1593] (rev 02)
NIC firmware:
driver: ice-1.13.0_rc99_4_gb8ad35697
firmware-version: 4.40 0x8001c2f8 1.3492.0
[Test Setup]
1. compile dpdk
CC=gcc meson -Denable_kmods=False -Dlibdir=lib --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 72
2. blind port to vfio-pci
./usertools/dpdk-devbind.py -b vfio-pci 0000:05:00.0 0000:08:00.0
3. launch dpdk-test
/root/dpdk/x86_64-native-linuxapp-gcc/app/dpdk-test -c 0xff --vdev=dma_skeleton
-a 0000:05:00.0 -a 0000:08:00.0
4. start test
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=1 already stopped
Device with port_id=2 already stopped
Device with port_id=3 already stopped
Device with port_id=4 already stopped
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 1: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 2: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 3: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 4: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 1: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 2: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 3: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 4: Operation not supported
Ethdev port_id=1 invalid RSS key len: 40, valid value: 0
EAL: Test assert test_propagate line 383 failed: Cannot set members RSS keys
EAL: Test assert test_rss line 467 failed: Propagation test failed
Port 1 must be stopped to allow reset
Port 2 must be stopped to allow reset
Port 3 must be stopped to allow reset
Port 4 must be stopped to allow reset
+ TestCase [ 1] : test_rss failed
[Expected Result]
+ ------------------------------------------------------- +
+ Test Suite : RSS Dynamic Configuration for Bonding Unit Test Suite
+ ------------------------------------------------------- +
+ TestCase [ 0] : test_setup succeeded
Device with port_id=1 already stopped
Device with port_id=2 already stopped
Device with port_id=3 already stopped
Device with port_id=4 already stopped
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 1: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 2: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 3: Operation not supported
bond_ethdev_promiscuous_disable(2751) - Failed to disable promiscuous mode for
port 4: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 1: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 2: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 3: Operation not supported
bond_ethdev_allmulticast_disable(2897) - Failed to disable allmulti mode for
port 4: Operation not supported
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
bond_ethdev_rss_hash_update(3208) - rss_key will be truncated
[Regression]
Is this issue a regression: (Y/N)Y
commit bae3cfa520a7205d63752c506d51e832d4944180
Author: Jie Hai <<a href="mailto:haijie1@huawei.com">haijie1@huawei.com</a>>
Date: Thu Nov 2 16:20:12 2023 +0800
ethdev: clarify RSS related fields usage
In rte_eth_dev_rss_hash_conf_get(), the "rss_key_len" should be
greater than or equal to the "hash_key_size" which get from
rte_eth_dev_info_get() API. And the "rss_key" should contain at
least "hash_key_size" bytes. If these requirements are not met,
the query unreliable.
In rte_eth_dev_rss_hash_update() or rte_eth_dev_configure(), the
"rss_key_len" indicates the length of the "rss_key" in bytes of
the array pointed by "rss_key", it should be equal to the
"hash_key_size" if "rss_key" is not NULL.
This patch overwrites the comments of fields of "rte_eth_rss_conf"
and "RTE_ETH_HASH_FUNCTION_DEFAULT", checks "rss_key_len" in
ethdev level, and documents these changes.
Signed-off-by: Jie Hai <<a href="mailto:haijie1@huawei.com">haijie1@huawei.com</a>>
Acked-by: Huisong Li <<a href="mailto:lihuisong@huawei.com">lihuisong@huawei.com</a>>
Acked-by: Chengwen Feng <<a href="mailto:fengchengwen@huawei.com">fengchengwen@huawei.com</a>>
Reviewed-by: Ferruh Yigit <<a href="mailto:ferruh.yigit@amd.com">ferruh.yigit@amd.com</a>>
doc/guides/rel_notes/release_23_11.rst | 5 +++++
lib/ethdev/rte_ethdev.c | 31 +++++++++++++++++++++++++++++++
lib/ethdev/rte_ethdev.h | 33 ++++++++++++++++++---------------
lib/ethdev/rte_flow.h | 1 +
4 files changed, 55 insertions, 15 deletions
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1308">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>