Skip to contentSkip to conversation

mlx5 Windows crash creating flows in multiple threads

Bug 1089 [email protected] 1 participant 2 messages Oct 3, 2022 – Oct 30, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1089

            Bug ID: 1089
           Summary: mlx5 Windows crash creating flows in multiple threads
           Product: DPDK
           Version: 21.11
          Hardware: All
                OS: Windows
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Hi,

I am using release 21.11 on Windows with a ConnectX-4 card. My application is crashing when calling rte_flow_create in two threads at the same time.

I tracked the issue down to mlx5_is_thread_alive() in drivers/net/mlx5/windows/mlx5_flow_os.c. This is always returning false. Changing the second return statement to return true fixes the crash.

I think one thread was destroying data structures still in use by another thread.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1089

Tal Shnaiderman ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tal Shnaiderman ([email protected]) --- Resolved in
http://git.dpdk.org/dpdk/commit/?id=5976328d91c3616b1ad841a9181e1da23a2980bf

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.