Go to file
Bruce Richardson 586ec205bc mbuf: fix 64-bit address alignment in 32-bit builds
On i686 builds, the uin64_t type is 64-bits in size but is aligned to
32-bits only. This causes mbuf fields for rearm_data to not be 16-byte
aligned on 32-bit builds, which causes errors with some vector PMDs which
expect the rearm data to be aligned as on 64-bit.

Given that we cannot use the extra space in the data structures anyway, as
it's already used on 64-bit builds, we can just force alignment of the
physical address in the mbuf to 8-bytes in all cases. This has no effect on
64-bit systems, but fixes the updated PMDs on 32-bit.

Fixes: f4356d7ca1 ("net/i40e: eliminate mbuf write on rearm")
Fixes: f160666a10 ("net/ixgbe: eliminate mbuf write on rearm")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2017-04-30 21:43:45 +02:00
app app/procinfo: fix description of --xstats-name option 2017-04-21 15:13:02 +02:00
buildtools mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
config crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00
devtools devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
doc doc: fix flow validate comments 2017-04-21 10:41:52 +02:00
drivers crypto/dpaa2_sec: update license and copyright 2017-04-25 09:06:54 +02:00
examples examples/performance-thread: fix compilation on Suse 11 SP2 2017-04-24 16:02:20 +02:00
lib mbuf: fix 64-bit address alignment in 32-bit builds 2017-04-30 21:43:45 +02:00
mk devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
pkg version: 17.02.0 2017-02-14 22:17:45 +01:00
test test/crypto: add DPAA2 crypto functional test 2017-04-20 11:32:45 +02:00
usertools usertools: fix CPU layout for more than 2 threads 2017-04-30 15:28:01 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS doc: add NXP DPAA2 SEC 2017-04-20 11:32:45 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +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 license for the core libraries and
drivers. The kernel components are GPLv2 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