mbox series

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

Message ID 1592465084-140601-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers
Series net/mlx5: optimize single counter allocate |

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(-)
  

Comments

Raslan Darawsheh June 21, 2020, 2:15 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm@mellanox.com>
> Sent: Thursday, June 18, 2020 10:25 AM
> To: Slava Ovsiienko <viacheslavo@mellanox.com>; Matan Azrad
> <matan@mellanox.com>
> Cc: Raslan Darawsheh <rasland@mellanox.com>; dev@dpdk.org
> Subject: [PATCH 0/3] net/mlx5: optimize single counter allocate
> 
> 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


Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh