Re: [PATCH v4 1/7] ethdev: fix race-condition of proactive error handling mode

2024-10-09 Thread Stephen Hemminger
On Thu, 5 Sep 2024 09:24:58 + Chengwen Feng wrote: > In the proactive error handling mode, the PMD will set the data path > pointers to dummy functions and then try recovery, in this period the > application may still invoking data path API. This will introduce a > race-condition with data pa

[PATCH v4 1/7] ethdev: fix race-condition of proactive error handling mode

2024-09-05 Thread Chengwen Feng
In the proactive error handling mode, the PMD will set the data path pointers to dummy functions and then try recovery, in this period the application may still invoking data path API. This will introduce a race-condition with data path which may lead to crash [1]. Although the PMD added delay aft