DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] eventdev: rte_event_dev_start() all queues are linked requirement
@ 2018-07-30  7:38 Elo, Matias (Nokia - FI/Espoo)
  2018-07-30  8:05 ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Elo, Matias (Nokia - FI/Espoo) @ 2018-07-30  7:38 UTC (permalink / raw)
  To: dev; +Cc: jerin.jacob, Van Haaren, Harry

Hi,

rte_event_dev_start() requires that all queues have to be linked, which makes
writing applications which link/unlink queues at runtime cumbersome.
E.g. the application has to dummy link all queues before rte_event_dev_start()
and then unlink them after the function call. This alone wouldn't be a big issue
but rte_event_dev_start() may also be called inside
rte_event_eth_rx_adapter_create() implementation causing additional complexity.

To me this check seems more like eventdev implementation specific limitation,
which should be solved by the particular implementation and not enforced by the
API to all applications. From an application point of view enqueueing events to
an unlinked queue and expecting something meaningful to happen is an error
anyway. So, would it be conceivable to remove this particular requirement?

-Matias

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-30  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30  7:38 [dpdk-dev] eventdev: rte_event_dev_start() all queues are linked requirement Elo, Matias (Nokia - FI/Espoo)
2018-07-30  8:05 ` Jerin Jacob
2018-07-30  9:15   ` Van Haaren, Harry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).