test/compress: limit segments in scatter-gather
authorFiona Trahe <fiona.trahe@intel.com>
Thu, 19 Jul 2018 17:40:05 +0000 (18:40 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Jul 2018 23:48:10 +0000 (01:48 +0200)
commit67db8acdbc65d75e2ed473ab67c9b1b0ab89913a
tree3dae0a84ceab1bf87de9979a5f334b8ffe8434b3
parent0b920a5f3d3440c460847b38d05543fe9a269570
test/compress: limit segments in scatter-gather

Some PMDs may have a limitation on the number of segments
in an SGL mbuf that they can process.
Thefore, an upper limit is set to avoid having
an indeterminate number of segments.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_compressdev.c