It was unspecified what happens of a stopped queue is polled. Declare that polling is prohibited and modify testpmd to follow this. Rationale is described i nthe commit log; it follows the discussion: http://inbox.dpdk.org/dev/bl1pr12mb594551a71273709e1c04a8bab9...@bl1pr12mb5945.namprd12.prod.outlook.com/
v2: * Do not try to change forwarding mode partially, disable individual flows that need stopped queues instead. * Do not store queue status in testpmd, query it as needed instead. Dmitry Kozlyuk (2): ethdev: prohibit polling of a stopped queue app/testpmd: do not poll stopped queues app/test-pmd/5tswap.c | 13 ++++++++ app/test-pmd/csumonly.c | 13 ++++++++ app/test-pmd/flowgen.c | 13 ++++++++ app/test-pmd/icmpecho.c | 13 ++++++++ app/test-pmd/ieee1588fwd.c | 13 ++++++++ app/test-pmd/iofwd.c | 13 ++++++++ app/test-pmd/macfwd.c | 13 ++++++++ app/test-pmd/noisy_vnf.c | 13 ++++++++ app/test-pmd/rxonly.c | 13 ++++++++ app/test-pmd/shared_rxq_fwd.c | 13 ++++++++ app/test-pmd/testpmd.c | 57 ++++++++++++++++++++++++++++++++++- app/test-pmd/testpmd.h | 4 +++ app/test-pmd/txonly.c | 13 ++++++++ lib/ethdev/rte_ethdev.h | 2 +- 14 files changed, 204 insertions(+), 2 deletions(-) -- 2.25.1