13/04/2023 22:30, Robin Jarry:
> From: 6WIND <gru...@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 via email to