diff options
author | Tuomas Taipale <tuomas.taipale@nokia.com> | 2022-10-25 11:28:34 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-10-28 10:28:32 +0300 |
commit | 568bbdc2dfb8b768beb1a1130fa65f4a2cc6b74d (patch) | |
tree | 5b2abfef0b7458c4a9eaab359ab6d99ffef27436 /test | |
parent | f22c65f4debb33235a47bcfb817a3a6b64d7ba6c (diff) |
test: packet_gen: print new options in configuration summary
Print new packet reference, latency measurement, UDP checksum and
payload filling options as part of the startup configuration summary
dump.
Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_packet_gen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/performance/odp_packet_gen.c b/test/performance/odp_packet_gen.c index f4f8eecec..caa80839a 100644 --- a/test/performance/odp_packet_gen.c +++ b/test/performance/odp_packet_gen.c @@ -721,6 +721,10 @@ static int open_pktios(test_global_t *global) else printf("interface default\n"); printf(" promisc mode: %s\n", test_options->promisc_mode ? "enabled" : "disabled"); + printf(" packet references: %s\n", test_options->use_refs ? "enabled" : "disabled"); + printf(" measure latency: %s\n", test_options->calc_latency ? "enabled" : "disabled"); + printf(" UDP checksum: %s\n", test_options->calc_cs ? "enabled" : "disabled"); + printf(" payload filling: %s\n", test_options->fill_pl ? "enabled" : "disabled"); printf(" tx burst size %u\n", test_options->burst_size); printf(" tx bursts %u\n", test_options->bursts); printf(" tx burst gap %" PRIu64 " nsec\n", |