DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/DTS Bug 1548] Add asynchronous output collector for testpmd verbose information
Date: Mon, 23 Sep 2024 15:27:18 +0000	[thread overview]
Message-ID: <bug-1548-3@http.bugs.dpdk.org/> (raw)

[-- 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 --]

                 reply	other threads:[~2024-09-23 15:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1548-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).