Re: [dpdk-dev] [PATCH v2 00/10] net/mlx5: optimize flow resource allocation

2020-04-17 Thread Suanming Mou
t; > Cc: Slava Ovsiienko ; Matan Azrad > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 00/10] net/mlx5: optimize flow resource > allocation > > On 4/16/2020 3:41 AM, Suanming Mou wrote: > > Currently, flow may allocate several action resources during creation. > &g

Re: [dpdk-dev] [PATCH v2 00/10] net/mlx5: optimize flow resource allocation

2020-04-17 Thread Ferruh Yigit
On 4/16/2020 3:41 AM, Suanming Mou wrote: > Currently, flow may allocate several action resources during creation. > Both allocate the individual resources and save the object handles have > big memory overhead for the flow. > > Indexed memory pool is introduced to optimize the memory overhead. Th

Re: [dpdk-dev] [PATCH v2 00/10] net/mlx5: optimize flow resource allocation

2020-04-16 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Thursday, April 16, 2020 5:42 AM > To: Slava Ovsiienko ; Matan Azrad > > Cc: Raslan Darawsheh ; dev@dpdk.org > Subject: [PATCH v2 00/10] net/mlx5: optimize flow resource allocation > > Currently, flow may allocate several action reso

[dpdk-dev] [PATCH v2 00/10] net/mlx5: optimize flow resource allocation

2020-04-15 Thread Suanming Mou
Currently, flow may allocate several action resources during creation. Both allocate the individual resources and save the object handles have big memory overhead for the flow. Indexed memory pool is introduced to optimize the memory overhead. The resources can be allocated from the resource's own