Go to file
Maxime Leroy 9ae9720d7f net/mlx5: fix Rx queue count calculation
The commit d2d5760552 ("net/mlx5: fix Rx queue count calculation") is
incorrect because the count calculation is wrong for the next cqe:

Example:

 Compressed Set of packets 1  |   Compressed Set of packets 2
C | a | e0 | e1 | e2 | e3 | e4 | e5 | C | a | e0

There are 2 compressed set of packets in the first queue. For the first
set, n is computed correctly.

But for the second, n is not computed properly. Because the zip context
is for the first set. The  second set is not yet decompressed, so
there are no context.

To fix the issue, we should only use the zip context for the first CQEs
series.

Fixes: d2d5760552 ("net/mlx5: fix Rx queue count calculation")
Cc: stable@dpdk.org

Signed-off-by: Maxime Leroy <maxime.leroy@6wind.com>
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2020-11-20 21:10:05 +01:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app test/eal: remove unneeded command 2020-11-20 09:58:55 +01:00
buildtools pmdinfogen: fix build with gcc 11 2020-10-08 12:45:54 +02:00
config config: enable packet prefetching with Meson 2020-11-14 10:56:30 +01:00
devtools devtools: rename build test verbosity variables 2020-11-20 16:06:08 +01:00
doc net/sfc: rely on native thread safety in flow mechanism 2020-11-20 21:10:04 +01:00
drivers net/mlx5: fix Rx queue count calculation 2020-11-20 21:10:05 +01:00
examples examples/multi_process: add SPDX license tag to makefiles 2020-11-20 17:32:23 +01:00
kernel kni: move header file from EAL 2020-10-31 16:13:10 +01:00
lib build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
license license: remove dual prefix 2020-11-04 20:17:28 +01:00
usertools usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: add tests jobs in aarch64 vm 2020-09-30 21:52:54 +02:00
ABI_VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00
MAINTAINERS maintainers: update for hns3 2020-11-03 23:35:06 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt crypto/armv8: replace meson option with pkg-config support 2020-11-13 10:34:04 +01:00
meson.build examples: fix flattening directory layout on install 2020-11-12 19:33:06 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.11-rc4 2020-11-16 00:14:43 +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