Re: [PATCH v3] app/testpmd: fix quit testpmd with vfs and pf

2022-07-13 Thread Thomas Monjalon
13/07/2022 09:11, Ke Zhang: > A segmentation fault occurs when testpmd exit. The title talks about testpmd, but the change is in i40e. Please update. > This is due to fetching the device name from PF > , PF is freed firstly and then VF representor > is called later. For info, a comma must follow

[PATCH v3] app/testpmd: fix quit testpmd with vfs and pf

2022-07-13 Thread Ke Zhang
A segmentation fault occurs when testpmd exit. This is due to fetching the device name from PF , PF is freed firstly and then VF representor is called later. This commit fixes the bug by fetching the device name from vf representor not PF. Fixes: e391a7b7f815 ("net/i40e: fix multi-process shared