summaryrefslogtreecommitdiff
path: root/app/test-compress-perf
AgeCommit message (Collapse)Author
2019-04-02app/compress-perf: add incompressible data handlingTomasz Jozwiak
Currently, compress-perf doesn't respect incompressible data inside one operation. This patch adds such a functionality. Now the output buffer in one operation is big enough to store such a data after compression. Also added segment size checking to pass values in right range. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
2019-03-01app/compress-perf: call generic strlcpyThomas Monjalon
The call to strlcpy uses either libc, libbsd or internal rte_strlcpy. No need to call the DPDK flavor explicitly. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Rami Rosen <ramirose@gmail.com>
2018-12-19app/compress-perf: refactor codeTomasz Jozwiak
Code refactoring to separate validation from benchmarking part. Added op's status checking after rte_compressdev_dequeue_burst function. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Lee Daly <lee.daly@intel.com> Acked-by: Shally Verma <shally.verma@caviumnetworks.com>
2018-12-19app/compress-perf: add dynamic compression testTomasz Jozwiak
Added dynamic compression feature into compression perf. test. Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Lee Daly <lee.daly@intel.com> Acked-by: Shally Verma <shally.verma@caviumnetworks.com>
2018-12-19app/compress-perf: add performance measurementTomasz Jozwiak
Added performance measurement part into compression perf. test. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Lee Daly <lee.daly@intel.com> Acked-by: Shally Verma <shally.verma@caviumnetworks.com>
2018-12-19app/compress-perf: add parserTomasz Jozwiak
Added parser part into compression perf. test. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Lee Daly <lee.daly@intel.com> Acked-by: Shally Verma <shally.verma@caviumnetworks.com>