v8:
- check for free locked entry (Viktors comment);
- use type to select socket (Ciprians comment);
- change order for loop hint (Ciprians comment);
- read mac from preset value instead of ioctl (Stuarts comment);
v7: - fix typos and loop dev selection;
v6:
- mac addr fun change from char* to void*;
- doxygen correct to promisc mode retval;
- check from > -1 to >= 0.
v5: - add lock entries;
- fix checks and loop0 -> loop rename from previous version;
- git comment fix;
- added test binary to .gitignore
v4: - roll back some changes to match delta doc.
- fix review comments;
v3: - socket() 0 is valid descr, so init it to -1.
- use ssize_t type to return readable return codes.
- use standard errno codes for failures;
v2:
In that version I tried to account all comments together. Boolean,
loop, API changes and etc.
Maxim Uvarov (6):
linux-generic: set not initialized socket to -1
API: promisc mode manipulation functions
API: pktio: mac addr get function
linux-generic: odp_pktio_open loop support
linux-generic: correct socket get for mtu functions
cunit: pktio: mtu/promisc/mac
platform/linux-generic/include/api/odp_packet_io.h | 34 ++++
platform/linux-generic/odp_packet_io.c | 211 ++++++++++++++++++++-
test/validation/.gitignore | 3 +-
test/validation/Makefile.am | 4 +-
test/validation/odp_pktio.c | 155 +++++++++++++++
5 files changed, 395 insertions(+), 12 deletions(-)
create mode 100644 test/validation/odp_pktio.c
--
1.8.5.1.163.gd7aced9
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp