DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Robin Jarry <rjarry@redhat.com>
Cc: dev@dpdk.org, Olivier Matz <olivier.matz@6wind.com>,
	Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
Subject: Re: [PATCH] usertools: add tool to generate balanced rss traffic flows
Date: Fri, 14 Apr 2023 09:23:06 +0200	[thread overview]
Message-ID: <21838707.EfDdHjke4D@thomas> (raw)
In-Reply-To: <20230413203010.638406-1-rjarry@redhat.com>

13/04/2023 22:30, Robin Jarry:
> From: 6WIND <grumly@6wind.com>

I don't remember drinking a beer with grumly.
Maybe it is not his real name?

> usage: dpdk-rss-flows.py [-h] [-s SPORT_RANGE] [-d DPORT_RANGE] [-r]
>                          [-k RSS_KEY] [-t RETA_SIZE] [-j]
>                          RX_QUEUES SRC DST
> 
> Craft IP{v6}/{TCP/UDP} traffic flows that will evenly spread over a
> given number of RX queues according to the RSS algorithm.
> 
> positional arguments:
>   RX_QUEUES             The number of RX queues to fill.
>   SRC                   The source IP network/address.
>   DST                   The destination IP network/address.
> 
> options:
>   -h, --help            show this help message and exit
>   -s SPORT_RANGE, --sport-range SPORT_RANGE
>                         The layer 4 (TCP/UDP) source port range. Can
>                         be a single fixed value or a range
>                         <start>-<end>.
>   -d DPORT_RANGE, --dport-range DPORT_RANGE
>                         The layer 4 (TCP/UDP) destination port range.
>                         Can be a single fixed value or a range
>                         <start>-<end>.
>   -r, --check-reverse-traffic
>                         The reversed traffic (source <-> dest) should
>                         also be evenly balanced in the queues.
>   -k RSS_KEY, --rss-key RSS_KEY
>                         The random key byte-stream used to compute the
>                         RSS hash. This option supports either a
>                         supported driver name or the hex value of the
>                         key (default: intel).
>   -t RETA_SIZE, --reta-size RETA_SIZE
>                         Size of the redirection table or "RETA"
>                         (default: 128).
>   -j, --json            Output in parseable JSON format.

How do you parse the JSON format?
Is there a tool able to use this table and generate the traffic?




  reply	other threads:[~2023-04-14  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13 20:30 Robin Jarry
2023-04-14  7:23 ` Thomas Monjalon [this message]
2023-04-14  7:41   ` Robin Jarry
2023-05-09 12:03 ` Robin Jarry
2023-05-18 13:33 ` Burakov, Anatoly

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=21838707.EfDdHjke4D@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=jean-mickael.guerin@6wind.com \
    --cc=olivier.matz@6wind.com \
    --cc=rjarry@redhat.com \
    /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).