Thread (68 messages) 68 messages, 6 authors, 2021-10-15

Re: [dpdk-dev] [PATCH v8 2/4] telemetry: fix socket path conflicts for in-memory mode

From: Walsh, Conor <hidden>
Date: 2021-10-13 13:16:24

From: dev <redacted> On Behalf Of Bruce Richardson
Sent: Tuesday 12 October 2021 17:39
To: dev@dpdk.org
Cc: Power, Ciara <redacted>; David Marchand
[off-list ref]; Burakov, Anatoly
[off-list ref]; Kevin Traynor [off-list ref];
Richardson, Bruce [off-list ref]
Subject: [dpdk-dev] [PATCH v8 2/4] telemetry: fix socket path conflicts for in-
memory mode

When running using in-memory mode, multiple processes can use the same
runtime dir, leading to conflicts with the telemetry sockets in that
directory. We can resolve this by appending a suffix to each socket
beyond the first, with the suffix being an increasing counter value.
Each process uses the first unused socket counter value.

Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality")

Reported-by: David Marchand <redacted>
Signed-off-by: Bruce Richardson <redacted>
Acked-by: Ciara Power <redacted>
---
Tested-by: Conor Walsh <redacted>

<snip>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help