RE: [PATCH 2/2] lib/ethdev: add reverse macro to quit testpmd

2022-02-24 Thread Wu, WenxuanX
> -Original Message- > From: Yigit, Ferruh > Sent: 2022年2月19日 1:05 > To: Wu, WenxuanX ; Yang, Qiming > ; Zhang, Qi Z ; Li, Xiaoyun > ; Singh, Aman Deep ; > Zhang, Yuying > Cc: dev@dpdk.org > Subject: Re: [PATCH 2/2] lib/ethdev: add reverse macro to quit testpmd

Re: [PATCH 2/2] lib/ethdev: add reverse macro to quit testpmd

2022-02-18 Thread Ferruh Yigit
On 2/17/2022 10:14 AM, wenxuanx...@intel.com wrote: From: wenxuan wu There is a heap-free-after-use bug when quit testpmd with pf and vfs, stop and close ports in reverse order is a more reasonable approach. Cc: sta...@dpdk.org Signed-off-by: wenxuan wu --- lib/ethdev/rte_ethdev.h | 14 +++

RE: [PATCH 2/2] lib/ethdev: add reverse macro to quit testpmd

2022-02-18 Thread Zhang, Yuying
Hi Wenxuan, > -Original Message- > From: Wu, WenxuanX > Sent: Thursday, February 17, 2022 6:14 PM > To: Yang, Qiming ; Zhang, Qi Z > ; Li, Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying > Cc: dev@dpdk.org > Subject: [PATCH 2/2] lib/ethdev: add reverse macro t

[PATCH 2/2] lib/ethdev: add reverse macro to quit testpmd

2022-02-17 Thread wenxuanx . wu
From: wenxuan wu There is a heap-free-after-use bug when quit testpmd with pf and vfs, stop and close ports in reverse order is a more reasonable approach. Cc: sta...@dpdk.org Signed-off-by: wenxuan wu --- lib/ethdev/rte_ethdev.h | 14 +- 1 file changed, 13 insertions(+), 1 deleti