Re: [PATCH v2] raw/ntb: add check for disabling interrupt in dev close ops

2023-07-03 Thread Thomas Monjalon
03/07/2023 08:53, Wu, Jingjing: > > > -Original Message- > > From: Guo, Junfeng > > Sent: Wednesday, June 28, 2023 5:12 PM > > To: Wu, Jingjing > > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang ; > > Laatz, Kevin > > ; Guo, Junfeng &

RE: [PATCH v2] raw/ntb: add check for disabling interrupt in dev close ops

2023-07-02 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Wednesday, June 28, 2023 5:12 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang ; > Laatz, Kevin > ; Guo, Junfeng > Subject: [PATCH v2] raw/ntb: add check for disabling interrupt in dev

RE: [PATCH v2] raw/ntb: add check for disabling interrupt in dev close ops

2023-06-29 Thread Ling, WeiX
> -Original Message- > From: Junfeng Guo > Sent: Wednesday, June 28, 2023 5:12 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; Guo, > Junfeng > Subject: [PATCH v2] raw/ntb: add check for disabling interrupt in dev clo

[PATCH v2] raw/ntb: add check for disabling interrupt in dev close ops

2023-06-28 Thread Junfeng Guo
During EAL cleanup stage, all bus devices are cleaned up properly. In the meantime, the ntb example app will also do the device cleanup 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 twic