Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-18 Thread Ferruh Yigit
On 1/17/2018 4:56 PM, Ferruh Yigit wrote: > On 1/15/2018 5:33 PM, Kirill Rybalchenko wrote: >> Increase the internal limit for flow types from 32 to 64 >> to support future flow type extensions. >> Change type of variables from uint32_t[] to uint64_t[]: >> rte_eth_fdir_info.flow_types_mask >> rte_e

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-18 Thread Rybalchenko, Kirill
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday 17 January 2018 16:57 > To: Rybalchenko, Kirill ; dev@dpdk.org > Cc: Chilikin, Andrey ; tho...@monjalon.net > Subject: Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 > to 64 > > O

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-17 Thread Ferruh Yigit
On 1/15/2018 5:33 PM, Kirill Rybalchenko wrote: > Increase the internal limit for flow types from 32 to 64 > to support future flow type extensions. > Change type of variables from uint32_t[] to uint64_t[]: > rte_eth_fdir_info.flow_types_mask > rte_eth_hash_global_conf.sym_hash_enable_mask > rte_et

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-16 Thread Thomas Monjalon
16/01/2018 11:31, Rybalchenko, Kirill: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 16/01/2018 10:44, Rybalchenko, Kirill: > > > Hi Thomas, > > > > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > 15/01/2018 18:33, Kirill Rybalchenko: > > > > > --- a/lib/librte_ether/rte_e

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-16 Thread Rybalchenko, Kirill
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday 16 January 2018 09:48 > To: Rybalchenko, Kirill > Cc: dev@dpdk.org; Chilikin, Andrey ; Yigit, > Ferruh > Subject: Re: [PATCH v3] ethdev: increase flow type limit from 32 to 64 > > 16/01/2018 10:44

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-16 Thread Thomas Monjalon
16/01/2018 10:44, Rybalchenko, Kirill: > Hi Thomas, > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 15/01/2018 18:33, Kirill Rybalchenko: > > > --- a/lib/librte_ether/rte_eth_ctrl.h > > > +++ b/lib/librte_ether/rte_eth_ctrl.h > > > @@ -662,9 +662,9 @@ enum rte_fdir_mode { > > >

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-16 Thread Rybalchenko, Kirill
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday 15 January 2018 21:27 > To: Rybalchenko, Kirill > Cc: dev@dpdk.org; Chilikin, Andrey ; Yigit, > Ferruh > Subject: Re: [PATCH v3] ethdev: increase flow type limit from 32 to 64 > > 15/01/2

Re: [dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-15 Thread Thomas Monjalon
15/01/2018 18:33, Kirill Rybalchenko: > --- a/lib/librte_ether/rte_eth_ctrl.h > +++ b/lib/librte_ether/rte_eth_ctrl.h > @@ -662,9 +662,9 @@ enum rte_fdir_mode { > RTE_FDIR_MODE_PERFECT_TUNNEL, /**< Enable FDIR filter mode - > tunnel. */ > }; > > -#define UINT32_BIT (CHAR_BIT * sizeof(

[dpdk-dev] [PATCH v3] ethdev: increase flow type limit from 32 to 64

2018-01-15 Thread Kirill Rybalchenko
Increase the internal limit for flow types from 32 to 64 to support future flow type extensions. Change type of variables from uint32_t[] to uint64_t[]: rte_eth_fdir_info.flow_types_mask rte_eth_hash_global_conf.sym_hash_enable_mask rte_eth_hash_global_conf.valid_bit_mask This modification affects