On Tue, Jan 26, 2016 at 07:00:37PM +0300, Maxim Uvarov wrote: > v8: - fix validation test to support unsupported counters :) > v7: - fix stats struction init if stats not supported in stats() call. > v6: - reorganize stats code to support different sockets and not fail on > missing ethtool > strings. > v5: - update to the latest api-next. Fix logic to not fail if ethtool or > sysfs not supported. > v4: - fix Stuarts and Mikes comments. > v3: - fix netmap (ethtool = 1); > v2: - try to use ethtool for statistics counters if not fall back to sysfs. > ( virtual veth devices do not support sysfs, netmap does not support > sysfs.) > - fix Stuarts comments for validation test suite. > > > > Maxim Uvarov (5): > linux-generic: sockets: implement pktio statistics > linux-generic: netmap: implement pktio statistics > linux-generic: pktio loop: implement statistics counters > linux-generic: pcap: implement pktio statistics counters > validation: implement pktio statistics counters > > platform/linux-generic/Makefile.am | 2 + > .../linux-generic/include/odp_packet_io_internal.h | 15 ++ > platform/linux-generic/include/odp_packet_socket.h | 5 + > platform/linux-generic/odp_packet_io.c | 53 +++++++ > platform/linux-generic/pktio/ethtool.c | 164 ++++++++++++++++++++ > platform/linux-generic/pktio/loop.c | 42 ++++- > platform/linux-generic/pktio/netmap.c | 44 ++++++ > platform/linux-generic/pktio/pcap.c | 28 +++- > platform/linux-generic/pktio/pktio_common.c | 72 +++++++++ > platform/linux-generic/pktio/socket.c | 51 +++++++ > platform/linux-generic/pktio/socket_mmap.c | 49 ++++++ > platform/linux-generic/pktio/sysfs.c | 76 +++++++++ > test/validation/pktio/pktio.c | 170 > +++++++++++++++++++++ > test/validation/pktio/pktio.h | 2 + > 14 files changed, 769 insertions(+), 4 deletions(-) > create mode 100644 platform/linux-generic/pktio/ethtool.c > create mode 100644 platform/linux-generic/pktio/sysfs.c >
For the series Reviewed-and-tested-by: Stuart Haslam <[email protected]> _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
