mbox

[v2,0/2] app/testpmd: skip stopped queues when forwarding

Message ID 20220306232310.613552-1-dkozlyuk@nvidia.com (mailing list archive)
Headers

Message

Dmitry Kozlyuk March 6, 2022, 11:23 p.m. UTC
  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/BL1PR12MB594551A71273709E1C04A8BAB9309@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(-)