From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/testpmd Bug 1815] [dpdk-25.11] cpfl_vf_representor_rte_flow/port_representor_probe_scan: port attach failed
Date: Wed, 29 Oct 2025 06:55:27 +0000 [thread overview]
Message-ID: <bug-1815-3@http.bugs.dpdk.org/> (raw)
http://bugs.dpdk.org/show_bug.cgi?id=1815
Bug ID: 1815
Summary: [dpdk-25.11]
cpfl_vf_representor_rte_flow/port_representor_probe_sc
an: port attach failed
Product: DPDK
Version: 25.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: songx.jiale@intel.com
Target Milestone: ---
Environment
===========
dpdk-25.11.0-rc1: 39b54f2dcf44ad1f91eabc7080cd5dea763607fd
OS: Ubuntu 24.04.3 LTS/6.8.0-79-generic
Compiler: gcc version 13.3.0
Hardware platform: Hardware platform: Intel(R) Xeon(R) 6767P CPU @ 2.4GHz
NIC hardware: mev
APF: Intel Corporation Device [8086:1452]
CPF: Intel Corporation Device [8086:1453]
NIC firmware:
ci-ts.release.2.0.0.11126
idpf-0.0.772
Test Setup
Steps to reproduce
==================
1. create 2 vfs on apf
echo 2 > /sys/bus/pci/devices/0000\:15\:00.0/sriov_numvfs
2. unbind cpf
./usertools/dpdk-devbind.py -u 0000:15:00.6
3. start testpmd without any port
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-3 -n 4 -- -i
4. bind cpf to vfio-pci
./usertools/dpdk-devbind.py -b 0000:15:00.6
5. testpmd attach port
testpmd> port attach
0000:15:00.6,vport=[0-1],representor=vf[0,1],flow_parser=./refpkg.json
Results:
========
Attaching a new port...
EAL: Using IOMMU type 1 (Type 1)
CPFL_INIT: cpfl_flow_init(): flow module is not initialized
Error during enabling promiscuous mode for port 0: Operation not supported -
ignore
Port 0 is attached. Now total ports is 1
Done
Expected Result:
================
Attaching a new port...
EAL: Using IOMMU type 1 (Type 1)
CPFL_DRIVER: cpfl_handle_cpchnl_event_msg(): unknown event received 6
CPFL_DRIVER: cpfl_handle_cpchnl_event_msg(): unknown event received 6
Error during enabling promiscuous mode for port 0: Operation not supported -
ignore
Port 0 is attached. Now total ports is 1
Done
Error during enabling promiscuous mode for port 1: Operation not supported -
ignore
Port 1 is attached. Now total ports is 2
Done
Error during enabling promiscuous mode for port 2: Operation not supported -
ignore
Port 2 is attached. Now total ports is 3
Done
Error during enabling promiscuous mode for port 3: Operation not supported -
ignore
Port 3 is attached. Now total ports is 4
Done
bad commit:
===========
commit 12c2405989f6fb002a1c45e892b82897d124d10a
Author: Shani Peretz <shperetz@nvidia.com>
Date: Sun Jul 13 09:34:17 2025 +0300
app/testpmd: canonicalize short PCI name format
when providing short format PCI device names in devargs
(e.g. "08:00:0") it is converted and stored as long format.
however when attach_port is called from testpmd, the user might
provide a short format, which will be passed to find_device with
a comparison function that simply compare strings, which will
cause find_device not to find any device.
This fix canonicalize the user provided string before it is being
passed to find_device.
Signed-off-by: Shani Peretz <shperetz@nvidia.com>
app/test-pmd/meson.build | 2 +-
app/test-pmd/testpmd.c | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions, 1 deletion
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2025-10-29 6:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 6:55 bugzilla [this message]
2025-11-13 3:50 ` [DPDK/testpmd Bug 1815] [dpdk-25.11] cpfl_vf_representor_rte_flow/port_representor_probe_scan: port attach failed 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-1815-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.