numam-dpdk/lib/librte_mbuf
Ilya V. Matveychikov 4ba9f1f910 mbuf: check sanity of data and packet lengths
Update rte_mbuf_sanity_check() to check sanity of data_len and pkt_len
fields. For segmented packets it is supposed that head's pkt_len field
should be the sum of all segments data_len values.

Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2018-01-12 00:37:07 +01:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_mbuf_ptype.c mbuf: add security crypto flags and fields 2017-10-26 03:10:13 +02:00
rte_mbuf_ptype.h mbuf: add security crypto flags and fields 2017-10-26 03:10:13 +02:00
rte_mbuf_version.map mbuf: add functions to dump offload flags 2016-10-12 18:08:40 +02:00
rte_mbuf.c mbuf: check sanity of data and packet lengths 2018-01-12 00:37:07 +01:00
rte_mbuf.h mbuf: cleanup function to get last segment 2018-01-12 00:37:07 +01:00