On 3/6/2023 1:41 AM, fengchengwen wrote: >> What if application is not interested in recovery modes at all and not >> registered any callback for the recover> > There's probably race-condition which may lead to crash, because DPDK worker > threads runs busyloop and located on isolated core, and also PMDs add delay > time, > the actual probability of occurence is very very low, at least for HNS3 pmd it > has not run out for at least four years. >
I understand the problem and why application needs to involve, but the question is what will happen if application is not aware of this and not handled this event, or ported from different NIC etc. Do you want to make handling this event mandatory for each DPDK application? Btw, what about my suggestion [1] to use different version of burst ops update function in PMDs to prevent crash? [1] https://inbox.dpdk.org/dev/20230220060839.1267349-1-ashok.k.kal...@intel.com/T/#m876b5c5312391557c952198561e6823473bce151