From: "Daniel T. Lee" <danieltimlee@gmail.com>
To: "Jesper Dangaard Brouer" <brouer@redhat.com>,
"Toke Høiland-Jørgensen" <toke@redhat.com>,
"David S . Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next v5 0/4] samples: pktgen: allow to specify destination IP range
Date: Sat, 5 Oct 2019 17:25:05 +0900 [thread overview]
Message-ID: <20191005082509.16137-1-danieltimlee@gmail.com> (raw)
Currently, pktgen script supports specify destination port range.
To further extend the capabilities, this commit allows to specify destination
IP range with CIDR when running pktgen script.
Specifying destination IP range will be useful on various situation such as
testing RSS/RPS with randomizing n-tuple.
This patchset fixes the problem with checking the command result on proc_cmd,
and add feature to allow destination IP range.
Daniel T. Lee (4):
samples: pktgen: make variable consistent with option
samples: pktgen: fix proc_cmd command result check logic
samples: pktgen: add helper functions for IP(v4/v6) CIDR parsing
samples: pktgen: allow to specify destination IP range (CIDR)
samples/pktgen/README.rst | 2 +-
samples/pktgen/functions.sh | 154 +++++++++++++++++-
samples/pktgen/parameters.sh | 2 +-
.../pktgen_bench_xmit_mode_netif_receive.sh | 15 +-
.../pktgen_bench_xmit_mode_queue_xmit.sh | 15 +-
samples/pktgen/pktgen_sample01_simple.sh | 23 ++-
samples/pktgen/pktgen_sample02_multiqueue.sh | 23 ++-
.../pktgen_sample03_burst_single_flow.sh | 15 +-
samples/pktgen/pktgen_sample04_many_flows.sh | 22 ++-
.../pktgen/pktgen_sample05_flow_per_thread.sh | 15 +-
...sample06_numa_awared_queue_irq_affinity.sh | 23 ++-
11 files changed, 244 insertions(+), 65 deletions(-)
--
2.20.1
next reply other threads:[~2019-10-05 8:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-05 8:25 Daniel T. Lee [this message]
2019-10-05 8:25 ` [PATCH net-next v5 1/4] samples: pktgen: make variable consistent with option Daniel T. Lee
2019-10-07 7:33 ` Jesper Dangaard Brouer
2019-10-05 8:25 ` [PATCH net-next v5 2/4] samples: pktgen: fix proc_cmd command result check logic Daniel T. Lee
2019-10-07 8:15 ` Jesper Dangaard Brouer
2019-10-07 11:37 ` Daniel T. Lee
2019-10-07 13:20 ` Jesper Dangaard Brouer
2019-10-05 8:25 ` [PATCH net-next v5 3/4] samples: pktgen: add helper functions for IP(v4/v6) CIDR parsing Daniel T. Lee
2019-10-07 8:16 ` Jesper Dangaard Brouer
2019-10-05 8:25 ` [PATCH net-next v5 4/4] samples: pktgen: allow to specify destination IP range (CIDR) Daniel T. Lee
2019-10-07 8:19 ` Jesper Dangaard Brouer
2019-10-06 13:35 ` [PATCH net-next v5 0/4] samples: pktgen: allow to specify destination IP range David Miller
2019-10-07 13:26 ` David Miller
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=20191005082509.16137-1-danieltimlee@gmail.com \
--to=danieltimlee@gmail.com \
--cc=brouer@redhat.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=toke@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).