All of lore.kernel.org
 help / color / mirror / Atom feed
* [DPDK/examples Bug 1963] hotplug_mp: attach the share device failed in secondary processe
@ 2026-07-06  6:48 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2026-07-06  6:48 UTC (permalink / raw)
  To: dev

http://bugs.dpdk.org/show_bug.cgi?id=1963

            Bug ID: 1963
           Summary: hotplug_mp: attach the share device failed in
                    secondary processe
           Product: DPDK
           Version: 25.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: examples
          Assignee: dev@dpdk.org
          Reporter: yex.chen@intel.com
  Target Milestone: ---

Environment
===========
DPDK version: f77bc8767a952cf833fc9c85d6b5b8d77d39a5da 
version: 26.07.0-rc2
OS: Rhel9.6 (Plow)/5.14.0-570.12.1.el9_6.x86_64
Compiler: gcc version 11.5.0 20240719
Hardware platform: Intel(R) Xeon(R) 6767P
NIC hardware: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+
[8086:1583]
NIC firmware: 
  driver: vfio-pci
  kdriver: i40e-2.30.18
  firmware-version: 9.57 0x8001037b 1.4002.0

Test Setup
Steps to reproduce
==================
1. Build hotplug_mp   
CC=gcc meson -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc
-Dmax_lcores=256    
ninja -C x86_64-native-linuxapp-gcc 
meson configure -Dexamples=multi_process/hotplug_mp x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc

2. bind pf to i40e 
usertools/dpdk-devbind.py --force --bind=i40e 0000:da:00.0 

3. Start dpdk-hotplug_mp as primary then secondary
x86_64-native-linuxapp-gcc/examples/dpdk-hotplug_mp  -l 1-2 -n 4 -a
0000:da:00.0 --proc-type=auto

4. Bind the port to vfio-pci
usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:da:00.0

5. Attach the physical device from primary, check primary and secondary
processes attach the share device
example> attach 0000:da:00.0     
example> list   

Results: 
========
the primary processe attach the share device successfully,
but the secondary processe attach the share device failed
example> list     
list all etherdev

Expected Result:
================
the primary and secondary processes attach the share device successfully
example> list      
list all etherdev      
0       0000:da:00.0


bad commit:
===========
commit: 1a2e26d8701d36c82fc2e405abb5e80d73df54bb

Author: David Marchand <david.marchand@redhat.com>
Date:   Wed Jun 24 14:07:56 2026 +0200

    dev: skip multi-process in hotplug

    If multi-process is disabled ({}no-shconf/{-}-in-memory),
    there is no need to build a multi-process message.

    Signed-off-by: David Marchand <david.marchand@redhat.com>
    Acked-by: Chengwen Feng <fengchengwen@huawei.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06  6:48 [DPDK/examples Bug 1963] hotplug_mp: attach the share device failed in secondary processe bugzilla

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.