Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-10-07 Thread lihuisong (C)
在 2021/9/30 19:01, Ferruh Yigit 写道: On 9/30/2021 11:54 AM, Huisong Li wrote: 在 2021/9/28 15:19, Singh, Aman Deep 写道: On 9/22/2021 9:01 AM, Huisong Li wrote: 在 2021/9/20 22:07, Ferruh Yigit 写道: On 8/25/2021 10:53 AM, Huisong Li wrote: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 A

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-30 Thread Ferruh Yigit
On 9/30/2021 11:54 AM, Huisong Li wrote: > > 在 2021/9/28 15:19, Singh, Aman Deep 写道: >> >> On 9/22/2021 9:01 AM, Huisong Li wrote: >>> >>> 在 2021/9/20 22:07, Ferruh Yigit 写道: On 8/25/2021 10:53 AM, Huisong Li wrote: > 在 2021/8/24 22:42, Ferruh Yigit 写道: >> On 8/19/2021 4:45 AM, Huison

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-30 Thread Huisong Li
在 2021/9/28 15:19, Singh, Aman Deep 写道: On 9/22/2021 9:01 AM, Huisong Li wrote: 在 2021/9/20 22:07, Ferruh Yigit 写道: On 8/25/2021 10:53 AM, Huisong Li wrote: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-28 Thread Singh, Aman Deep
On 9/22/2021 9:01 AM, Huisong Li wrote: 在 2021/9/20 22:07, Ferruh Yigit 写道: On 8/25/2021 10:53 AM, Huisong Li wrote: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: 在 2021/8/13 14:12,

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-21 Thread Huisong Li
在 2021/9/20 22:07, Ferruh Yigit 写道: On 8/25/2021 10:53 AM, Huisong Li wrote: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: 在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/2021 04:11, Hui

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-20 Thread Ferruh Yigit
On 8/25/2021 10:53 AM, Huisong Li wrote: > > 在 2021/8/24 22:42, Ferruh Yigit 写道: >> On 8/19/2021 4:45 AM, Huisong Li wrote: >>> 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: > 在 2021/8/13 14:12, Thomas Monjalon 写道: >> 13/08/2021 04:11, Huisong Li: >>>

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-17 Thread Huisong Li
Hi, All Can you take a look at this problem? Thanks. 在 2021/8/25 17:53, Huisong Li 写道: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: 在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/202

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-03 Thread Huisong Li
Hi, Ferruh The callstack information for this problem has been sent. Please check it. Looking forward to your reply. Thanks. 在 2021/8/25 17:53, Huisong Li 写道: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-25 Thread Huisong Li
在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: 在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/2021 04:11, Huisong Li: Hi, all This patch can enhance the security of device uninstallation

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-24 Thread Ferruh Yigit
On 8/19/2021 4:45 AM, Huisong Li wrote: > 在 2021/8/18 19:24, Ferruh Yigit 写道: >> On 8/13/2021 9:16 AM, Huisong Li wrote: >>> 在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/2021 04:11, Huisong Li: > Hi, all > > This patch can enhance the security of device uninstallation to > elim

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-18 Thread Huisong Li
在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16 AM, Huisong Li wrote: 在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/2021 04:11, Huisong Li: Hi, all This patch can enhance the security of device uninstallation to eliminate dependency on user usage methods. Can you check this patch? 在 2

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-18 Thread Ferruh Yigit
On 8/13/2021 9:16 AM, Huisong Li wrote: > > 在 2021/8/13 14:12, Thomas Monjalon 写道: >> 13/08/2021 04:11, Huisong Li: >>> Hi, all >>> >>> This patch can enhance the security of device uninstallation to >>> eliminate dependency on user usage methods. >>> >>> Can you check this patch? >>> >>> >>> 在 20

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-13 Thread Huisong Li
在 2021/8/13 14:12, Thomas Monjalon 写道: 13/08/2021 04:11, Huisong Li: Hi, all This patch can enhance the security of device uninstallation to eliminate dependency on user usage methods. Can you check this patch? 在 2021/8/3 10:30, Huisong Li 写道: Ethernet devices in DPDK can be released by r

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-12 Thread Thomas Monjalon
13/08/2021 04:11, Huisong Li: > Hi, all > > This patch can enhance the security of device uninstallation to > eliminate dependency on user usage methods. > > Can you check this patch? > > > 在 2021/8/3 10:30, Huisong Li 写道: > > Ethernet devices in DPDK can be released by rte_eth_dev_close() and

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-12 Thread Huisong Li
Hi, all This patch can enhance the security of device uninstallation to eliminate dependency on user usage methods. Can you check this patch? 在 2021/8/3 10:30, Huisong Li 写道: Ethernet devices in DPDK can be released by rte_eth_dev_close() and rte_dev_remove(). These APIs both call xxx_dev_c

[dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-08-02 Thread Huisong Li
Ethernet devices in DPDK can be released by rte_eth_dev_close() and rte_dev_remove(). These APIs both call xxx_dev_close() in PMD layer to uninstall hardware. However, the two APIs do not have explicit invocation restrictions. In other words, at the ethdev layer, it is possible to call rte_eth_dev_