Re: [dpdk-dev] 回复: [PATCH] driver/net/pcap fix: pcap fd leak

2021-03-01 Thread Tengfei Zhang
On 2021/3/1 下午7:40, Ferruh Yigit wrote: Please do not top post, message moved down. On 2/26/2021 5:47 PM, 张 杨 wrote: I think your idea is fine What do you think just record file path in "pmd_pcap_probe()", Perform an open operation only in "eth_dev_start()"? When the secondary process add pc

Re: [dpdk-dev] 回复: [PATCH] driver/net/pcap fix: pcap fd leak

2021-03-01 Thread Ferruh Yigit
Please do not top post, message moved down. On 2/26/2021 5:47 PM, 张 杨 wrote: I think your idea is fine What do you think just record file path in "pmd_pcap_probe()", Perform an open operation only in "eth_dev_start()"? When the secondary process add pcap vdev, it send the request to primary

[dpdk-dev] 回复: [PATCH] driver/net/pcap fix: pcap fd leak

2021-02-26 Thread 张 杨
I think your idea is fine What do you think just record file path in "pmd_pcap_probe()", Perform an open operation only in "eth_dev_start()"? When the secondary process add pcap vdev, it send the request to primary process, the primary process probe pcap vdev too , Both the two process open the s