Hi Stuart,
can you please also review that pktio change?
Maxim.
On 12/02/2015 16:13, Ilya Maximets wrote:
Creates a new pktio type that allows for creating and
sending/receiving packets through TAP interface.
Detailed description in commit-message of patch
"[PATCHv2 2/3] linux-generic: pktio: add tap pktio type".
Changelog:
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| 111
test/validation/pktio/pktio.c | 46 ++-
9 files changed, 497 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
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp