Re: [PATCH v2] net/vdev: fix insert vdev core dump

2024-07-23 Thread Thomas Monjalon
22/07/2024 14:39, Burakov, Anatoly: > On 7/16/2024 11:53 AM, Mingjin Ye wrote: > > In secondary processes, insert_vdev() may be called multiple times on the > > same device due to multi-process hot-plugging of the vdev bus and EAL > > parameters to add the same vdev. > > > > In this case, when rte

Re: [PATCH v2] net/vdev: fix insert vdev core dump

2024-07-22 Thread Burakov, Anatoly
On 7/16/2024 11:53 AM, Mingjin Ye wrote: In secondary processes, insert_vdev() may be called multiple times on the same device due to multi-process hot-plugging of the vdev bus and EAL parameters to add the same vdev. In this case, when rte_devargs_insert() is called, the devargs->name reference

[PATCH v2] net/vdev: fix insert vdev core dump

2024-07-16 Thread Mingjin Ye
In secondary processes, insert_vdev() may be called multiple times on the same device due to multi-process hot-plugging of the vdev bus and EAL parameters to add the same vdev. In this case, when rte_devargs_insert() is called, the devargs->name reference will be invalidated because rte_devargs_in