Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: avoid hang if queues are full and Tx fails
[ upstream commit 36edf3c ] Current pmd_perf_autotest() in continuous mode tries to enqueue MAX_TRAFFIC_BURST completely before starting the test. Some drivers cannot accept complete MAX_TRAFFIC_BURST even though rx+tx desc count can fit it. This patch changes behaviour to stop enqueuing after few retries. Fixes: 002ade7 ("app/test: measure cycles per packet in Rx/Tx") Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
- Loading branch information