mbox

[0/3] net/mlx5: optimize single counter allocate

Message ID 1592465084-140601-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers

Message

Suanming Mou June 18, 2020, 7:24 a.m. UTC
  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(-)