Fix race in ethdev telemetry
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesIn review
- v22 patches 4 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | telemetry: add api to register command with private argumentdoc/ lib/ lib/ +1 more | +84 | 0 replies | |
| 2/2 | ethdev: fix potential race in telemetry endpointslib/ | +47 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Bruce Richardson | Stephen Hemminger |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH dpdk v3 0/2] Fix race in ethdev telemetry
Following a discussion we had during the summit, here is one series to fix a race between an application thread and the telemetry thread handling requests on ethdev ports.
The problem may be generic to other device classes providing telemetry callbacks, but for now, this series goes with a simple and naive approach of putting locks in the ethdev layer.
v3: reordered callback arguments.
v2: added new telemetry api to register callbacks with a private arg.
Robin Jarry (2):
telemetry: add api to register command with private argument
ethdev: fix potential race in telemetry endpoints
doc/guides/rel_notes/release_24_11.rst | 5 ++ lib/ethdev/rte_ethdev_telemetry.c | 66 ++++++++++++++++++-------- lib/telemetry/rte_telemetry.h | 46 ++++++++++++++++++ lib/telemetry/telemetry.c | 38 +++++++++++---- lib/telemetry/version.map | 3 ++ 5 files changed, 131 insertions(+), 27 deletions(-)
Signature · 1 line
2.46.2