Go to file
Xiao Wang fbdd4dff36 fm10k/base: fix TLV structures alignment
Per comments from an upstream kernel patch, and looking at how TLV
LE_STRUCT code works, we actually want these structures to be 4byte
aligned, not 1byte aligned.

In practice, 1byte alignment has worked so far because all our
structures end up being a multiple of 4. But if a future TLV
structure were added that had a u8 or similar sticking on the end things
would break. Fix this by using 4byte alignment which will prevent the
TLV LE_STRUCT code from breaking. Update the comment explaining that we
need 4byte alignment of our structures.

Fixes: 925c862cbc ("fm10k/base: pack TLV overlay structures")

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Tested-by: Heng Ding <hengx.ding@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
2016-03-16 18:51:44 +01:00
app mk: fix shared library dependencies on libm and librt 2016-03-13 20:27:07 +01:00
config mk: support native build on TILE-Gx 2016-03-16 15:24:38 +01:00
doc fm10k: handle error flags in vector Rx 2016-03-16 18:51:43 +01:00
drivers fm10k/base: fix TLV structures alignment 2016-03-16 18:51:44 +01:00
examples examples/l3fwd-power: fix memory leak for non-IP packets 2016-03-16 18:51:43 +01:00
lib i40e: update device ids 2016-03-16 17:25:25 +01:00
mk mk: support native build on TILE-Gx 2016-03-16 15:24:38 +01:00
pkg version: 2.2.0 2015-12-15 18:06:58 +01:00
scripts aesni_gcm: add driver for AES-GCM crypto operations 2016-03-11 01:01:42 +01:00
tools tools: support binding to built-in kernel modules 2016-02-09 16:03:46 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02: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 mk: support native build on TILE-Gx 2016-03-16 15:24:38 +01: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