numam-dpdk/app
David Marchand 3e6b0d5f69 app/testpmd: fix eth packet dump for small buffers
In the rather unlikely case where the first segment is too small to
contain an ethernet header, we can't go and directly dereference the
mbuf data buffer.

Using rte_pktmbuf_read is a little more expensive but this is still
acceptable for a debugging feature.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2019-07-29 23:30:33 +02:00
..
pdump app/pdump: exit with primary process 2019-07-11 00:26:17 +02:00
proc-info eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00
test test/crypto: improve asymmetric setup 2019-07-26 15:43:42 +02:00
test-acl net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test-bbdev app/bbdev: add test vectors for 5GNR 2019-07-05 15:28:14 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf app/compress-perf: prevent output buffer overflow 2019-07-26 14:50:40 +02:00
test-crypto-perf app/crypto-perf: disable asymmetric crypto 2019-07-26 11:22:53 +02:00
test-eventdev app/eventdev: replace license text with SPDX tag 2019-07-29 13:31:45 +02:00
test-pipeline net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
test-pmd app/testpmd: fix eth packet dump for small buffers 2019-07-29 23:30:33 +02:00
Makefile test: move to app directory 2019-02-26 15:29:27 +01:00
meson.build build: enable BSD features visibility for FreeBSD 2019-06-26 16:50:33 +02:00