Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-21 Thread Andrew Rybchenko
On 4/21/20 1:04 PM, Ferruh Yigit wrote: > On 4/20/2020 5:10 PM, Thomas Monjalon wrote: >> 20/04/2020 16:06, Ferruh Yigit: >>> On 4/18/2020 10:44 AM, Thomas Monjalon wrote: 18/04/2020 07:04, Bill Zhou: > From: Ferruh Yigit >> On 4/14/2020 9:32 AM, Dong Zhou wrote: >>> --- a/lib/lib

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-21 Thread Thomas Monjalon
21/04/2020 12:04, Ferruh Yigit: > On 4/20/2020 5:10 PM, Thomas Monjalon wrote: > > 20/04/2020 16:06, Ferruh Yigit: > >> On 4/18/2020 10:44 AM, Thomas Monjalon wrote: > >>> 18/04/2020 07:04, Bill Zhou: > From: Ferruh Yigit > > On 4/14/2020 9:32 AM, Dong Zhou wrote: > >> --- a/lib/librt

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-21 Thread Ferruh Yigit
On 4/20/2020 5:10 PM, Thomas Monjalon wrote: > 20/04/2020 16:06, Ferruh Yigit: >> On 4/18/2020 10:44 AM, Thomas Monjalon wrote: >>> 18/04/2020 07:04, Bill Zhou: From: Ferruh Yigit > On 4/14/2020 9:32 AM, Dong Zhou wrote: >> --- a/lib/librte_ethdev/rte_ethdev.h >> +++ b/lib/librte_

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-20 Thread Thomas Monjalon
20/04/2020 16:06, Ferruh Yigit: > On 4/18/2020 10:44 AM, Thomas Monjalon wrote: > > 18/04/2020 07:04, Bill Zhou: > >> From: Ferruh Yigit > >>> On 4/14/2020 9:32 AM, Dong Zhou wrote: > --- a/lib/librte_ethdev/rte_ethdev.h > +++ b/lib/librte_ethdev/rte_ethdev.h > @@ -3015,6 +3015,7 @@

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-20 Thread Ferruh Yigit
On 4/18/2020 10:44 AM, Thomas Monjalon wrote: > 18/04/2020 07:04, Bill Zhou: >> From: Ferruh Yigit >>> On 4/14/2020 9:32 AM, Dong Zhou wrote: --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -3015,6 +3015,7 @@ enum rte_eth_event_type { RTE_ETH_EVE

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-18 Thread Thomas Monjalon
18/04/2020 07:04, Bill Zhou: > From: Ferruh Yigit > > On 4/14/2020 9:32 AM, Dong Zhou wrote: > > > --- a/lib/librte_ethdev/rte_ethdev.h > > > +++ b/lib/librte_ethdev/rte_ethdev.h > > > @@ -3015,6 +3015,7 @@ enum rte_eth_event_type { > > > RTE_ETH_EVENT_NEW, /**< port is probed */ > > > RT

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-17 Thread Bill Zhou
Monjalon > ; arybche...@solarflare.com > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging > > On 4/14/2020 9:32 AM, Dong Zhou wrote: > > One of the reasons to destroy a flow is the fact that no packet > > matches the flow for "time

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-17 Thread Stephen Hemminger
On Fri, 17 Apr 2020 23:00:57 +0100 Ferruh Yigit wrote: > On 4/14/2020 9:32 AM, Dong Zhou wrote: > > One of the reasons to destroy a flow is the fact that no packet matches the > > flow for "timeout" time. > > For example, when TCP\UDP sessions are suddenly closed. > > > > Currently, there is not

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-17 Thread Ferruh Yigit
On 4/14/2020 9:32 AM, Dong Zhou wrote: > One of the reasons to destroy a flow is the fact that no packet matches the > flow for "timeout" time. > For example, when TCP\UDP sessions are suddenly closed. > > Currently, there is not any DPDK mechanism for flow aging and the > applications use their o

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-16 Thread Ferruh Yigit
On 4/14/2020 9:49 AM, Ori Kam wrote: > > >> -Original Message- >> From: Dong Zhou >> Sent: Tuesday, April 14, 2020 11:33 AM >> To: Ori Kam ; Matan Azrad ; >> wenzhuo...@intel.com; jingjing...@intel.com; bernard.iremon...@intel.com; >> john.mcnam...@intel.com; marko.kovace...@intel.com; T

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-14 Thread Bill Zhou
> -Original Message- > From: Ori Kam > Sent: Tuesday, April 14, 2020 4:50 PM > To: Bill Zhou ; Matan Azrad > ; wenzhuo...@intel.com; jingjing...@intel.com; > bernard.iremon...@intel.com; john.mcnam...@intel.com; > marko.kovace...@intel.com; Thomas Monjalon ; > ferruh.yi...@intel.com; ar

Re: [dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-14 Thread Ori Kam
> -Original Message- > From: Dong Zhou > Sent: Tuesday, April 14, 2020 11:33 AM > To: Ori Kam ; Matan Azrad ; > wenzhuo...@intel.com; jingjing...@intel.com; bernard.iremon...@intel.com; > john.mcnam...@intel.com; marko.kovace...@intel.com; Thomas Monjalon > ; ferruh.yi...@intel.com; ary

[dpdk-dev] [PATCH v2] ethdev: support flow aging

2020-04-14 Thread Dong Zhou
One of the reasons to destroy a flow is the fact that no packet matches the flow for "timeout" time. For example, when TCP\UDP sessions are suddenly closed. Currently, there is not any DPDK mechanism for flow aging and the applications use their own ways to detect and destroy aged-out flows. The