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

2022-06-17 Thread Ferruh Yigit
On 3/28/2022 11:06 AM, Singh, Aman Deep wrote: On 3/22/2022 12:48 PM, Ke Zhang wrote: When testpmd startups with pf and vfs,this error occurs when quitting, results in pf is released before vfs ,so the vf would access an freed heap memory. The solution is two steps: 1. Fetch the valid port va

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

2022-03-31 Thread Singh, Aman Deep
On 3/28/2022 3:36 PM, Singh, Aman Deep wrote: On 3/22/2022 12:48 PM, Ke Zhang wrote: When testpmd startups with pf and vfs,this error occurs when quitting, results in pf is released before vfs ,so the vf would access an freed heap memory. The solution is two steps: 1. Fetch the valid port val

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

2022-03-28 Thread Singh, Aman Deep
On 3/22/2022 12:48 PM, Ke Zhang wrote: When testpmd startups with pf and vfs,this error occurs when quitting, results in pf is released before vfs ,so the vf would access an freed heap memory. The solution is two steps: 1. Fetch the valid port value from RTE_ETH_FOREACH_DEV. 2. free the port