Re:Re: [PATCH v2] eal/linux: enhanced error handling for affinity

2024-04-29 Thread Jianyue Wu
Yes, agree with that, there is also trace from kernel can see that. I'll ignore this patch. At 2024-04-27 08:18:53, "Stephen Hemminger" wrote: >On Fri, 26 Apr 2024 08:47:37 -0700 >Tyler Retzlaff wrote: > >> > int >> > -- >> >> i do not think introducing os specific behavior/logging to the

Re:Re: [PATCH] eal/linux: enhanced error handling for affinity

2024-04-26 Thread Jianyue Wu
Hello, Stephen, Understand, yesterday I had added new changes to the patch, how to recall that patch? Thank you~ At 2024-04-25 23:04:46, "Stephen Hemminger" wrote: >On Thu, 25 Apr 2024 13:40:21 +0800 (CST) >吴剑跃 wrote: > >> After reviewing the code, I believe that the combinati

[PATCH v2] eal/linux: enhanced error handling for affinity

2024-04-26 Thread Jianyue Wu
From: Jianyue Wu Improve the robustness of setting thread affinity in DPDK by adding detailed error logging. Changes: 1. Check the return value of pthread_setaffinity_np() and log an error if the call fails. 2. Include the current thread name, the intended CPU set, and a detailed error message

[PATCH v2] eal/linux: enhanced error handling for affinity

2024-04-24 Thread Jianyue Wu
prints: EAL: Cannot set affinity for thread dpdk-test with cpus 0, ret: 22, errno: 0, error description: Success EAL: Cannot set affinity for thread dpdk-worker1 with cpus 1, ret: 22, errno: 0, error description: Success Signed-off-by: Jianyue Wu --- lib/eal/common/eal_common_thread.c | 2

[PATCH] eal/linux: enhanced error handling for affinity

2024-04-24 Thread Jianyue Wu
prints: EAL: Cannot set affinity for thread dpdk-test with cpus 0, ret: 22, errno: 0, error description: Success EAL: Cannot set affinity for thread dpdk-worker1 with cpus 1, ret: 22, errno: 0, error description: Success Signed-off-by: Jianyue Wu --- lib/eal/unix/rte_thread.c | 22

RE: [PATCH v2] eal/linux: enhanced error handling for affinity

2024-04-23 Thread Jianyue Wu (NSB)
y updating it with version 2 of the patch? Thank you very much! 😊 Thank you~ Best regards, Dave From: Jianyue Wu (NSB) Sent: 2024年4月22日 21:24 To: 'roret...@linux.microsoft.com' ; 'tho...@monjalon.net' ; 'david.march...@redhat.com' Cc: 'dev@dpdk.org'

RE: [PATCH] eal/linux: enhanced error handling for affinity

2024-04-22 Thread Jianyue Wu (NSB)
Hello, Please disregard this email; I will use a different mailbox instead. Thank you~ Best regards, Dave From: Jianyue Wu (NSB) Sent: 2024年4月22日 21:24 To: 'roret...@linux.microsoft.com' ; 'tho...@monjalon.net' ; 'david.march...@redhat.com' Cc: 'dev@dp

[PATCH] eal/linux: enhanced error handling for affinity

2024-04-22 Thread Jianyue Wu (NSB)
Hello, Good day~ I hope this message finds you well. I am writing to submit a patch for consideration, which primarily adds enhanced error handling for affinity sets within the eal/linux of DPDK. Unfortunately, my current environment does not support git send-email, so I am sending this patch a