[dpdk-dev] [PATCH] test: fix test_tlb_tx_burst
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Aug 5 11:28:40 CEST 2015
2015-08-05 11:10, Michal Jastrzebski:
> This patch fixes error in tlb_tx_burst function:
> Distribution is not even.
What was the error exactly?
> A condition in TEST_ASSERT macro was changed,
> as the previous one was random.
I think "random" can be better described.
> Also the time of generating packets can now be decreased.
> /* Generate 400000 test bursts in 2s of packets to transmit */
> - for (i = 0; i < 400000; i++) {
> + for (i = 0; i < 10000; i++) {
It is a good example of an useless comment which becomes easily out-of-date.
More information about the dev
mailing list