Go to file
Maxime Coquelin a1b87645d3 app/testpmd: reset headroom after txonly packet allocation
This patch fixes txonly raw packets allocations by resetting the
available headroom.

Indeed, some PMDs such as Virtio might prepend some data to the
packet, resulting in mbuf's data_off field to be decremented each
time the mbuf gets re-allocated.

For Virtio PMD, it means that we use only single descriptors for the
first times mbufs get allocated, as at some point there is not
enough headroom to store the header.

Other alternative would be use standard API to allocate the packets,
which does reset the headroom, but the impact on performance is too
big to consider this an option.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-10-05 15:17:12 +02:00
app app/testpmd: reset headroom after txonly packet allocation 2016-10-05 15:17:12 +02:00
buildtools pmdinfogen: fix clang build 2016-10-04 11:50:56 +02:00
config vhost: remove vhost-cuse 2016-09-13 05:25:08 +02:00
doc net/vhost: add extended statistics 2016-09-29 15:08:08 +02:00
drivers net/vhost: add extended statistics 2016-09-29 15:08:08 +02:00
examples examples/vhost: remove VLAN strip option 2016-09-13 05:25:08 +02:00
lib mbuf: add function to reset headroom 2016-10-05 15:13:37 +02:00
mk vhost: remove vhost-cuse 2016-09-13 05:25:08 +02:00
pkg version: 16.07.0 2016-07-28 20:48:41 +02:00
scripts scripts: disable optimization for ABI validation 2016-09-15 14:51:48 +02:00
tools tools: fix virtio interface name when binding 2016-09-27 08:08:31 +02:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +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 net/virtio: add NEON based Rx handler 2016-09-28 02:18:39 +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