RE: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-28 Thread Guo, Junfeng
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, June 28, 2023 15:53 > To: Wu, Jingjing ; Guo, Junfeng > > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; > Richardson, Bruce > Subject: Re: [PATCH] examples/ntb: remove re

Re: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-28 Thread Thomas Monjalon
28/06/2023 04:37, Guo, Junfeng: > From: Guo, Junfeng > > From: Thomas Monjalon > > > 14/06/2023 07:14, Junfeng Guo: > > > > During EAL cleanup stage, all bus devices are cleaned up properly. > > > > Based on this, there is no need to do extra device close process, > > > > which may call the dev op

RE: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-27 Thread Guo, Junfeng
> -Original Message- > From: Guo, Junfeng > Sent: Wednesday, June 28, 2023 10:19 > To: Thomas Monjalon ; Wu, Jingjing > > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; > Richardson, Bruce > Subject: RE: [PATCH] examples/ntb: remove re

RE: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-27 Thread Guo, Junfeng
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, June 28, 2023 08:12 > To: Wu, Jingjing ; Guo, Junfeng > > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; > Richardson, Bruce > Subject: Re: [PATCH] examples/ntb: remove re

Re: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-27 Thread Thomas Monjalon
14/06/2023 07:14, Junfeng Guo: > During EAL cleanup stage, all bus devices are cleaned up properly. > Based on this, there is no need to do extra device close process, > which may call the dev ops '*dev->dev_ops->dev_close' twice. > > If this dev ops for ntb was called twice, the interrupt handle

RE: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-15 Thread Ling, WeiX
> -Original Message- > From: Junfeng Guo > Sent: Wednesday, June 14, 2023 1:14 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; Guo, > Junfeng > Subject: [PATCH] examples/ntb: remove redundant logic for dev close >

[PATCH] examples/ntb: remove redundant logic for dev close

2023-06-13 Thread Junfeng Guo
During EAL cleanup stage, all bus devices are cleaned up properly. Based on this, there is no need to do extra device close process, which may call the dev ops '*dev->dev_ops->dev_close' twice. If this dev ops for ntb was called twice, the interrupt handle for EAL will be disabled twice and will l