[dpdk-dev] [PATCH 0/3] net/mlx5: optimize single counter allocate
Suanming Mou
suanmingm at mellanox.com
Thu Jun 18 09:24:41 CEST 2020
This patch set optimizes the DevX single counter allocate from two sides:
1. Add the multiple level table to have a quick look up while
allocate/search the single shared counter.
2. Optimize the pool look up for the new allocated single counter.
Suanming Mou (3):
net/mlx5: add Three-Level table utility
net/mlx5: manage shared counters in Three-Level table
net/mlx5: optimize single counter pool search
drivers/net/mlx5/mlx5.c | 16 +++
drivers/net/mlx5/mlx5.h | 10 ++
drivers/net/mlx5/mlx5_flow_dv.c | 115 +++++++++++------
drivers/net/mlx5/mlx5_utils.c | 276 ++++++++++++++++++++++++++++++++++++++++
drivers/net/mlx5/mlx5_utils.h | 165 ++++++++++++++++++++++++
5 files changed, 545 insertions(+), 37 deletions(-)
--
1.8.3.1
More information about the dev
mailing list