DPDK patches and discussions
 help / color / mirror / Atom feed
From: Suanming Mou <suanmingm@mellanox.com>
To: viacheslavo@mellanox.com, matan@mellanox.com
Cc: rasland@mellanox.com, dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/3] net/mlx5: optimize single counter allocate
Date: Thu, 18 Jun 2020 15:24:41 +0800
Message-ID: <1592465084-140601-1-git-send-email-suanmingm@mellanox.com> (raw)

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


             reply	other threads:[~2020-06-18  7:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18  7:24 Suanming Mou [this message]
2020-06-18  7:24 ` [dpdk-dev] [PATCH 1/3] net/mlx5: add Three-Level table utility Suanming Mou
2020-06-18  7:24 ` [dpdk-dev] [PATCH 2/3] net/mlx5: manage shared counters in Three-Level table Suanming Mou
2020-06-18  7:24 ` [dpdk-dev] [PATCH 3/3] net/mlx5: optimize single counter pool search Suanming Mou
2020-06-21 14:15 ` [dpdk-dev] [PATCH 0/3] net/mlx5: optimize single counter allocate Raslan Darawsheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592465084-140601-1-git-send-email-suanmingm@mellanox.com \
    --to=suanmingm@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=matan@mellanox.com \
    --cc=rasland@mellanox.com \
    --cc=viacheslavo@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git