Go to file
Yongseok Koh 9c55c6bd86 net/mlx5: revert mbuf address calculation for x86
When replenishing mbufs on Rx, buffer address (mbuf->buf_addr) should be
loaded. non-x86 processors (mostly RISC such as ARM and Power) are more
vulnerable to load stall. For x86, reducing the number of instructions
seems to matter most.

For x86, this is simply a load but for other architectures, it is
calculated from the address of mbuf structure by rte_mbuf_buf_addr()
without having to load the first cacheline of the mbuf.

Fixes: 12d468a62b ("net/mlx5: fix instruction hotspot on replenishing Rx buffer")
Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-04-05 17:45:22 +02:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test/hash: replace sprintf with snprintf 2019-04-05 10:40:56 +02:00
buildtools build: add workarounds for Windows helloworld 2019-04-03 01:21:31 +02:00
config config: increase maximum number of raw devices to 64 2019-04-05 00:26:02 +02:00
devtools devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
doc doc: update LTS section 2019-04-05 15:46:10 +02:00
drivers net/mlx5: revert mbuf address calculation for x86 2019-04-05 17:45:22 +02:00
examples replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
kernel eal/windows: introduce Windows support 2019-04-03 01:06:01 +02:00
lib cfgfile: replace strcat with strlcat 2019-04-05 14:48:15 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk stack: introduce stack library 2019-04-04 22:06:16 +02:00
usertools usertools: add octeontx2 SSO and NPA PCIe devices 2019-03-27 01:24:27 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore git: ignore build directories 2019-03-13 11:57:05 +01:00
.travis.yml ci: introduce Travis builds for GitHub repositories 2019-03-26 22:31:40 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: add switch doc to ethdev section 2019-04-05 10:40:56 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build eal: add OS specific header file 2019-04-03 01:11:56 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION build: add single source of DPDK version number 2019-03-27 09:43:23 +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