samples: pktgen: allow to specify destination IP range
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 8 repliesIn review
- v44 patches 8 repliesSuperseded
- v33 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 9 replies | Superseded | |
| v1 | 3 patches | 3 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | samples: pktgen: make variable consistent with optionsamples/ samples/ samples/ +5 more | +44 | 1 reply | |
| 2/4 | samples: pktgen: fix proc_cmd command result check logicsamples/ | +11 | 3 replies | |
| 3/4 | samples: pktgen: add helper functions for IP(v4/v6) CIDR parsingsamples/ | +134 | 1 reply | |
| 4/4 | samples: pktgen: allow to specify destination IP range (CIDR)samples/ samples/ samples/ +7 more | +55 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jesper Dangaard Brouer |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v5 0/4] samples: pktgen: allow to specify destination IP range
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(-)
Signature · 1 line
2.20.1