Change since v2: Only 2 tests suites instead of 3. Because ODP_CONFIG_SEG_LEN_MIN is now respected, there is no clean way to force segmentation on jumbo frame.
The first test suite is unsegmented and set seg_len = len. The second sets seg_len at 0 to maximize fragmentation. Platform that do not support fragmentation should pass theses tests successfully as in their case SEG_LEN_MIN is the maximum packet size. Nicolas Morey-Chaisemartin (3): linux-generic: pktio: remove basic socket implementation linux-generic: pktio: handle segmented packet in socket mode test: pktio: add tests for segmented packets example/generator/odp_generator.c | 1 - example/ipsec/odp_ipsec.c | 1 - example/packet/odp_pktio.c | 1 - .../linux-generic/include/odp_packet_io_internal.h | 1 - platform/linux-generic/pktio/io_ops.c | 1 - platform/linux-generic/pktio/socket.c | 196 ++++++--------------- platform/linux-generic/test/pktio/pktio_run | 4 +- test/performance/odp_l2fwd.c | 1 - test/validation/pktio/pktio.c | 71 ++++++-- 9 files changed, 113 insertions(+), 164 deletions(-) _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
