numam-dpdk/app
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
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
pdump drivers: make driver names consistent 2016-09-16 11:55:59 +02:00
proc_info app/proc_info: check for primary process 2016-09-23 20:42:30 +02:00
test pci: create device list and fallback on its members 2016-10-03 16:34:03 +02:00
test-acl acl: add AltiVec for ppc64 2016-09-09 17:56:14 +02:00
test-pipeline app/test-pipeline: fix table hash LRU initialization 2016-09-23 19:19:51 +02:00
test-pmd app/testpmd: reset headroom after txonly packet allocation 2016-10-05 15:17:12 +02:00
Makefile app/pdump: add tool for packet capturing 2016-06-16 23:40:21 +02:00