Tomasz Kulasek 1feda4d8fc mbuf: add a function to linearize a packet
This patch adds function rte_pktmbuf_linearize to let crypto PMD coalesce
chained mbuf before crypto operation and extend their capabilities to
support segmented mbufs when device cannot handle them natively.

Included unit tests for rte_pktmbuf_linearize functionality:

 1) Creates banch of segmented mbufs with different size and number of
    segments.
 2) Fills noncontigouos mbuf with sequential values.
 3) Uses rte_pktmbuf_linearize to coalesce segmented buffer into one
    contiguous.
 4) Verifies data in linearized buffer.

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-01-15 19:30:00 +01:00
..
2016-06-10 15:08:57 +02:00
2016-10-08 17:54:37 +02:00
2015-06-12 11:10:10 +02:00
2016-06-14 15:31:26 +02:00
2015-09-03 19:22:48 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2016-10-08 17:54:38 +02:00
2016-09-26 14:48:42 +02:00
2016-10-13 15:55:42 +02:00
2016-10-13 15:55:42 +02:00
2016-11-12 22:27:09 +01:00
2016-10-13 15:46:31 +02:00
2016-10-13 15:55:42 +02:00
2016-09-09 17:56:08 +02:00
2016-12-25 23:30:19 +01:00