Re: [dpdk-dev] [PATCH 0/8] net/mlx5 counter optimize

2020-04-08 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Tuesday, April 7, 2020 7:00 AM > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH 0/8] net/mlx5 counter optimize > > In the plan of save the memory consumption for rte_flow, the counter > memory consumption will be optimized from

[dpdk-dev] [PATCH 0/8] net/mlx5 counter optimize

2020-04-06 Thread Suanming Mou
In the plan of save the memory consumption for rte_flow, the counter memory consumption will be optimized from two perspective. Change the counter object saving as index instead of pointer in rte_flow. In this case, since currently the counters are allocated from the pool, counter can use the inde