aboutsummaryrefslogtreecommitdiff
path: root/test/validation/packet
AgeCommit message (Collapse)Author
2015-07-29validation: packet: lib populatedChristophe Milard
test symbols are now exported in the module lib. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Stuart Haslam <stuart.haslam@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-27validation: packet: do not account for head or tail room in packet length ↵Nicolas Morey-Chaisemartin
computations It is the pool responsibility to ensure that there is enough space available for headroom and tailroom in the segment(s) Also fixes the issue where ODP_CONFIG_PACKET_SEG_MIN_LEN < ODP_CONFIG_PACKET_HEADROOM Signed-off-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-23validation: use convenience libs rather than static libsStuart Haslam
Convert libraries used under test/validation to libtool convenience libraries (.la files) rather than regular static libraries. These are used elsewhere in the tree and allow for dependencies to be tracked automatically. Change-Id: I1dba179ce9151d277bd311f4c5430f85ecfe4b4f Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> Reviewed-by: Christophe Milard <christophe.milard@linaro.org>
2015-07-21api: pool: remove shm paramter from odp_pool_create()Bill Fischofer
This patch removes the 2nd parameter to odp_pool_create() because it has two major issues: 1. Applications have no way to know how big a shm area is required for a given pool since that information is implementation specific. So there's no portable means of using this parameter. 2. Some implementations (e.g., odp-dpdk) cannot accept an external memory area for pool creation since they need to control the memory themselves. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Conflicts: test/validation/pktio/pktio.c test/validation/pool/pool.c helper/test/odp_chksum.c
2015-07-21validation: add missing include guardsStuart Haslam
Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> Reviewed-by: Christophe Milard <christophe.milard@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-01validation: packet: add segmented packet segment testsBill Fischofer
Extend segment tests to catch Bug https://bugs.linaro.org/show_bug.cgi?id=1661 Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Review-and-tested-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-06-30validation: creating own dir and lib for packetChristophe Milard
Module packet now gets its own directory and create its own lib (currentely only containing its executable) Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Stuart Haslam <stuart.haslam@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>