Go to file
Shun Hao 4fa1452bca net/mlx5: fix counter in non-termination meter
In rte_flow, if a counter action is before a meter which has
non-termination policy, the counter value only includes packets not
being dropped.

This patch fixes this issue by differentiating the order of counter and
non-termination meter:
1. counter + meter, counts all packets hitting this flow.
2. meter + counter, only counts packets not being dropped.

Fixes: 51ec04dc7b ("net/mlx5: connect meter policy to created flows")
Cc: stable@dpdk.org

Signed-off-by: Shun Hao <shunh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-04-21 12:47:39 +02:00
.ci ci: add Fedora 35 container in GHA 2022-04-06 20:57:33 +02:00
.github/workflows ci: add Fedora 35 container in GHA 2022-04-06 20:57:33 +02:00
app test/bpf: skip test if libpcap is unavailable 2022-04-26 09:31:52 +02:00
buildtools build: fix build on FreeBSD with Meson 0.61.1 2022-03-08 16:37:22 +01:00
config sched: enable traffic class oversubscription unconditionally 2022-02-24 23:44:21 +01:00
devtools eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
doc net/iavf: support quanta size configuration 2022-04-22 14:05:29 +02:00
drivers net/mlx5: fix counter in non-termination meter 2022-04-21 12:47:39 +02:00
examples examples/bond: fix invalid use of trylock 2022-04-14 14:38:20 +02:00
kernel kni: fix freeing order in device release 2022-02-27 20:47:22 +01:00
lib eal/windows: set main lcore affinity 2022-04-25 09:38:15 +02:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools support systemd service convention for runtime directory 2022-02-09 19:12:40 +01:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.07-rc0 2022-03-21 13:56:40 +01:00
ABI_VERSION version: 22.07-rc0 2022-03-21 13:56:40 +01:00
MAINTAINERS maintainers: update email address 2022-04-14 11:42:45 +02:00
Makefile
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build build: remove deprecated Meson functions 2022-02-02 18:46:53 +01:00
README
VERSION version: 22.07-rc0 2022-03-21 13:56:40 +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