Branch: refs/heads/master Home: https://github.com/kronosnet/kronosnet Commit: 9d83f0b52d3d50b94d245d39a0e9444245e5c42a https://github.com/kronosnet/kronosnet/commit/9d83f0b52d3d50b94d245d39a0e944... Author: Christine Caulfield ccaulfie@redhat.com Date: 2017-11-23 (Thu, 23 Nov 2017)
Changed paths: M libknet/handle.c M libknet/internals.h M libknet/tests/crypto_bench.c M libknet/threads_heartbeat.c M libknet/threads_pmtud.c M libknet/threads_rx.c
Log Message: ----------- stats: Make the crypt_packet stats balance
The tx_crypt stats only included data packets whereas the rx_crypt stats included everything, because the TX was done in different places and the RX in just the one.
I've added a 'stats_extra' structure so that the other threads can update their own stats without extra locking, the get_stats call adds them in as necessary.
Signed-off-by: Christine Caulfield ccaulfie@redhat.com
Commit: eb79dbe0bf27ff0764f3cbbe01344098095166e7 https://github.com/kronosnet/kronosnet/commit/eb79dbe0bf27ff0764f3cbbe013440... Author: Christine Caulfield ccaulfie@redhat.com Date: 2017-11-23 (Thu, 23 Nov 2017)
Changed paths: M libknet/threads_rx.c
Log Message: ----------- stats: Only collect crypt over stats for received data packets
This is more for consistency really. The TX code only accumulates the crypto overhead for data packets because it's not worth adding all the accounting code around the ping/pong & pmtu transmitters.
Commit: 537ee69120bb9cf8732149022619763ba77fb977 https://github.com/kronosnet/kronosnet/commit/537ee69120bb9cf873214902261976... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2017-11-23 (Thu, 23 Nov 2017)
Changed paths: M libknet/handle.c M libknet/internals.h M libknet/tests/crypto_bench.c M libknet/threads_heartbeat.c M libknet/threads_pmtud.c M libknet/threads_rx.c
Log Message: ----------- Merge pull request #87 from chrissie-c/balance_crypt_stats
stats: Make the crypt_packet stats balance
Compare: https://github.com/kronosnet/kronosnet/compare/e3c6d11f2d81...537ee69120bb