Go to file
Bing Zhao c288d7b5eb net/mlx5: fix hairpin queue capacity
The hairpin TX/RX queue depth and packet size is fixed in the past.
When the firmware has some fix or improvement, the PMD will not
make full use of it. And also, 32 packets for a single queue will not
guarantee a good performance for hairpin flows. It will make the
stride size larger and for small packets, it is a waste of memory.
The recommended stride size is 64B now.

The parameter of hairpin queue setup needs to be adjusted.
1. A proper buffer size should support the standard jumbo frame with
9KB, and also more than 1 jumbo frame packet for performance.
2. Number of packets of a single queue should be the maximum
supported value (total buffer size / stride size).

There is no need to support the max capacity of total buffer size
because the memory consumption should also be taken into
consideration.

Fixes: e79c9be915 ("net/mlx5: support Rx hairpin queues")
Cc: stable@dpdk.org

Signed-off-by: Bing Zhao <bingz@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2020-02-19 18:09:28 +01:00
.ci ci: build and use libabigail 1.6 2020-02-18 21:36:30 +01:00
app app/testpmd: guarantee port array access in range 2020-02-19 15:40:24 +01:00
buildtools net/mlx: workaround static linkage with meson 2020-02-14 12:42:13 +01:00
config config: deduplicate options 2020-02-12 11:32:15 +01:00
devtools fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
doc doc: add module EEPROM dump to mlx5 features 2020-02-19 13:51:06 +01:00
drivers net/mlx5: fix hairpin queue capacity 2020-02-19 18:09:28 +01:00
examples examples/fips_validation: fix string token for CT length 2020-02-20 16:41:49 +01:00
kernel kni: fix build with Linux 5.6 2020-02-13 18:27:41 +01:00
lib ethdev: add comment to warn of ABI breakage 2020-02-19 13:51:06 +01:00
license license: add exceptions for Windows 2020-02-12 22:50:29 +01:00
mk mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
usertools usertools: fix telemetry client with python 3 2020-02-16 22:23:20 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml ci: enable more drivers in Travis builds 2020-02-18 23:33:10 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS app/test-fib: add test application for FIB 2020-02-16 19:31:09 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc3 2020-02-16 22:28:51 +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