Go to file
Suanming Mou 44864503a5 net/mlx5: fix GENEVE resource management
The item translation split causes GENEVE TLV option resource register
function flow_dev_geneve_tlv_option_resource_register() to be called
twice incorrectly both in spec and mask translation.

In SWS mode the refcnt will only be decreased by 1 in flow release.
The refcnt will never be 0 again, it causes the resource be leaked.
In HWS mode the resource is allocated as global, the refcnt should
not be increased after the resource be allocated. And the resource
should be released during PMD exists.

This commit fixes GENEVE resource management.

Fixes: 75a00812b1 ("net/mlx5: add hardware steering item translation")
Fixes: cd4ab74206 ("net/mlx5: split flow item matcher and value translation")

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2022-11-17 15:47:55 +01:00
.ci ci: combine static and shared linking build tests 2022-10-27 13:20:12 +02:00
.github/workflows ci: update to new API for step outputs in GHA 2022-11-14 21:48:35 +01:00
app test/event: fix build with clang 15 2022-11-21 11:19:32 +01:00
buildtools buildtools: fix NUMA nodes count 2022-10-11 02:13:52 +02:00
config mempool: split stats from debug mode 2022-11-10 17:32:45 +01:00
devtools devtools: catch empty symbol maps 2022-11-15 18:18:00 +01:00
doc doc: add tested Intel platforms with Intel NICs 2022-11-18 19:00:11 +01:00
drivers net/mlx5: fix GENEVE resource management 2022-11-17 15:47:55 +01:00
dts dts: add executable script 2022-11-09 18:07:56 +01:00
examples examples: remove unnecessary null checks 2022-11-15 15:04:22 +01:00
kernel kni: use dedicated function to set MAC address 2022-06-08 19:17:21 +02:00
lib vhost: fix build with clang 15 2022-11-21 11:19:04 +01:00
license license: add MIT license exception for GVE driver 2022-10-27 12:36:22 +02:00
usertools usertools/telemetry: add JSON pretty print 2022-10-31 16:13:55 +01:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore dts: add basic logging 2022-11-09 18:07:56 +01:00
.travis.yml version: 22.11-rc0 2022-07-21 12:13:48 +02:00
ABI_VERSION version: 22.11-rc0 2022-07-21 12:13:48 +02:00
MAINTAINERS maintainers: update for crypto and compressdev 2022-11-15 09:35:42 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt baseband/turbo_sw: remove Flexran SDK build option 2022-10-29 13:01:37 +02:00
meson.build build: list selected applications 2022-11-14 11:30:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 22.11-rc3 2022-11-15 18:21:34 +01: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