On Thu, Oct 03, 2024 at 01:24:42PM +0200, Robin Jarry wrote: > While invoking telemetry commands (which may happen at any time, out of > control of the application), an application thread may concurrently > add/remove ports. The telemetry callbacks may then access partially > initialized/uninitialised ethdev data. > > Reuse the ethdev lock that protects port allocation/destruction and the > new telemetry callback register api that takes an additional private > argument. Pass eth_dev_telemetry_do as the main callback and the actual > endpoint callbacks as private argument. > > Fixes: c190daedb9b1 ("ethdev: add telemetry callbacks") > Cc: sta...@dpdk.org > > Signed-off-by: Robin Jarry <rja...@redhat.com> Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- Re: [PATCH 2/2] ethdev: fix ra... Bruce Richardson
- Re: [PATCH 2/2] ethdev: fix ra... David Marchand
- Re: [PATCH 2/2] ethdev: fix race on ports for telem... lihuisong (C)
- Re: [PATCH 2/2] ethdev: fix race on ports for t... David Marchand
- [PATCH dpdk v2 1/2] telemetry: add api to register comma... Robin Jarry
- Re: [PATCH dpdk v2 1/2] telemetry: add api to regis... Bruce Richardson
- Re: [PATCH dpdk v2 1/2] telemetry: add api to r... Robin Jarry
- Re: [PATCH dpdk v2 1/2] telemetry: add api ... Robin Jarry
- [PATCH dpdk v2 0/2] Fix race in ethdev telemetry Robin Jarry
- [PATCH dpdk v2 2/2] ethdev: fix potential race in teleme... Robin Jarry
- Re: [PATCH dpdk v2 2/2] ethdev: fix potential race ... Bruce Richardson
- [PATCH dpdk v3 0/2] Fix race in ethdev telemetry Robin Jarry
- [PATCH dpdk v3 1/2] telemetry: add api to register ... Robin Jarry
- [PATCH dpdk v3 2/2] ethdev: fix potential race in t... Robin Jarry
- Re: [PATCH dpdk v3 2/2] ethdev: fix potential r... Stephen Hemminger
- Re: [PATCH dpdk v3 2/2] ethdev: fix potenti... David Marchand
- Re: [PATCH dpdk v3 2/2] ethdev: fix pot... Robin Jarry
- Re: [PATCH dpdk v3 2/2] ethdev: fix potential r... David Marchand