Re: [PATCH] eal/linux: prevent deadlocks on rte init and cleanup

2023-10-03 Thread Jonathan Erb
David, Thanks for the follow-up. The proposed patch below from Artemy will work for me. Jonathan On 9/29/23 10:32, David Marchand wrote: Hello Jonathan, On Thu, Jul 20, 2023 at 7:19 AM Jonathan Erb wrote: Resolves a deadlock that can occur when multiple secondary processes are starting

[dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-07-26 Thread Jonathan Erb
attempt to reference it thus causing a crash. It was initialized for primary processes but not for secondary. Cc: sta...@dpdk.org Signed-off-by: Jonathan Erb --- v2: * Remove unnecessary check for NULL pointer before call to rte_free() per reviwer comment. drivers/bus/vmbus/private.h | 1 - d

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-07-27 Thread Jonathan Erb
ference it thus causing a crash. It was initialized for primary processes but not for secondary. Cc: sta...@dpdk.org Signed-off-by: Jonathan Erb --- v2: * Remove unnecessary check for NULL pointer before call to rte_free() per reviwer comment. drivers/bus/vmbus/private.h | 1 - dr

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-08-09 Thread Jonathan Erb
Remove vmbus_channel primary ptr from struct mapped_vmbus_resource as its not used. Populate virtual memory address "addr" in struct rte_mem_resource for secondary processes as netvsc will attempt to reference it thus causing a crash. It was initialized for primary processes but not for second

Re: [PATCH] telemetry: correct json empty dictionaries

2024-02-05 Thread Jonathan Erb
, 2024 at 8:48 AM Jonathan Erb wrote: Fix to allow telemetry to handle empty dictionaries correctly. This patch resolves an issue where empty dictionaries are reported by telemetry as '[]' rather than '{}'. Initializing the output buffer based on the container type resolves the i

[PATCH] telemetry: correct json empty dictionaries

2023-12-20 Thread Jonathan Erb
Fix to allow telemetry to handle empty dictionaries correctly. This patch resolves an issue where empty dictionaries are reported by telemetry as '[]' rather than '{}'. Initializing the output buffer based on the container type resolves the issue. Signed-off-by: Jonatha

[PATCH v2 1/2] telemetry: correct json empty dictionaries

2024-01-05 Thread Jonathan Erb
Fix to allow telemetry to handle empty dictionaries correctly. This patch resolves an issue where empty dictionaries are reported by telemetry as '[]' rather than '{}'. Initializing the output buffer based on the container type resolves the issue. Signed-off-by: Jonatha

[PATCH v2 2/2] telemetry: correct json empty dictionaries

2024-01-05 Thread Jonathan Erb
Fix use of incorrect enum name. Signed-off-by: Jonathan Erb --- lib/telemetry/telemetry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telemetry.c index 0788a32210..eef4ac7bb7 100644 --- a/lib/telemetry/telemetry.c +++ b/lib

[PATCH] telemetry: correct json empty dictionaries

2024-01-18 Thread Jonathan Erb
Fix to allow telemetry to handle empty dictionaries correctly. This patch resolves an issue where empty dictionaries are reported by telemetry as '[]' rather than '{}'. Initializing the output buffer based on the container type resolves the issue. Signed-off-by: Jonatha

[PATCH] eal/linux: prevent deadlocks on rte init and cleanup

2023-07-19 Thread Jonathan Erb
before the starting process can acquire it's second read lock then no process will be able to proceed. Cc: sta...@dpdk.org Signed-off-by: Jonathan Erb --- .mailmap | 2 +- lib/eal/linux/eal_memalloc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-08-13 Thread Jonathan Erb
the address won’t work for the secondary process. So we need to keep this check. *From:* Stephen Hemminger *Sent:* Wednesday, August 11, 2021 8:26 AM *To:* Jonathan Erb ; Long Li *Cc:* dev@dpdk.org; sta...@dpdk.org *Subject:* RE: [PATCH v2] bus/vmbus: Fix crash when handling packets in second

Re: [dpdk-dev] [PATCH v2] bus/vmbus: Fix crash when handling packets in secondary process

2021-09-05 Thread Jonathan Erb
ped addresses for all the sub-channels in the primary process to vmbus_tailq. Later when the secondary process re-creates those channels, it can call vmbus_uio_find_resource() to find out the addresses for the same sub-channels mapped by the primary process. From: Jonathan Erb Sent: Friday, Aug