Go to file
Suanming Mou b1cc226644 net/mlx5: optimize single counter pool search
For single counter, when allocate a new counter, it needs to find the pool
it belongs in order to do the query together.

Once there are millions of counters allocated, the pool array in the
counter container will become very large. In this case, the pool search
from the pool array will become extremely slow.

Save the minimum and maximum counter ID to have a quick check of current
counter ID range. And start searching the pool from the last pool in the
container will mostly get the needed pool since counter ID increases
sequentially.

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-06-30 14:52:29 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app app/flow-perf: use macro for cache alignment 2020-06-30 11:57:46 +02:00
buildtools build: replace meson OS detection with variable 2020-06-30 15:29:59 +02:00
config devtools: add Windows cross-build test with MinGW 2020-06-30 01:18:35 +02:00
devtools devtools: add Windows cross-build test with MinGW 2020-06-30 01:18:35 +02:00
doc vdpa/mlx5: support MTU feature 2020-06-30 14:52:29 +02:00
drivers net/mlx5: optimize single counter pool search 2020-06-30 14:52:29 +02:00
examples examples/vdpa: add statistics show command 2020-06-30 14:52:29 +02:00
kernel kernel/linux: error out on module build failure 2020-05-19 17:59:57 +02:00
lib vhost: introduce operation to get vDPA queue stats 2020-06-30 14:52:29 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
mk mk: add a paused deprecation warning before each build 2020-06-29 16:37:22 +02:00
usertools usertools: fix telemetry user socket path 2020-06-25 01:10:12 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes
.gitignore doc: add feature matrix table for bbdev 2020-04-19 22:34:26 +02:00
.travis.yml version: 20.08-rc0 2020-05-27 11:37:33 +02:00
ABI_VERSION version: 20.08-rc0 2020-05-27 11:37:33 +02:00
GNUmakefile
MAINTAINERS build: generate version map file for MinGW 2020-06-30 00:02:53 +02:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
meson.build build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
README
VERSION version: 20.08-rc0 2020-05-27 11:37:33 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org