* [DPDK/DTS Bug 1548] Add asynchronous output collector for testpmd verbose information
@ 2024-09-23 15:27 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-09-23 15:27 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1548
Bug ID: 1548
Summary: Add asynchronous output collector for testpmd verbose
information
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: DTS
Assignee: dev@dpdk.org
Reporter: jspewock@iol.unh.edu
CC: juraj.linkes@pantheon.tech, probb@iol.unh.edu
Target Milestone: ---
Verbose packets can be received at any point in time while packets are being
forwarded in testpmd, but output collection in interactive shells doesn't
support this behavior (or any asynchronous behavior for that matter). Currently
the way that output collection works with interactive shells is after sending a
command the framework will consume all output since the previous command that
is in the buffer. In the case of verbose output in testpmd, this means that if
you send any command while verbose packet forwarding is turned on, you will
consume and discard all of the verbose information that was sent to stdout
prior to that command being sent.
There are a few ways to handle this, one way that was proposed was just to
ensure that testpmd methods always return their raw output so that it can be
parsed, another was to track if verbose output is being sent and, if it is,
collecting it from every command that is sent so that it can be read later [1].
The second method seems preferred, but if it is done that way there should be
some method of time-stamping when each blob of verbose output was collected so
that developers have the ability to examine verbose output specifically between
two command, rather than all of the output gathered thus far.
[1]
https://inbox.dpdk.org/dev/CAKXZ7egonYtTivf-SZB=ixv+Utgpww8Sku9Jy8xj58mgV4KNwQ@mail.gmail.com/
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 4095 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-23 15:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 15:27 [DPDK/DTS Bug 1548] Add asynchronous output collector for testpmd verbose information bugzilla
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).