RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-04 Thread Zhou, YidingX
> > On Tue, 6 Sep 2022 16:05:11 +0800 Yiding Zhou > > wrote: > > > >> The pcap file will be synchronized to the disk when stopping the > >> device. > >> It takes a long time if the file is large that would cause the > >> 'detach sync req

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Ferruh Yigit
On 12/2/2022 10:13 AM, Zhou, YidingX wrote: > > > On Tue, 6 Sep 2022 16:05:11 +0800 > Yiding Zhou wrote: > >> The pcap file will be synchronized to the disk when stopping the device. >> It takes a long time if the file is large that would cause

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Zhou, YidingX
> > > > On Tue, 6 Sep 2022 16:05:11 +0800 Yiding Zhou > > > > wrote: > > > > > > > > > The pcap file will be synchronized to the disk when stopping the > > > > > device. > > > > > It takes a long time if the file is large that would cause the > > > > > 'detach sync

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Zhou, YidingX
> >>> On Tue, 6 Sep 2022 16:05:11 +0800 > >>> Yiding Zhou wrote: > >>> > The pcap file will be synchronized to the disk when stopping the device. > It takes a long time if the file is large that would cause the > 'detach sync request' timeout when t

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-11-29 Thread Ferruh Yigit
gt;> To: Zhou, YidingX <mailto:yidingx.z...@intel.com> >>> Cc: mailto:dev@dpdk.org; Zhang, Qi Z <mailto:qi.z.zh...@intel.com>; >>> Burakov, Anatoly >>> <mailto:anatoly.bura...@intel.com>; He, Xingguang >>> <mailto:xingguan

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-11-22 Thread Stephen Hemminger
e, > > Xingguang ; sta...@dpdk.org > > Subject: RE: [PATCH v2] net/pcap: fix timeout of stopping device > > > > > > > > > -Original Message- > > > From: Stephen Hemminger <mailto:step...@networkplumber.org> > > > Sent: Tue

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-11-22 Thread Zhou, YidingX
> -Original Message- > From: Zhou, YidingX > Sent: Wednesday, September 21, 2022 3:15 PM > To: Stephen Hemminger ; Zhang, Qi Z > > Cc: dev@dpdk.org; Burakov, Anatoly ; He, > Xingguang ; sta...@dpdk.org > Subject: RE: [PATCH v2] net/pcap: fix ti

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-10-03 Thread Ferruh Yigit
On 9/21/2022 8:14 AM, Zhou, YidingX wrote: -Original Message- From: Stephen Hemminger Sent: Tuesday, September 6, 2022 10:58 PM To: Zhou, YidingX Cc: dev@dpdk.org; Zhang, Qi Z ; Burakov, Anatoly ; He, Xingguang ; sta...@dpdk.org Subject: Re: [PATCH v2] net/pcap: fix timeout of

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-09-21 Thread Zhou, YidingX
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, September 6, 2022 10:58 PM > To: Zhou, YidingX > Cc: dev@dpdk.org; Zhang, Qi Z ; Burakov, Anatoly > ; He, Xingguang ; > sta...@dpdk.org > Subject: Re: [PATCH v2] net/pcap: fix timeout of stoppin

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-09-06 Thread Zhou, YidingX
On Tue, 6 Sep 2022 16:05:11 +0800 Yiding Zhou wrote: > The pcap file will be synchronized to the disk when stopping the device. > It takes a long time if the file is large that would cause the 'detach > sync request' timeout when the device is closed under multi-process > scenario. > > This c

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-09-06 Thread Stephen Hemminger
On Tue, 6 Sep 2022 16:05:11 +0800 Yiding Zhou wrote: > The pcap file will be synchronized to the disk when stopping the device. > It takes a long time if the file is large that would cause the > 'detach sync request' timeout when the device is closed under multi-process > scenario. > > This com

[PATCH v2] net/pcap: fix timeout of stopping device

2022-09-06 Thread Yiding Zhou
The pcap file will be synchronized to the disk when stopping the device. It takes a long time if the file is large that would cause the 'detach sync request' timeout when the device is closed under multi-process scenario. This commit fixes the issue by using alarm handler to release dumper. Fixes