Creates a new pktio type that allows for creating and sending/receiving packets through TAP interface. Detailed description in commit-message of patch "[PATCHv3 2/3] linux-generic: pktio: add tap pktio type".
Changelog: Version 3: * return 77 (TEST_SKIPPED) if user is not root. (Stuart Haslam) Version 2: * Validation tests added * Pktio tests fixed to work with real-world interfaces. * MAC of pktio now is not a kernel interface's MAC * Interfaces are UP after pktio_open() * Fixed getting mtu, getting/setting promisc mode * Misclenious fixes Ilya Maximets (3): validation: pktio: initialize mac addresses for all packets linux-generic: pktio: add tap pktio type linux-generic: pktio: add test for tap pktio platform/linux-generic/Makefile.am | 2 + .../linux-generic/include/odp_packet_io_internal.h | 3 + platform/linux-generic/include/odp_packet_tap.h | 21 ++ platform/linux-generic/pktio/io_ops.c | 1 + platform/linux-generic/pktio/tap.c | 317 +++++++++++++++++++++ platform/linux-generic/test/Makefile.am | 1 + platform/linux-generic/test/pktio/Makefile.am | 3 +- platform/linux-generic/test/pktio/pktio_run_tap | 114 ++++++++ test/validation/pktio/pktio.c | 46 ++- 9 files changed, 500 insertions(+), 8 deletions(-) create mode 100644 platform/linux-generic/include/odp_packet_tap.h create mode 100644 platform/linux-generic/pktio/tap.c create mode 100755 platform/linux-generic/test/pktio/pktio_run_tap -- 2.1.4 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp