DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Hunt <david.hunt@intel.com>
To: "Power, Ciara" <ciara.power@intel.com>,
	"Richardson, Bruce" <bruce.richardson@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v1] usertools/telemetry: add non-interactive mode
Date: Wed, 15 Sep 2021 11:58:18 +0100	[thread overview]
Message-ID: <9aec8f74-27c4-7bdb-9244-99ddc2b84fd3@intel.com> (raw)
In-Reply-To: <MN2PR11MB3821CC5D7D03A504009C08ACE6DB9@MN2PR11MB3821.namprd11.prod.outlook.com>


On 15/9/2021 11:49 AM, Power, Ciara wrote:
> Hi Dave,
>
>> -----Original Message-----
>> From: Richardson, Bruce <bruce.richardson@intel.com>
>> Sent: Monday 13 September 2021 11:54
>> To: Hunt, David <david.hunt@intel.com>
>> Cc: dev@dpdk.org; Power, Ciara <ciara.power@intel.com>
>> Subject: Re: [dpdk-dev] [PATCH v1] usertools/telemetry: add non-interactive
>> mode
>>
>> On Mon, Sep 13, 2021 at 11:43:25AM +0100, Bruce Richardson wrote:
>>> On Thu, Sep 09, 2021 at 04:56:25PM +0100, David Hunt wrote:
>>>> Add non-interactive mode to dpdk-telemetry.py so that a query string
>>>> can be supplied on the command line, and script dumps out data and
>>>> exits. Handing for calling from scripts.
>>>>
>>>> Signed-off-by: David Hunt <david.hunt@intel.com>
>>>> ---
>>> Hi Dave,
>>>
>>> I'm not sure I like the use of "-q" for adding a query mode - it's
>>> more a shortcut parameter for a "quiet" mode. If I may, I'd suggest an
>>> alternative approach here might be to improve support for piping the
>>> input commands to the script instead so that you can do e.g.
>>>
>>> "echo /ethdev/stats,0 | dpdk-telemetry.py"
>>>
>>> and have that work well in a script.
>>>
>>> I'll do up a patchset for improving that and upstream it for feedback.
>>>
>> Now at: http://patches.dpdk.org/project/dpdk/list/?series=18867
>>
>> /Bruce
> Thanks for this, although I do think the improvement to allow for piping is a better solution.
> I have acked Bruce's patchset, hopefully that will be suitable for your use case.
>
> Thanks,
> Ciara


+1

I'll mark my patchset as superceeded.

Rgds,
Dave.



      reply	other threads:[~2021-09-15 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-09 15:56 David Hunt
2021-09-13 10:43 ` Bruce Richardson
2021-09-13 10:53   ` Bruce Richardson
2021-09-15 10:49     ` Power, Ciara
2021-09-15 10:58       ` David Hunt [this message]

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=9aec8f74-27c4-7bdb-9244-99ddc2b84fd3@intel.com \
    --to=david.hunt@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=ciara.power@intel.com \
    --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).